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.