Class WrapperPlayClientWindowClick
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientWindowClick
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle -
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientWindowClick(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionintRetrieves the value of field 'buttonNum'org.bukkit.inventory.ItemStackRetrieves the value of field 'carriedItem'it.unimi.dsi.fastutil.ints.Int2ObjectMap<org.bukkit.inventory.ItemStack>Retrieves the value of field 'changedSlots'Retrieves the value of field 'clickType'com.comphenix.protocol.events.InternalStructureDeprecated.intRetrieves the value of field 'containerId'intRetrieves the value of field 'slotNum'intRetrieves the value of field 'stateId'voidsetButtonNum(int value) Sets the value of field 'buttonNum'voidsetCarriedItem(org.bukkit.inventory.ItemStack value) Sets the value of field 'carriedItem'voidsetChangedSlots(it.unimi.dsi.fastutil.ints.Int2ObjectMap<org.bukkit.inventory.ItemStack> value) Sets the value of field 'changedSlots'voidSets the value of field 'clickType'voidsetClickType(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetClickType(WrappedClickType)instead}voidsetContainerId(int value) Sets the value of field 'containerId'voidsetSlotNum(int value) Sets the value of field 'slotNum'voidsetStateId(int value) Sets the value of field 'stateId'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPE
-
-
Constructor Details
-
WrapperPlayClientWindowClick
public WrapperPlayClientWindowClick() -
WrapperPlayClientWindowClick
public WrapperPlayClientWindowClick(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getContainerId
public int getContainerId()Retrieves the value of field 'containerId'- Returns:
- 'containerId'
-
setContainerId
public void setContainerId(int value) Sets the value of field 'containerId'- Parameters:
value- New value for field 'containerId'
-
getStateId
public int getStateId()Retrieves the value of field 'stateId'- Returns:
- 'stateId'
-
setStateId
public void setStateId(int value) Sets the value of field 'stateId'- Parameters:
value- New value for field 'stateId'
-
getSlotNum
public int getSlotNum()Retrieves the value of field 'slotNum'- Returns:
- 'slotNum'
-
setSlotNum
public void setSlotNum(int value) Sets the value of field 'slotNum'- Parameters:
value- New value for field 'slotNum'
-
getButtonNum
public int getButtonNum()Retrieves the value of field 'buttonNum'- Returns:
- 'buttonNum'
-
setButtonNum
public void setButtonNum(int value) Sets the value of field 'buttonNum'- Parameters:
value- New value for field 'buttonNum'
-
getClickTypeInternal
Deprecated.{UsegetClickType()instead}Retrieves the value of field 'clickType'- Returns:
- 'clickType'
-
setClickType
Deprecated.{UsesetClickType(WrappedClickType)instead}Sets the value of field 'clickType'- Parameters:
value- New value for field 'clickType'
-
getClickType
Retrieves the value of field 'clickType'- Returns:
- 'clickType'
-
setClickType
Sets the value of field 'clickType'- Parameters:
value- New value for field 'clickType'
-
getCarriedItem
public org.bukkit.inventory.ItemStack getCarriedItem()Retrieves the value of field 'carriedItem'- Returns:
- 'carriedItem'
-
setCarriedItem
public void setCarriedItem(org.bukkit.inventory.ItemStack value) Sets the value of field 'carriedItem'- Parameters:
value- New value for field 'carriedItem'
-
getChangedSlots
public it.unimi.dsi.fastutil.ints.Int2ObjectMap<org.bukkit.inventory.ItemStack> getChangedSlots()Retrieves the value of field 'changedSlots'- Returns:
- 'changedSlots'
-
setChangedSlots
public void setChangedSlots(it.unimi.dsi.fastutil.ints.Int2ObjectMap<org.bukkit.inventory.ItemStack> value) Sets the value of field 'changedSlots'- Parameters:
value- New value for field 'changedSlots'
-
getClickType()instead}