Esempio n. 1
0
        public virtual void OnButtonInteraction(ButtonInteractPacket.ButtonAction performedAction, int slotID)
        {
            var eh = ButtonInteraction;

            eh?.Invoke(this, new ButtonInteractionEventArgs(slotID,
                                                            performedAction));
        }
Esempio n. 2
0
 public ButtonInteractionEventArgs(int slotID, ButtonInteractPacket.ButtonAction performedAction)
 {
     SlotID          = slotID;
     PerformedAction = performedAction;
 }