Package zombie.network.packets
Class ActionPacket
java.lang.Object
zombie.network.packets.ActionPacket
- All Implemented Interfaces:
INetworkPacket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isRelevant
(UdpConnection connection) void
parse
(ByteBuffer b, UdpConnection connection) void
process()
void
set
(boolean operation, BaseAction action) void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Constructor Details
-
ActionPacket
public ActionPacket()
-
-
Method Details
-
set
-
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
-
isRelevant
-
process
public void process()
-