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 connection) voidparse(ByteBuffer b, UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidvoidsetDuration(long duration) voidsetReject(byte _id) voidvoidvoidMethods 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, processClient, processClientLoading, sendToClient, sendToClients, sendToRelativeClients, sendToServer, setData, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
duration
public long duration
-
-
Constructor Details
-
GeneralActionPacket
public GeneralActionPacket()
-
-
Method Details
-
setReject
public void setReject(byte _id) -
write
- Specified by:
writein interfaceINetworkPacketField
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
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()
-