Class TItemMapInfo

Unit

Declaration

type TItemMapInfo = class(TInterfacedObject, IItemMapInfo)

Description

Information about a nearby item on the ground

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetUid: Cardinal;
Public procedure SetUid(Uid: Cardinal);
Public function GetId: Cardinal;
Public procedure SetId(Id: Cardinal);
Public function GetCoords: ICoords;
Public procedure SetCoords(Coords: ICoords);
Public function GetAmount: Cardinal;
Public procedure SetAmount(Amount: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TItemMapInfo;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Uid: Cardinal read GetUid write SetUid;
Public property Id: Cardinal read GetId write SetId;
Public property Coords: ICoords read GetCoords write SetCoords;
Public property Amount: Cardinal read GetAmount write SetAmount;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetUid: Cardinal;

This item has no description.

Public procedure SetUid(Uid: Cardinal);

This item has no description.

Public function GetId: Cardinal;

This item has no description.

Public procedure SetId(Id: 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 GetAmount: Cardinal;

This item has no description.

Public procedure SetAmount(Amount: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TItemMapInfo object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TItemMapInfo;

Deserializes an instance of TItemMapInfo 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 Uid: Cardinal read GetUid write SetUid;

Note
Value range is 0-64008

Public property Id: Cardinal read GetId write SetId;

Note
Value range is 0-64008

Public property Coords: ICoords read GetCoords write SetCoords;

This item has no description.

Public property Amount: Cardinal read GetAmount write SetAmount;

Note
Value range is 0-16194276


Generated by PasDoc 0.16.0-snapshot.