Class TChestReplyServerPacket
Unit
Declaration
type TChestReplyServerPacket = class(TInterfacedObject, IPacket, IChestReplyServerPacket)
Description
Reply to placing an item in to a chest
Hierarchy
- TInterfacedObject
- TChestReplyServerPacket
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetAddedItemId: Cardinal; |
|
procedure SetAddedItemId(AddedItemId: Cardinal); |
|
function GetRemainingAmount: Cardinal; |
|
procedure SetRemainingAmount(RemainingAmount: Cardinal); |
|
function GetWeight: IWeight; |
|
procedure SetWeight(Weight: IWeight); |
|
function GetItems: TArray<IThreeItem>; |
|
procedure SetItems(Items: TArray<IThreeItem>); |
|
function Family: TPacketFamily; |
|
function Action: TPacketAction; |
|
procedure Serialize(Writer: TEoWriter); |
|
class function PacketFamily: TPacketFamily; |
|
class function PacketAction: TPacketAction; |
|
class function Deserialize(Reader: TEoReader): TChestReplyServerPacket; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property AddedItemId: Cardinal read GetAddedItemId write SetAddedItemId; |
|
property RemainingAmount: Cardinal read GetRemainingAmount write SetRemainingAmount; |
|
property Weight: IWeight read GetWeight write SetWeight; |
|
property Items: TArray<IThreeItem> read GetItems write SetItems; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetAddedItemId: Cardinal; |
|
This item has no description. |
procedure SetAddedItemId(AddedItemId: Cardinal); |
|
This item has no description. |
function GetRemainingAmount: Cardinal; |
|
This item has no description. |
procedure SetRemainingAmount(RemainingAmount: Cardinal); |
|
This item has no description. |
function GetWeight: IWeight; |
|
This item has no description. |
procedure SetWeight(Weight: IWeight); |
|
This item has no description. |
function GetItems: TArray<IThreeItem>; |
|
This item has no description. |
procedure SetItems(Items: TArray<IThreeItem>); |
|
This item has no description. |
function Family: TPacketFamily; |
|
Returns the packet family associated with this packet. ReturnsThe packet family associated with this packet |
function Action: TPacketAction; |
|
Returns the packet action associated with this packet. ReturnsThe packet action associated with this packet |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
class function PacketFamily: TPacketFamily; |
|
Returns the packet family associated with this packet. ReturnsThe packet family associated with this packet |
class function PacketAction: TPacketAction; |
|
Returns the packet action associated with this packet. ReturnsThe packet action associated with this packet |
class function Deserialize(Reader: TEoReader): TChestReplyServerPacket; |
|
Deserializes an instance of Parameters
ReturnsThe deserialized object |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
The size of the data that this object was deserialized from.
|
property AddedItemId: Cardinal read GetAddedItemId write SetAddedItemId; |
|
|
property RemainingAmount: Cardinal read GetRemainingAmount write SetRemainingAmount; |
|
|
property Weight: IWeight read GetWeight write SetWeight; |
|
This item has no description. |
property Items: TArray<IThreeItem> read GetItems write SetItems; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.