Class TRecoverReplyServerPacket

Unit

Declaration

type TRecoverReplyServerPacket = class(TInterfacedObject, IPacket, IRecoverReplyServerPacket)

Description

Karma/experience update

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetExperience: Cardinal;
Public procedure SetExperience(Experience: Cardinal);
Public function GetKarma: Cardinal;
Public procedure SetKarma(Karma: Cardinal);
Public function GetLevelUp: TOptional<Cardinal>;
Public procedure SetLevelUp(LevelUp: TOptional<Cardinal>);
Public function GetStatPoints: TOptional<Cardinal>;
Public procedure SetStatPoints(StatPoints: TOptional<Cardinal>);
Public function GetSkillPoints: TOptional<Cardinal>;
Public procedure SetSkillPoints(SkillPoints: TOptional<Cardinal>);
Public function Family: TPacketFamily;
Public function Action: TPacketAction;
Public procedure Serialize(Writer: TEoWriter);
Public class function PacketFamily: TPacketFamily;
Public class function PacketAction: TPacketAction;
Public class function Deserialize(Reader: TEoReader): TRecoverReplyServerPacket;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Experience: Cardinal read GetExperience write SetExperience;
Public property Karma: Cardinal read GetKarma write SetKarma;
Public property LevelUp: TOptional<Cardinal> read GetLevelUp write SetLevelUp;
Public property StatPoints: TOptional<Cardinal> read GetStatPoints write SetStatPoints;
Public property SkillPoints: TOptional<Cardinal> read GetSkillPoints write SetSkillPoints;

Description

Methods

Public function GetByteSize: 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 GetKarma: Cardinal;

This item has no description.

Public procedure SetKarma(Karma: Cardinal);

This item has no description.

Public function GetLevelUp: TOptional<Cardinal>;

This item has no description.

Public procedure SetLevelUp(LevelUp: TOptional<Cardinal>);

This item has no description.

Public function GetStatPoints: TOptional<Cardinal>;

This item has no description.

Public procedure SetStatPoints(StatPoints: TOptional<Cardinal>);

This item has no description.

Public function GetSkillPoints: TOptional<Cardinal>;

This item has no description.

Public procedure SetSkillPoints(SkillPoints: TOptional<Cardinal>);

This item has no description.

Public function Family: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public function Action: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public procedure Serialize(Writer: TEoWriter);

Serializes this TRecoverReplyServerPacket object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function PacketFamily: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public class function PacketAction: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public class function Deserialize(Reader: TEoReader): TRecoverReplyServerPacket;

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

Note
Value range is 0–197815216

Public property Karma: Cardinal read GetKarma write SetKarma;

Note
Value range is 0-64008

Public property LevelUp: TOptional<Cardinal> read GetLevelUp write SetLevelUp;

A value greater than 0 is "new level" and indicates the player leveled up. The official client reads this if the packet is larger than 6 bytes.

Note
Value range is 0-252

Public property StatPoints: TOptional<Cardinal> read GetStatPoints write SetStatPoints;

The official client reads this if the player leveled up

Note
Value range is 0-64008

Public property SkillPoints: TOptional<Cardinal> read GetSkillPoints write SetSkillPoints;

The official client reads this if the player leveled up

Note
Value range is 0-64008


Generated by PasDoc 0.16.0-snapshot.