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.