Class TInnRecord

Unit

Declaration

type TInnRecord = class(TInterfacedObject, IInnRecord)

Description

Record of Inn data in an Endless Inn File

Hierarchy

Overview

Methods

Public function _GetByteSize: Cardinal;
Public function _GetBehaviorId: Cardinal;
Public procedure _SetBehaviorId(BehaviorId: Cardinal);
Public function _GetName: string;
Public procedure _SetName(Name: string);
Public function _GetSpawnMap: Cardinal;
Public procedure _SetSpawnMap(SpawnMap: Cardinal);
Public function _GetSpawnX: Cardinal;
Public procedure _SetSpawnX(SpawnX: Cardinal);
Public function _GetSpawnY: Cardinal;
Public procedure _SetSpawnY(SpawnY: Cardinal);
Public function _GetSleepMap: Cardinal;
Public procedure _SetSleepMap(SleepMap: Cardinal);
Public function _GetSleepX: Cardinal;
Public procedure _SetSleepX(SleepX: Cardinal);
Public function _GetSleepY: Cardinal;
Public procedure _SetSleepY(SleepY: Cardinal);
Public function _GetAlternateSpawnEnabled: Boolean;
Public procedure _SetAlternateSpawnEnabled(AlternateSpawnEnabled: Boolean);
Public function _GetAlternateSpawnMap: Cardinal;
Public procedure _SetAlternateSpawnMap(AlternateSpawnMap: Cardinal);
Public function _GetAlternateSpawnX: Cardinal;
Public procedure _SetAlternateSpawnX(AlternateSpawnX: Cardinal);
Public function _GetAlternateSpawnY: Cardinal;
Public procedure _SetAlternateSpawnY(AlternateSpawnY: Cardinal);
Public function _GetQuestions: TArray<IInnQuestionRecord>;
Public procedure _SetQuestions(Questions: TArray<IInnQuestionRecord>);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TInnRecord;

Properties

Public property ByteSize: Cardinal read _GetByteSize;
Public property BehaviorId: Cardinal read _GetBehaviorId write _SetBehaviorId;
Public property Name: string read _GetName write _SetName;
Public property SpawnMap: Cardinal read _GetSpawnMap write _SetSpawnMap;
Public property SpawnX: Cardinal read _GetSpawnX write _SetSpawnX;
Public property SpawnY: Cardinal read _GetSpawnY write _SetSpawnY;
Public property SleepMap: Cardinal read _GetSleepMap write _SetSleepMap;
Public property SleepX: Cardinal read _GetSleepX write _SetSleepX;
Public property SleepY: Cardinal read _GetSleepY write _SetSleepY;
Public property AlternateSpawnEnabled: Boolean read _GetAlternateSpawnEnabled write _SetAlternateSpawnEnabled;
Public property AlternateSpawnMap: Cardinal read _GetAlternateSpawnMap write _SetAlternateSpawnMap;
Public property AlternateSpawnX: Cardinal read _GetAlternateSpawnX write _SetAlternateSpawnX;
Public property AlternateSpawnY: Cardinal read _GetAlternateSpawnY write _SetAlternateSpawnY;
Public property Questions: TArray<IInnQuestionRecord> read _GetQuestions write _SetQuestions;

Description

Methods

Public function _GetByteSize: Cardinal;

This item has no description.

Public function _GetBehaviorId: Cardinal;

This item has no description.

Public procedure _SetBehaviorId(BehaviorId: Cardinal);

This item has no description.

Public function _GetName: string;

This item has no description.

Public procedure _SetName(Name: string);

This item has no description.

Public function _GetSpawnMap: Cardinal;

This item has no description.

Public procedure _SetSpawnMap(SpawnMap: Cardinal);

This item has no description.

Public function _GetSpawnX: Cardinal;

This item has no description.

Public procedure _SetSpawnX(SpawnX: Cardinal);

This item has no description.

Public function _GetSpawnY: Cardinal;

This item has no description.

Public procedure _SetSpawnY(SpawnY: Cardinal);

This item has no description.

Public function _GetSleepMap: Cardinal;

This item has no description.

Public procedure _SetSleepMap(SleepMap: Cardinal);

This item has no description.

Public function _GetSleepX: Cardinal;

This item has no description.

Public procedure _SetSleepX(SleepX: Cardinal);

This item has no description.

Public function _GetSleepY: Cardinal;

This item has no description.

Public procedure _SetSleepY(SleepY: Cardinal);

This item has no description.

Public function _GetAlternateSpawnEnabled: Boolean;

This item has no description.

Public procedure _SetAlternateSpawnEnabled(AlternateSpawnEnabled: Boolean);

This item has no description.

Public function _GetAlternateSpawnMap: Cardinal;

This item has no description.

Public procedure _SetAlternateSpawnMap(AlternateSpawnMap: Cardinal);

This item has no description.

Public function _GetAlternateSpawnX: Cardinal;

This item has no description.

Public procedure _SetAlternateSpawnX(AlternateSpawnX: Cardinal);

This item has no description.

Public function _GetAlternateSpawnY: Cardinal;

This item has no description.

Public procedure _SetAlternateSpawnY(AlternateSpawnY: Cardinal);

This item has no description.

Public function _GetQuestions: TArray<IInnQuestionRecord>;

This item has no description.

Public procedure _SetQuestions(Questions: TArray<IInnQuestionRecord>);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TInnRecord object to the provided TEoWriter.

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

Deserializes an instance of TInnRecord 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 BehaviorId: Cardinal read _GetBehaviorId write _SetBehaviorId;

Behavior ID of the NPC that runs the inn. 0 for default inn

Note
Value range is 0-64008

Public property Name: string read _GetName write _SetName;

Note
Length must be 252 or less

Public property SpawnMap: Cardinal read _GetSpawnMap write _SetSpawnMap;

ID of the map the player is sent to after respawning

Note
Value range is 0-64008

Public property SpawnX: Cardinal read _GetSpawnX write _SetSpawnX;

X coordinate of the map the player is sent to after respawning

Note
Value range is 0-252

Public property SpawnY: Cardinal read _GetSpawnY write _SetSpawnY;

Y coordinate of the map the player is sent to after respawning

Note
Value range is 0-252

Public property SleepMap: Cardinal read _GetSleepMap write _SetSleepMap;

ID of the map the player is sent to after sleeping at the inn

Note
Value range is 0-64008

Public property SleepX: Cardinal read _GetSleepX write _SetSleepX;

X coordinate of the map the player is sent to after sleeping at the inn

Note
Value range is 0-252

Public property SleepY: Cardinal read _GetSleepY write _SetSleepY;

Y coordinate of the map the player is sent to after sleeping at the inn

Note
Value range is 0-252

Public property AlternateSpawnEnabled: Boolean read _GetAlternateSpawnEnabled write _SetAlternateSpawnEnabled;

Flag for an alternate spawn point. If true, the server will use this alternate spawn map, x, and, y based on some other condition.

In the official server, this is used to respawn new characters on the noob island until they reach a certain level.

Public property AlternateSpawnMap: Cardinal read _GetAlternateSpawnMap write _SetAlternateSpawnMap;

Note
Value range is 0-64008

Public property AlternateSpawnX: Cardinal read _GetAlternateSpawnX write _SetAlternateSpawnX;

Note
Value range is 0-252

Public property AlternateSpawnY: Cardinal read _GetAlternateSpawnY write _SetAlternateSpawnY;

Note
Value range is 0-252

Public property Questions: TArray<IInnQuestionRecord> read _GetQuestions write _SetQuestions;

Note
Length must be 3


Generated by PasDoc 0.16.0-snapshot.