Class TItemAddServerPacket

Unit

Declaration

type TItemAddServerPacket = class(TInterfacedObject, IPacket, IItemAddServerPacket)

Description

Item appeared on the ground

Hierarchy

Overview

Methods

Public function _GetByteSize: Cardinal;
Public function _GetItemId: Cardinal;
Public procedure _SetItemId(ItemId: Cardinal);
Public function _GetItemIndex: Cardinal;
Public procedure _SetItemIndex(ItemIndex: Cardinal);
Public function _GetItemAmount: Cardinal;
Public procedure _SetItemAmount(ItemAmount: Cardinal);
Public function _GetCoords: ICoords;
Public procedure _SetCoords(Coords: ICoords);
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): TItemAddServerPacket;

Properties

Public property ByteSize: Cardinal read _GetByteSize;
Public property ItemId: Cardinal read _GetItemId write _SetItemId;
Public property ItemIndex: Cardinal read _GetItemIndex write _SetItemIndex;
Public property ItemAmount: Cardinal read _GetItemAmount write _SetItemAmount;
Public property Coords: ICoords read _GetCoords write _SetCoords;

Description

Methods

Public function _GetByteSize: Cardinal;

This item has no description.

Public function _GetItemId: Cardinal;

This item has no description.

Public procedure _SetItemId(ItemId: Cardinal);

This item has no description.

Public function _GetItemIndex: Cardinal;

This item has no description.

Public procedure _SetItemIndex(ItemIndex: Cardinal);

This item has no description.

Public function _GetItemAmount: Cardinal;

This item has no description.

Public procedure _SetItemAmount(ItemAmount: Cardinal);

This item has no description.

Public function _GetCoords: ICoords;

This item has no description.

Public procedure _SetCoords(Coords: ICoords);

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 TItemAddServerPacket 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): TItemAddServerPacket;

Deserializes an instance of TItemAddServerPacket 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 ItemId: Cardinal read _GetItemId write _SetItemId;

Note
Value range is 0-64008

Public property ItemIndex: Cardinal read _GetItemIndex write _SetItemIndex;

Note
Value range is 0-64008

Public property ItemAmount: Cardinal read _GetItemAmount write _SetItemAmount;

Note
Value range is 0-16194276

Public property Coords: ICoords read _GetCoords write _SetCoords;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.