Class TItemReplyServerPacket

Unit

Declaration

type TItemReplyServerPacket = class(TInterfacedObject, IPacket, IItemReplyServerPacket)

Description

Reply to using an item

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetItemType: TItemType;
Public procedure SetItemType(ItemType: TItemType);
Public function GetUsedItem: IItem;
Public procedure SetUsedItem(UsedItem: IItem);
Public function GetWeight: IWeight;
Public procedure SetWeight(Weight: IWeight);
Public function GetItemTypeData: IItemReplyServerPacketItemTypeData;
Public procedure SetItemTypeData(ItemTypeData: IItemReplyServerPacketItemTypeData);
Public function Family: TPacketFamily;
Public function Action: TPacketAction;
Public procedure Serialize(Writer: TEoWriter);
Public class function PacketFamily: TPacketFamily;
Public class function PacketAction: TPacketAction;
Public class function Deserialize(Reader: TEoReader): TItemReplyServerPacket;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property ItemType: TItemType read GetItemType write SetItemType;
Public property UsedItem: IItem read GetUsedItem write SetUsedItem;
Public property Weight: IWeight read GetWeight write SetWeight;
Public property ItemTypeData: IItemReplyServerPacketItemTypeData read GetItemTypeData write SetItemTypeData;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetItemType: TItemType;

This item has no description.

Public procedure SetItemType(ItemType: TItemType);

This item has no description.

Public function GetUsedItem: IItem;

This item has no description.

Public procedure SetUsedItem(UsedItem: IItem);

This item has no description.

Public function GetWeight: IWeight;

This item has no description.

Public procedure SetWeight(Weight: IWeight);

This item has no description.

Public function GetItemTypeData: IItemReplyServerPacketItemTypeData;

This item has no description.

Public procedure SetItemTypeData(ItemTypeData: IItemReplyServerPacketItemTypeData);

This item has no description.

Public function Family: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public function Action: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public procedure Serialize(Writer: TEoWriter);

Serializes this TItemReplyServerPacket object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function PacketFamily: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public class function PacketAction: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public class function Deserialize(Reader: TEoReader): TItemReplyServerPacket;

Deserializes an instance of TItemReplyServerPacket from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property ItemType: TItemType read GetItemType write SetItemType;

This item has no description.

Public property UsedItem: IItem read GetUsedItem write SetUsedItem;

This item has no description.

Public property Weight: IWeight read GetWeight write SetWeight;

This item has no description.

Public property ItemTypeData: IItemReplyServerPacketItemTypeData read GetItemTypeData write SetItemTypeData;

Data associated with the ItemType field.


Generated by PasDoc 0.16.0-snapshot.