Class TPartyExpShare

Unit

Declaration

type TPartyExpShare = class(TInterfacedObject, IPartyExpShare)

Description

EXP gain for 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 GetExperience: Cardinal;
Public procedure SetExperience(Experience: Cardinal);
Public function GetLevelUp: Cardinal;
Public procedure SetLevelUp(LevelUp: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TPartyExpShare;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property PlayerId: Cardinal read GetPlayerId write SetPlayerId;
Public property Experience: Cardinal read GetExperience write SetExperience;
Public property LevelUp: Cardinal read GetLevelUp write SetLevelUp;

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

This item has no description.

Public procedure SetExperience(Experience: Cardinal);

This item has no description.

Public function GetLevelUp: Cardinal;

This item has no description.

Public procedure SetLevelUp(LevelUp: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TPartyExpShare object to the provided TEoWriter.

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

Deserializes an instance of TPartyExpShare 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 Experience: Cardinal read GetExperience write SetExperience;

Note
Value range is 0–197815216

Public property LevelUp: Cardinal read GetLevelUp write SetLevelUp;

A value greater than 0 is "new level" and indicates the player leveled up.

Note
Value range is 0-252


Generated by PasDoc 0.16.0-snapshot.