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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) 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, log
-
Field Details
-
ID
protected short ID
-
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
set
public void set(short short1) -
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-