Class ItemTransactionPacket
java.lang.Object
zombie.core.Transaction
zombie.network.packets.ItemTransactionPacket
- All Implemented Interfaces:
INetworkPacketField, IDescriptor, INetworkPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class Transaction
Transaction.TransactionState -
Field Summary
FieldsFields inherited from class Transaction
square -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(ByteBufferReader b, IConnection connection) voidprocessClient(UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidsetDuration(long duration) voidMethods inherited from class Transaction
set, setState, setTimeData, toString, updateMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, logInconsistentPacket, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClient, sendToClients, sendToRelativeClients, sendToServer, setData, shouldInstantiate, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
duration
public long duration -
consistent
public byte consistent
-
-
Constructor Details
-
ItemTransactionPacket
public ItemTransactionPacket()
-
-
Method Details
-
write
- Specified by:
writein interfaceINetworkPacketField
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-
processServer
- Specified by:
processServerin interfaceINetworkPacket
-
setDuration
public void setDuration(long duration) - Overrides:
setDurationin classTransaction
-