Class NetTimedActionPacket
java.lang.Object
zombie.core.NetTimedAction
zombie.network.packets.NetTimedActionPacket
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
,INetworkPacket
-
Field Summary
FieldsFields inherited from class zombie.core.NetTimedAction
action, name, type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
isConsistent
(UdpConnection arg0) void
parse
(ByteBuffer arg0, UdpConnection arg1) void
void
setDuration
(long arg0) void
void
void
write
(ByteBufferWriter arg0) Methods inherited from class zombie.core.NetTimedAction
animEvent, forceComplete, set
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, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, sync
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
duration
public long duration
-
-
Constructor Details
-
NetTimedActionPacket
public NetTimedActionPacket()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classNetTimedAction
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classNetTimedAction
-
setTimeData
public void setTimeData() -
set
-
setState
-
setDuration
public void setDuration(long arg0) -
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
getProgress
public float getProgress()
-