Class NetTimedAction
java.lang.Object
zombie.core.NetTimedAction
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
- Direct Known Subclasses:
NetTimedActionPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
float
boolean
isConsistent
(UdpConnection udpConnection) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
void
void
setDuration
(long long0) void
setState
(Transaction.TransactionState transactionState) void
void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, 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
-
type
-
name
-
action
public se.krka.kahlua.vm.KahluaTable action -
TimeoutForInfinitiveActions
protected static int TimeoutForInfinitiveActions -
lastId
protected static byte lastId -
id
protected byte id -
state
-
duration
public long duration -
startTime
protected long startTime -
endTime
protected long endTime
-
-
Constructor Details
-
NetTimedAction
public NetTimedAction()
-
-
Method Details
-
set
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
-
forceComplete
public void forceComplete() -
write
- Specified by:
write
in interfaceINetworkPacketField
-
animEvent
-
setTimeData
public void setTimeData() -
set
-
setState
-
setDuration
public void setDuration(long long0) -
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
getProgress
public float getProgress()
-