Class TCharacterMapInfo

Unit

Declaration

type TCharacterMapInfo = class(TInterfacedObject, ICharacterMapInfo)

Description

Information about a nearby character. The official client skips these if they're under 42 bytes in length.

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetName: string;
Public procedure SetName(Name: string);
Public function GetPlayerId: Cardinal;
Public procedure SetPlayerId(PlayerId: Cardinal);
Public function GetMapId: Cardinal;
Public procedure SetMapId(MapId: Cardinal);
Public function GetCoords: IBigCoords;
Public procedure SetCoords(Coords: IBigCoords);
Public function GetDirection: TDirection;
Public procedure SetDirection(Direction: TDirection);
Public function GetClassId: Cardinal;
Public procedure SetClassId(ClassId: Cardinal);
Public function GetGuildTag: string;
Public procedure SetGuildTag(GuildTag: string);
Public function GetLevel: Cardinal;
Public procedure SetLevel(Level: Cardinal);
Public function GetGender: TGender;
Public procedure SetGender(Gender: TGender);
Public function GetHairStyle: Cardinal;
Public procedure SetHairStyle(HairStyle: Cardinal);
Public function GetHairColor: Cardinal;
Public procedure SetHairColor(HairColor: Cardinal);
Public function GetSkin: Cardinal;
Public procedure SetSkin(Skin: Cardinal);
Public function GetMaxHp: Cardinal;
Public procedure SetMaxHp(MaxHp: Cardinal);
Public function GetHp: Cardinal;
Public procedure SetHp(Hp: Cardinal);
Public function GetMaxTp: Cardinal;
Public procedure SetMaxTp(MaxTp: Cardinal);
Public function GetTp: Cardinal;
Public procedure SetTp(Tp: Cardinal);
Public function GetEquipment: IEquipmentMapInfo;
Public procedure SetEquipment(Equipment: IEquipmentMapInfo);
Public function GetSitState: TSitState;
Public procedure SetSitState(SitState: TSitState);
Public function GetInvisible: Boolean;
Public procedure SetInvisible(Invisible: Boolean);
Public function GetWarpEffect: TOptional<TWarpEffect>;
Public procedure SetWarpEffect(WarpEffect: TOptional<TWarpEffect>);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TCharacterMapInfo;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Name: string read GetName write SetName;
Public property PlayerId: Cardinal read GetPlayerId write SetPlayerId;
Public property MapId: Cardinal read GetMapId write SetMapId;
Public property Coords: IBigCoords read GetCoords write SetCoords;
Public property Direction: TDirection read GetDirection write SetDirection;
Public property ClassId: Cardinal read GetClassId write SetClassId;
Public property GuildTag: string read GetGuildTag write SetGuildTag;
Public property Level: Cardinal read GetLevel write SetLevel;
Public property Gender: TGender read GetGender write SetGender;
Public property HairStyle: Cardinal read GetHairStyle write SetHairStyle;
Public property HairColor: Cardinal read GetHairColor write SetHairColor;
Public property Skin: Cardinal read GetSkin write SetSkin;
Public property MaxHp: Cardinal read GetMaxHp write SetMaxHp;
Public property Hp: Cardinal read GetHp write SetHp;
Public property MaxTp: Cardinal read GetMaxTp write SetMaxTp;
Public property Tp: Cardinal read GetTp write SetTp;
Public property Equipment: IEquipmentMapInfo read GetEquipment write SetEquipment;
Public property SitState: TSitState read GetSitState write SetSitState;
Public property Invisible: Boolean read GetInvisible write SetInvisible;
Public property WarpEffect: TOptional<TWarpEffect> read GetWarpEffect write SetWarpEffect;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetName: string;

This item has no description.

Public procedure SetName(Name: string);

This item has no description.

Public function GetPlayerId: Cardinal;

This item has no description.

Public procedure SetPlayerId(PlayerId: Cardinal);

This item has no description.

Public function GetMapId: Cardinal;

This item has no description.

Public procedure SetMapId(MapId: Cardinal);

This item has no description.

Public function GetCoords: IBigCoords;

This item has no description.

Public procedure SetCoords(Coords: IBigCoords);

This item has no description.

Public function GetDirection: TDirection;

This item has no description.

Public procedure SetDirection(Direction: TDirection);

This item has no description.

Public function GetClassId: Cardinal;

This item has no description.

Public procedure SetClassId(ClassId: Cardinal);

This item has no description.

Public function GetGuildTag: string;

This item has no description.

Public procedure SetGuildTag(GuildTag: string);

This item has no description.

Public function GetLevel: Cardinal;

This item has no description.

Public procedure SetLevel(Level: Cardinal);

This item has no description.

Public function GetGender: TGender;

This item has no description.

Public procedure SetGender(Gender: TGender);

This item has no description.

Public function GetHairStyle: Cardinal;

This item has no description.

Public procedure SetHairStyle(HairStyle: Cardinal);

This item has no description.

Public function GetHairColor: Cardinal;

This item has no description.

Public procedure SetHairColor(HairColor: Cardinal);

This item has no description.

Public function GetSkin: Cardinal;

This item has no description.

Public procedure SetSkin(Skin: Cardinal);

This item has no description.

Public function GetMaxHp: Cardinal;

This item has no description.

Public procedure SetMaxHp(MaxHp: Cardinal);

This item has no description.

Public function GetHp: Cardinal;

This item has no description.

Public procedure SetHp(Hp: Cardinal);

This item has no description.

Public function GetMaxTp: Cardinal;

This item has no description.

Public procedure SetMaxTp(MaxTp: Cardinal);

This item has no description.

Public function GetTp: Cardinal;

This item has no description.

Public procedure SetTp(Tp: Cardinal);

This item has no description.

Public function GetEquipment: IEquipmentMapInfo;

This item has no description.

Public procedure SetEquipment(Equipment: IEquipmentMapInfo);

This item has no description.

Public function GetSitState: TSitState;

This item has no description.

Public procedure SetSitState(SitState: TSitState);

This item has no description.

Public function GetInvisible: Boolean;

This item has no description.

Public procedure SetInvisible(Invisible: Boolean);

This item has no description.

Public function GetWarpEffect: TOptional<TWarpEffect>;

This item has no description.

Public procedure SetWarpEffect(WarpEffect: TOptional<TWarpEffect>);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TCharacterMapInfo object to the provided TEoWriter.

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

Deserializes an instance of TCharacterMapInfo 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 Name: string read GetName write SetName;

This item has no description.

Public property PlayerId: Cardinal read GetPlayerId write SetPlayerId;

Note
Value range is 0-64008

Public property MapId: Cardinal read GetMapId write SetMapId;

Note
Value range is 0-64008

Public property Coords: IBigCoords read GetCoords write SetCoords;

This item has no description.

Public property Direction: TDirection read GetDirection write SetDirection;

This item has no description.

Public property ClassId: Cardinal read GetClassId write SetClassId;

Note
Value range is 0-252

Public property GuildTag: string read GetGuildTag write SetGuildTag;

Note
Length must be 3

Public property Level: Cardinal read GetLevel write SetLevel;

Note
Value range is 0-252

Public property Gender: TGender read GetGender write SetGender;

This item has no description.

Public property HairStyle: Cardinal read GetHairStyle write SetHairStyle;

Note
Value range is 0-252

Public property HairColor: Cardinal read GetHairColor write SetHairColor;

Note
Value range is 0-252

Public property Skin: Cardinal read GetSkin write SetSkin;

Note
Value range is 0-252

Public property MaxHp: Cardinal read GetMaxHp write SetMaxHp;

Note
Value range is 0-64008

Public property Hp: Cardinal read GetHp write SetHp;

Note
Value range is 0-64008

Public property MaxTp: Cardinal read GetMaxTp write SetMaxTp;

Note
Value range is 0-64008

Public property Tp: Cardinal read GetTp write SetTp;

Note
Value range is 0-64008

Public property Equipment: IEquipmentMapInfo read GetEquipment write SetEquipment;

This item has no description.

Public property SitState: TSitState read GetSitState write SetSitState;

This item has no description.

Public property Invisible: Boolean read GetInvisible write SetInvisible;

This item has no description.

Public property WarpEffect: TOptional<TWarpEffect> read GetWarpEffect write SetWarpEffect;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.