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 TypeMethodDescriptionstatic voidcreateNewAndSend(String actionName, IsoPlayer owner, Object... values) floatbooleanisConsistent(UdpConnection connection) voidprocessClient(UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidvoidvoidsetDuration(long duration) voidvoidMethods inherited from class NetTimedAction
animEvent, forceComplete, parse, set, 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, 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
-
setState
-
setDuration
public void setDuration(long duration) -
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getProgress
public float getProgress()
-