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.