Class GeneralAction
java.lang.Object
zombie.core.GeneralAction
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
- Direct Known Subclasses:
GeneralActionPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
isConsistent
(UdpConnection udpConnection) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
void
setDuration
(long long0) void
setState
(Transaction.TransactionState transactionState) void
void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Field Details
-
duration
public long duration
-
-
Constructor Details
-
GeneralAction
public GeneralAction()
-
-
Method Details
-
setTimeData
public void setTimeData() -
set
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
setState
-
setDuration
public void setDuration(long long0) -
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
getProgress
public float getProgress()
-