Class StatePacket
java.lang.Object
zombie.network.fields.Position
zombie.network.packets.actions.StatePacket
- All Implemented Interfaces:
INetworkPacketField
,IPositional
,IDescriptor
,INetworkPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply()
getStage()
getState()
boolean
isAway()
boolean
isConsistent
(UdpConnection var1) boolean
isReady()
void
parse
(ByteBuffer var1, UdpConnection var2) void
processClient
(UdpConnection var1) void
processServer
(PacketTypes.PacketType var1, UdpConnection var2) void
void
update
(StatePacket var1) void
write
(ByteBufferWriter var1) Methods inherited from class java.lang.Object
equals, 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
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, sync
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
Methods inherited from interface zombie.network.fields.IPositional
isInRange
-
Field Details
-
timestamp
public long timestamp
-
-
Constructor Details
-
StatePacket
public StatePacket()
-
-
Method Details
-
setData
- Specified by:
setData
in interfaceINetworkPacket
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classPosition
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classPosition
-
processClient
- Specified by:
processClient
in interfaceINetworkPacket
-
processServer
- Specified by:
processServer
in interfaceINetworkPacket
-
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
isAway
public boolean isAway() -
isReady
public boolean isReady() -
getCharacter
-
getState
-
getStage
-
getEvents
-
update
-
apply
public void apply()
-