Package zombie.network.packets
Class SafetyPacket
java.lang.Object
zombie.characters.Safety
zombie.network.packets.SafetyPacket
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
log
(UdpConnection udpConnection, String string) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
process()
void
write
(ByteBufferWriter byteBufferWriter) 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()
-