Class PlayerItem
java.lang.Object
zombie.network.fields.IDShort
zombie.network.fields.PlayerItem
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItem()
boolean
isConsistent
(UdpConnection udpConnection) void
parse
(ByteBuffer byteBuffer, UdpConnection var2) void
set
(InventoryItem inventoryItem) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Field Details
-
item
-
-
Constructor Details
-
PlayerItem
public PlayerItem()
-
-
Method Details
-
set
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classIDShort
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classIDShort
-
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
- Overrides:
isConsistent
in classIDShort
-
getItem
-