Class IDInteger
java.lang.Object
zombie.network.fields.IDInteger
- All Implemented Interfaces:
INetworkPacketField, IDescriptor
- Direct Known Subclasses:
SafehouseID, Weapon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetID()booleanisConsistent(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidsetID(int id) 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
-
IDInteger
public IDInteger()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
setID
public void setID(int id) -
getID
public int getID()
-