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.String
getDescription()
boolean
isConsistent()
boolean
isRelevant(UdpConnection udpConnection)
void
parse(java.nio.ByteBuffer byteBuffer)
void
process()
void
set(boolean boolean1, BaseAction baseAction)
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
-
Constructor Details
-
ActionPacket
public ActionPacket()
-
-
Method Details
-
set
-
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
-
isRelevant
-
process
public void process()
-