Package zombie.network.packets
Class ActionPacket
java.lang.Object
zombie.network.packets.ActionPacket
- All Implemented Interfaces:
INetworkPacket
public class ActionPacket extends java.lang.Object implements INetworkPacket
-
Constructor Summary
Constructors Constructor Description ActionPacket() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()booleanisConsistent()booleanisRelevant(UdpConnection udpConnection)voidparse(java.nio.ByteBuffer byteBuffer)voidprocess()voidset(boolean boolean1, BaseAction baseAction)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
-
Constructor Details
-
ActionPacket
public ActionPacket()
-
-
Method Details
-
set
-
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
-
isRelevant
-
process
public void process()
-