Class TCharacterStatsReset

Unit

Declaration

type TCharacterStatsReset = class(TInterfacedObject, ICharacterStatsReset)

Description

Character stats data. Sent when resetting stats and skills at a skill master NPC.

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetStatPoints: Cardinal;
Public procedure SetStatPoints(StatPoints: Cardinal);
Public function GetSkillPoints: Cardinal;
Public procedure SetSkillPoints(SkillPoints: Cardinal);
Public function GetHp: Cardinal;
Public procedure SetHp(Hp: Cardinal);
Public function GetMaxHp: Cardinal;
Public procedure SetMaxHp(MaxHp: Cardinal);
Public function GetTp: Cardinal;
Public procedure SetTp(Tp: Cardinal);
Public function GetMaxTp: Cardinal;
Public procedure SetMaxTp(MaxTp: Cardinal);
Public function GetMaxSp: Cardinal;
Public procedure SetMaxSp(MaxSp: Cardinal);
Public function GetBase: ICharacterBaseStats;
Public procedure SetBase(Base: ICharacterBaseStats);
Public function GetSecondary: ICharacterSecondaryStats;
Public procedure SetSecondary(Secondary: ICharacterSecondaryStats);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TCharacterStatsReset;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property StatPoints: Cardinal read GetStatPoints write SetStatPoints;
Public property SkillPoints: Cardinal read GetSkillPoints write SetSkillPoints;
Public property Hp: Cardinal read GetHp write SetHp;
Public property MaxHp: Cardinal read GetMaxHp write SetMaxHp;
Public property Tp: Cardinal read GetTp write SetTp;
Public property MaxTp: Cardinal read GetMaxTp write SetMaxTp;
Public property MaxSp: Cardinal read GetMaxSp write SetMaxSp;
Public property Base: ICharacterBaseStats read GetBase write SetBase;
Public property Secondary: ICharacterSecondaryStats read GetSecondary write SetSecondary;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetStatPoints: Cardinal;

This item has no description.

Public procedure SetStatPoints(StatPoints: Cardinal);

This item has no description.

Public function GetSkillPoints: Cardinal;

This item has no description.

Public procedure SetSkillPoints(SkillPoints: Cardinal);

This item has no description.

Public function GetHp: Cardinal;

This item has no description.

Public procedure SetHp(Hp: Cardinal);

This item has no description.

Public function GetMaxHp: Cardinal;

This item has no description.

Public procedure SetMaxHp(MaxHp: Cardinal);

This item has no description.

Public function GetTp: Cardinal;

This item has no description.

Public procedure SetTp(Tp: Cardinal);

This item has no description.

Public function GetMaxTp: Cardinal;

This item has no description.

Public procedure SetMaxTp(MaxTp: Cardinal);

This item has no description.

Public function GetMaxSp: Cardinal;

This item has no description.

Public procedure SetMaxSp(MaxSp: Cardinal);

This item has no description.

Public function GetBase: ICharacterBaseStats;

This item has no description.

Public procedure SetBase(Base: ICharacterBaseStats);

This item has no description.

Public function GetSecondary: ICharacterSecondaryStats;

This item has no description.

Public procedure SetSecondary(Secondary: ICharacterSecondaryStats);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TCharacterStatsReset object to the provided TEoWriter.

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

Deserializes an instance of TCharacterStatsReset 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 StatPoints: Cardinal read GetStatPoints write SetStatPoints;

Note
Value range is 0-64008

Public property SkillPoints: Cardinal read GetSkillPoints write SetSkillPoints;

Note
Value range is 0-64008

Public property Hp: Cardinal read GetHp write SetHp;

Note
Value range is 0-64008

Public property MaxHp: Cardinal read GetMaxHp write SetMaxHp;

Note
Value range is 0-64008

Public property Tp: Cardinal read GetTp write SetTp;

Note
Value range is 0-64008

Public property MaxTp: Cardinal read GetMaxTp write SetMaxTp;

Note
Value range is 0-64008

Public property MaxSp: Cardinal read GetMaxSp write SetMaxSp;

Note
Value range is 0-64008

Public property Base: ICharacterBaseStats read GetBase write SetBase;

This item has no description.

Public property Secondary: ICharacterSecondaryStats read GetSecondary write SetSecondary;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.