Class TSpell

Unit

Declaration

type TSpell = class(TInterfacedObject, ISpell)

Description

A spell known by the player

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetId: Cardinal;
Public procedure SetId(Id: Cardinal);
Public function GetLevel: Cardinal;
Public procedure SetLevel(Level: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TSpell;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Id: Cardinal read GetId write SetId;
Public property Level: Cardinal read GetLevel write SetLevel;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetId: Cardinal;

This item has no description.

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

Serializes this TSpell object to the provided TEoWriter.

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

Deserializes an instance of TSpell 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 Id: Cardinal read GetId write SetId;

Note
Value range is 0-64008

Public property Level: Cardinal read GetLevel write SetLevel;

Note
Value range is 0-64008


Generated by PasDoc 0.16.0-snapshot.