Package zombie.network.packets
Class SafetyPacket
java.lang.Object
zombie.characters.Safety
zombie.network.packets.SafetyPacket
- All Implemented Interfaces:
INetworkPacket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
log
(UdpConnection connection, String tag) void
parse
(ByteBuffer b, UdpConnection connection) void
process()
void
Methods inherited from class zombie.characters.Safety
copyFrom, getCharacter, getCooldown, getToggle, isEnabled, isLast, isToggleAllowed, load, save, setCooldown, setEnabled, setLast, setToggle, toggleSafety
-
Constructor Details
-
SafetyPacket
-
SafetyPacket
public SafetyPacket()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classSafety
-
log
- Specified by:
log
in interfaceINetworkPacket
-
process
public void process()
-