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 TypeMethodDescriptionfloatbooleanisConsistent(UdpConnection arg0) voidparse(ByteBuffer arg0, UdpConnection arg1) voidvoidsetDuration(long arg0) voidvoidvoidwrite(ByteBufferWriter arg0) Methods inherited from class zombie.core.NetTimedAction
animEvent, forceComplete, setMethods 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, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, syncMethods 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:
parsein interfaceINetworkPacketField- Overrides:
parsein classNetTimedAction
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classNetTimedAction
-
setTimeData
public void setTimeData() -
set
-
setState
-
setDuration
public void setDuration(long arg0) -
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getProgress
public float getProgress()
-