Class IDInteger
java.lang.Object
zombie.network.fields.IDInteger
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
- Direct Known Subclasses:
SafehouseID
,Weapon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getID()
boolean
isConsistent
(UdpConnection var1) void
parse
(ByteBuffer byteBuffer, UdpConnection var2) void
setID
(int int0) 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
-
ID
protected int ID
-
-
Constructor Details
-
IDInteger
public IDInteger()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
setID
public void setID(int int0) -
getID
public int getID()
-