Class SwitchActiveSlotEvent

All Implemented Interfaces:
ICancellableEcsEvent

public class SwitchActiveSlotEvent extends CancellableEcsEvent
  • Field Details

    • previousSlot

      private final int previousSlot
    • inventorySectionId

      private final int inventorySectionId
    • newSlot

      private byte newSlot
    • serverRequest

      private final boolean serverRequest
  • Constructor Details

    • SwitchActiveSlotEvent

      public SwitchActiveSlotEvent(int inventorySectionId, int previousSlot, byte newSlot, boolean serverRequest)
  • Method Details

    • getPreviousSlot

      public int getPreviousSlot()
    • getNewSlot

      public byte getNewSlot()
    • setNewSlot

      public void setNewSlot(byte newSlot)
    • isServerRequest

      public boolean isServerRequest()
    • isClientRequest

      public boolean isClientRequest()
    • getInventorySectionId

      public int getInventorySectionId()