Class TPartyMember

Unit

Declaration

type TPartyMember = class(TInterfacedObject, IPartyMember)

Description

A member of the player's party

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetPlayerId: Cardinal;
Public procedure SetPlayerId(PlayerId: Cardinal);
Public function GetLeader: Boolean;
Public procedure SetLeader(Leader: Boolean);
Public function GetLevel: Cardinal;
Public procedure SetLevel(Level: Cardinal);
Public function GetHpPercentage: Cardinal;
Public procedure SetHpPercentage(HpPercentage: Cardinal);
Public function GetName: string;
Public procedure SetName(Name: string);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TPartyMember;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property PlayerId: Cardinal read GetPlayerId write SetPlayerId;
Public property Leader: Boolean read GetLeader write SetLeader;
Public property Level: Cardinal read GetLevel write SetLevel;
Public property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage;
Public property Name: string read GetName write SetName;

Description

Methods

Public function GetByteSize: Cardinal;

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 GetLeader: Boolean;

This item has no description.

Public procedure SetLeader(Leader: Boolean);

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 GetHpPercentage: Cardinal;

This item has no description.

Public procedure SetHpPercentage(HpPercentage: 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 procedure Serialize(Writer: TEoWriter);

Serializes this TPartyMember object to the provided TEoWriter.

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

Deserializes an instance of TPartyMember 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 PlayerId: Cardinal read GetPlayerId write SetPlayerId;

Note
Value range is 0-64008

Public property Leader: Boolean read GetLeader write SetLeader;

This item has no description.

Public property Level: Cardinal read GetLevel write SetLevel;

Note
Value range is 0-252

Public property HpPercentage: Cardinal read GetHpPercentage write SetHpPercentage;

Note
Value range is 0-252

Public property Name: string read GetName write SetName;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.