Class TLevelUpStats

Unit

Declaration

type TLevelUpStats = class(TInterfacedObject, ILevelUpStats)

Description

Level and stat updates

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetLevel: Cardinal;
Public procedure SetLevel(Level: Cardinal);
Public function GetStatPoints: Cardinal;
Public procedure SetStatPoints(StatPoints: Cardinal);
Public function GetSkillPoints: Cardinal;
Public procedure SetSkillPoints(SkillPoints: Cardinal);
Public function GetMaxHp: Cardinal;
Public procedure SetMaxHp(MaxHp: Cardinal);
Public function GetMaxTp: Cardinal;
Public procedure SetMaxTp(MaxTp: Cardinal);
Public function GetMaxSp: Cardinal;
Public procedure SetMaxSp(MaxSp: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TLevelUpStats;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Level: Cardinal read GetLevel write SetLevel;
Public property StatPoints: Cardinal read GetStatPoints write SetStatPoints;
Public property SkillPoints: Cardinal read GetSkillPoints write SetSkillPoints;
Public property MaxHp: Cardinal read GetMaxHp write SetMaxHp;
Public property MaxTp: Cardinal read GetMaxTp write SetMaxTp;
Public property MaxSp: Cardinal read GetMaxSp write SetMaxSp;

Description

Methods

Public function GetByteSize: Cardinal;

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

This item has no description.

Public procedure SetMaxHp(MaxHp: 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 procedure Serialize(Writer: TEoWriter);

Serializes this TLevelUpStats object to the provided TEoWriter.

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

Deserializes an instance of TLevelUpStats 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 Level: Cardinal read GetLevel write SetLevel;

Note
Value range is 0-252

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 MaxHp: Cardinal read GetMaxHp write SetMaxHp;

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


Generated by PasDoc 0.16.0-snapshot.