Class BuildActionPacket
java.lang.Object
zombie.core.BuildAction
zombie.network.packets.BuildActionPacket
- All Implemented Interfaces:
INetworkPacketField,IDescriptor,INetworkPacket
-
Field Summary
FieldsFields inherited from class zombie.core.BuildAction
item -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanisConsistent(UdpConnection arg0) voidparse(ByteBuffer var1, UdpConnection var2) voidvoidsetDuration(long arg0) voidvoidvoidwrite(ByteBufferWriter var1) Methods inherited from class zombie.core.BuildAction
getDuration, isUsingTimeout, isValid, perform, set, start, stop, updateMethods 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
-
BuildActionPacket
public BuildActionPacket()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classBuildAction
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classBuildAction
-
setTimeData
public void setTimeData() -
set
-
setState
-
setDuration
public void setDuration(long arg0) -
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getProgress
public float getProgress()
-