Interface IInnRecord

Unit

Declaration

type IInnRecord = interface(IInterface)

Description

Record of Inn data in an Endless Inn File

Attributes
GUID['{234E4065-EB82-53D2-92EF-C983EF2D68AA}']

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);

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 IInnRecord object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to

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.