Package zombie.network.packets.hit
Class Instance
java.lang.Object
zombie.network.packets.hit.Instance
- All Implemented Interfaces:
INetworkPacket
- Direct Known Subclasses:
Character,PlayerID,PlayerItem,Vehicle,Weapon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidset(short short1) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
ID
protected short ID
-
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
set
public void set(short short1) -
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket
-