Class NetTimedActionPacket
java.lang.Object
zombie.core.NetTimedAction
zombie.network.packets.NetTimedActionPacket
- All Implemented Interfaces:
INetworkPacketField, IDescriptor, INetworkPacket
-
Field Summary
FieldsFields inherited from class NetTimedAction
action, name, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFrom(zombie.core.Action act) static voidcreateNewAndSend(String actionName, IsoPlayer owner, Object... values) floatbooleanisConsistent(IConnection connection) voidprocessClient(UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidvoidvoidsetDuration(long duration) voidMethods inherited from class NetTimedAction
animEvent, copyFrom, forceComplete, parse, set, setState, writeMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClients, sendToRelativeClients, sendToServer, shouldInstantiate, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent, parse, write
-
Field Details
-
duration
public long duration
-
-
Constructor Details
-
NetTimedActionPacket
public NetTimedActionPacket()
-
-
Method Details
-
createNewAndSend
-
setData
- Specified by:
setDatain interfaceINetworkPacket
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-
processServer
- Specified by:
processServerin interfaceINetworkPacket
-
setTimeData
public void setTimeData() -
set
-
copyFrom
public void copyFrom(zombie.core.Action act) -
setDuration
public void setDuration(long duration) -
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getProgress
public float getProgress()
-