Package zombie.network.packets.hit
Class Instance
java.lang.Object
zombie.network.packets.hit.Instance
- All Implemented Interfaces:
INetworkPacket
public abstract class Instance extends java.lang.Object implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description protected shortID -
Constructor Summary
Constructors Constructor Description Instance() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()booleanisConsistent()voidparse(java.nio.ByteBuffer byteBuffer)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
-
Field Details
-
ID
protected short ID
-
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
set
public void set(short short1) -
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceINetworkPacket
-