Class SafetyPacket
java.lang.Object
zombie.characters.Safety
zombie.network.packets.SafetyPacket
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
,INetworkPacket
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
isConsistent
(UdpConnection var1) void
parse
(ByteBuffer b, UdpConnection connection) void
processClient
(UdpConnection var1) void
processServer
(PacketTypes.PacketType var1, UdpConnection var2) void
Methods inherited from class zombie.characters.Safety
copyFrom, getCharacter, getCooldown, getDescription, getToggle, isEnabled, isLast, isToggleAllowed, load, save, setCooldown, setEnabled, setLast, setToggle, toggleSafety
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.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.packets.INetworkPacket
parseClient, parseClientLoading, parseServer, processClientLoading, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, sync, tryProcessInternal
-
Constructor Details
-
SafetyPacket
-
SafetyPacket
public SafetyPacket()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacketField
-
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
processServer
- Specified by:
processServer
in interfaceINetworkPacket
-
processClient
- Specified by:
processClient
in interfaceINetworkPacket
-