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 TypeMethodDescriptionvoidapply()getStage()getState()booleanisAway()booleanisConsistent(UdpConnection arg0) booleanisReady()voidparse(ByteBuffer arg0, UdpConnection arg1) voidprocessClient(UdpConnection arg0) voidprocessServer(PacketTypes.PacketType arg0, UdpConnection arg1) voidvoidupdate(StatePacket arg0) voidwrite(ByteBufferWriter arg0) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface zombie.network.packets.INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, syncMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytesMethods inherited from interface zombie.network.fields.IPositional
isInRange
-
Field Details
-
timestamp
public long timestamp
-
-
Constructor Details
-
StatePacket
public StatePacket()
-
-
Method Details
-
setData
- Specified by:
setDatain interfaceINetworkPacket
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classPosition
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classPosition
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-
processServer
- Specified by:
processServerin interfaceINetworkPacket
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
isAway
public boolean isAway() -
isReady
public boolean isReady() -
getCharacter
-
getState
-
getStage
-
getEvents
-
update
-
apply
public void apply()
-