Class TCharacterStatsWelcome

Unit

Declaration

type TCharacterStatsWelcome = class(TInterfacedObject, ICharacterStatsWelcome)

Description

Character stats data. Sent upon selecting a character and entering the game.

Hierarchy

Overview

Methods

Public function GetByteSize: 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 GetStatPoints: Cardinal;
Public procedure SetStatPoints(StatPoints: Cardinal);
Public function GetSkillPoints: Cardinal;
Public procedure SetSkillPoints(SkillPoints: Cardinal);
Public function GetKarma: Cardinal;
Public procedure SetKarma(Karma: Cardinal);
Public function GetSecondary: ICharacterSecondaryStats;
Public procedure SetSecondary(Secondary: ICharacterSecondaryStats);
Public function GetBase: ICharacterBaseStatsWelcome;
Public procedure SetBase(Base: ICharacterBaseStatsWelcome);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TCharacterStatsWelcome;

Properties

Public property ByteSize: Cardinal read GetByteSize;
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 StatPoints: Cardinal read GetStatPoints write SetStatPoints;
Public property SkillPoints: Cardinal read GetSkillPoints write SetSkillPoints;
Public property Karma: Cardinal read GetKarma write SetKarma;
Public property Secondary: ICharacterSecondaryStats read GetSecondary write SetSecondary;
Public property Base: ICharacterBaseStatsWelcome read GetBase write SetBase;

Description

Methods

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

This item has no description.

Public procedure SetKarma(Karma: Cardinal);

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 function GetBase: ICharacterBaseStatsWelcome;

This item has no description.

Public procedure SetBase(Base: ICharacterBaseStatsWelcome);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TCharacterStatsWelcome object to the provided TEoWriter.

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

Deserializes an instance of TCharacterStatsWelcome 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 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 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 Karma: Cardinal read GetKarma write SetKarma;

Note
Value range is 0-64008

Public property Secondary: ICharacterSecondaryStats read GetSecondary write SetSecondary;

This item has no description.

Public property Base: ICharacterBaseStatsWelcome read GetBase write SetBase;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.