Class BuildActionPacket
java.lang.Object
zombie.core.BuildAction
zombie.network.packets.BuildActionPacket
- All Implemented Interfaces:
INetworkPacketField, IDescriptor, INetworkPacket
-
Field Summary
FieldsFields inherited from class BuildAction
item -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanisConsistent(UdpConnection connection) voidprocessClient(UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidvoidvoidsetDuration(long duration) voidvoidMethods inherited from class BuildAction
getDuration, isUsingTimeout, isValid, parse, perform, set, start, stop, update, 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
-
BuildActionPacket
public BuildActionPacket()
-
-
Method Details
-
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()
-