Class PlayerItem
java.lang.Object
zombie.network.fields.IDShort
zombie.network.fields.PlayerItem
- All Implemented Interfaces:
INetworkPacketField, IDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItem()booleanisConsistent(IConnection connection) voidparse(ByteBuffer b, IConnection connection) voidset(InventoryItem item) voidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacketField
getPacketSizeBytes
-
Constructor Details
-
PlayerItem
public PlayerItem()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classIDShort
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classIDShort
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField- Overrides:
isConsistentin classIDShort
-
getItem
-