Class GeneralActionPacket
java.lang.Object
zombie.core.GeneralAction
zombie.network.packets.GeneralActionPacket
- All Implemented Interfaces:
INetworkPacketField,IDescriptor,INetworkPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanisConsistent(UdpConnection arg0) voidparse(ByteBuffer var1, UdpConnection var2) voidvoidsetDuration(long arg0) voidvoidvoidvoidwrite(ByteBufferWriter var1) Methods 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
-
GeneralActionPacket
public GeneralActionPacket()
-
-
Method Details
-
setReject
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
setTimeData
public void setTimeData() -
set
-
setState
-
setDuration
public void setDuration(long arg0) -
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getProgress
public float getProgress()
-