Class StatePacket
java.lang.Object
zombie.network.fields.Position
zombie.network.packets.actions.StatePacket
- All Implemented Interfaces:
INetworkPacketField
,IPositional
,IDescriptor
,INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CharacterID
protected final Variables
protected PZNetKahluaTableImpl
protected final StateID
long
protected StateManager.StateType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply()
getState()
getType()
boolean
isAway()
boolean
isConsistent
(UdpConnection udpConnection) boolean
isReady()
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
processClient
(UdpConnection var1) void
processServer
(PacketTypes.PacketType packetType, UdpConnection udpConnection) void
void
update
(StatePacket statePacket0) void
write
(ByteBufferWriter byteBufferWriter) 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, sync, tryProcessInternal
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Field Details
-
characterID
-
state
-
params
-
events
-
type
-
timestamp
public long timestamp
-
-
Constructor Details
-
StatePacket
public StatePacket()
-
-
Method Details
-
setData
- Specified by:
setData
in interfaceINetworkPacket
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- 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
-
getType
-
getEvents
-
update
-
apply
public void apply()
-