Class FishingActionPacket
java.lang.Object
zombie.core.FishingAction
zombie.network.packets.FishingActionPacket
- All Implemented Interfaces:
INetworkPacketField, IDescriptor, INetworkPacket
-
Field Summary
FieldsFields inherited from class FishingAction
contentFlag, flagCreateBobber, flagDestroyBobber, flagStartFishing, flagStopFishing, flagUpdateBobberParameters, flagUpdateFish -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanisConsistent(UdpConnection connection) voidprocessClient(UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidvoidvoidsetDuration(long duration) voidvoidMethods inherited from class FishingAction
getDuration, getLuaTable, getPickedUpFish, isUsingTimeout, isValid, parse, perform, setStartFishing, start, stop, update, writeMethods 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, processClientLoading, sendToClient, sendToClients, sendToRelativeClients, sendToServer, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent, parse, write
-
Field Details
-
duration
public long duration
-
-
Constructor Details
-
FishingActionPacket
public FishingActionPacket()
-
-
Method Details
-
setData
- Specified by:
setDatain interfaceINetworkPacket
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-
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()
-