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 short
ID
-
Constructor Summary
Constructors Constructor Description Instance()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
boolean
isConsistent()
void
parse(java.nio.ByteBuffer byteBuffer)
void
set(short short1)
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.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:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
-