Contents
Class FishingActionPacket
java.lang.Object
zombie.core.FishingAction
zombie.network.packets.FishingActionPacket
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
,INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
protected long
protected byte
protected static byte
protected long
protected Transaction.TransactionState
protected static int
Fields inherited from class zombie.core.FishingAction
contentFlag, flagCreateBobber, flagDestroyBobber, flagStartFishing, flagStopFishing, flagUpdateBobberParameters, flagUpdateFish
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
isConsistent
(UdpConnection udpConnection) void
parse
(ByteBuffer var1, UdpConnection var2) void
void
setDuration
(long long0) void
setState
(Transaction.TransactionState transactionState) void
void
write
(ByteBufferWriter var1) Methods inherited from class zombie.core.FishingAction
getLuaTable, getPickedUpFish, setStartFishing
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.packets.INetworkPacket
parseClient, parseClientLoading, parseServer, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, sync, tryProcessInternal
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
Constructor Details
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classFishingAction
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classFishingAction
-
setTimeData
public void setTimeData() -
set
-
setState
-
setDuration
public void setDuration(long long0) -
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
getProgress
public float getProgress()
-