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.