Class TInnRecord
Unit
Declaration
type TInnRecord = class(TInterfacedObject, IInnRecord)
Description
Record of Inn data in an Endless Inn File
Hierarchy
- TInterfacedObject
- TInnRecord
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetBehaviorId: Cardinal; |
|
procedure SetBehaviorId(BehaviorId: Cardinal); |
|
function GetName: string; |
|
procedure SetName(Name: string); |
|
function GetSpawnMap: Cardinal; |
|
procedure SetSpawnMap(SpawnMap: Cardinal); |
|
function GetSpawnX: Cardinal; |
|
procedure SetSpawnX(SpawnX: Cardinal); |
|
function GetSpawnY: Cardinal; |
|
procedure SetSpawnY(SpawnY: Cardinal); |
|
function GetSleepMap: Cardinal; |
|
procedure SetSleepMap(SleepMap: Cardinal); |
|
function GetSleepX: Cardinal; |
|
procedure SetSleepX(SleepX: Cardinal); |
|
function GetSleepY: Cardinal; |
|
procedure SetSleepY(SleepY: Cardinal); |
|
function GetAlternateSpawnEnabled: Boolean; |
|
procedure SetAlternateSpawnEnabled(AlternateSpawnEnabled: Boolean); |
|
function GetAlternateSpawnMap: Cardinal; |
|
procedure SetAlternateSpawnMap(AlternateSpawnMap: Cardinal); |
|
function GetAlternateSpawnX: Cardinal; |
|
procedure SetAlternateSpawnX(AlternateSpawnX: Cardinal); |
|
function GetAlternateSpawnY: Cardinal; |
|
procedure SetAlternateSpawnY(AlternateSpawnY: Cardinal); |
|
function GetQuestions: TArray<IInnQuestionRecord>; |
|
procedure SetQuestions(Questions: TArray<IInnQuestionRecord>); |
|
procedure Serialize(Writer: TEoWriter); |
|
class function Deserialize(Reader: TEoReader): TInnRecord; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property BehaviorId: Cardinal read GetBehaviorId write SetBehaviorId; |
|
property Name: string read GetName write SetName; |
|
property SpawnMap: Cardinal read GetSpawnMap write SetSpawnMap; |
|
property SpawnX: Cardinal read GetSpawnX write SetSpawnX; |
|
property SpawnY: Cardinal read GetSpawnY write SetSpawnY; |
|
property SleepMap: Cardinal read GetSleepMap write SetSleepMap; |
|
property SleepX: Cardinal read GetSleepX write SetSleepX; |
|
property SleepY: Cardinal read GetSleepY write SetSleepY; |
|
property AlternateSpawnEnabled: Boolean read GetAlternateSpawnEnabled write SetAlternateSpawnEnabled; |
|
property AlternateSpawnMap: Cardinal read GetAlternateSpawnMap write SetAlternateSpawnMap; |
|
property AlternateSpawnX: Cardinal read GetAlternateSpawnX write SetAlternateSpawnX; |
|
property AlternateSpawnY: Cardinal read GetAlternateSpawnY write SetAlternateSpawnY; |
|
property Questions: TArray<IInnQuestionRecord> read GetQuestions write SetQuestions; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetBehaviorId: Cardinal; |
|
This item has no description. |
procedure SetBehaviorId(BehaviorId: Cardinal); |
|
This item has no description. |
function GetName: string; |
|
This item has no description. |
procedure SetName(Name: string); |
|
This item has no description. |
function GetSpawnMap: Cardinal; |
|
This item has no description. |
procedure SetSpawnMap(SpawnMap: Cardinal); |
|
This item has no description. |
function GetSpawnX: Cardinal; |
|
This item has no description. |
procedure SetSpawnX(SpawnX: Cardinal); |
|
This item has no description. |
function GetSpawnY: Cardinal; |
|
This item has no description. |
procedure SetSpawnY(SpawnY: Cardinal); |
|
This item has no description. |
function GetSleepMap: Cardinal; |
|
This item has no description. |
procedure SetSleepMap(SleepMap: Cardinal); |
|
This item has no description. |
function GetSleepX: Cardinal; |
|
This item has no description. |
procedure SetSleepX(SleepX: Cardinal); |
|
This item has no description. |
function GetSleepY: Cardinal; |
|
This item has no description. |
procedure SetSleepY(SleepY: Cardinal); |
|
This item has no description. |
function GetAlternateSpawnEnabled: Boolean; |
|
This item has no description. |
procedure SetAlternateSpawnEnabled(AlternateSpawnEnabled: Boolean); |
|
This item has no description. |
function GetAlternateSpawnMap: Cardinal; |
|
This item has no description. |
procedure SetAlternateSpawnMap(AlternateSpawnMap: Cardinal); |
|
This item has no description. |
function GetAlternateSpawnX: Cardinal; |
|
This item has no description. |
procedure SetAlternateSpawnX(AlternateSpawnX: Cardinal); |
|
This item has no description. |
function GetAlternateSpawnY: Cardinal; |
|
This item has no description. |
procedure SetAlternateSpawnY(AlternateSpawnY: Cardinal); |
|
This item has no description. |
function GetQuestions: TArray<IInnQuestionRecord>; |
|
This item has no description. |
procedure SetQuestions(Questions: TArray<IInnQuestionRecord>); |
|
This item has no description. |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
class function Deserialize(Reader: TEoReader): TInnRecord; |
|
Deserializes an instance of Parameters
ReturnsThe deserialized object |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
The size of the data that this object was deserialized from.
|
property BehaviorId: Cardinal read GetBehaviorId write SetBehaviorId; |
|
Behavior ID of the NPC that runs the inn. 0 for default inn
|
property Name: string read GetName write SetName; |
|
|
property SpawnMap: Cardinal read GetSpawnMap write SetSpawnMap; |
|
ID of the map the player is sent to after respawning
|
property SpawnX: Cardinal read GetSpawnX write SetSpawnX; |
|
X coordinate of the map the player is sent to after respawning
|
property SpawnY: Cardinal read GetSpawnY write SetSpawnY; |
|
Y coordinate of the map the player is sent to after respawning
|
property SleepMap: Cardinal read GetSleepMap write SetSleepMap; |
|
ID of the map the player is sent to after sleeping at the inn
|
property SleepX: Cardinal read GetSleepX write SetSleepX; |
|
X coordinate of the map the player is sent to after sleeping at the inn
|
property SleepY: Cardinal read GetSleepY write SetSleepY; |
|
Y coordinate of the map the player is sent to after sleeping at the inn
|
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. |
property AlternateSpawnMap: Cardinal read GetAlternateSpawnMap write SetAlternateSpawnMap; |
|
|
property AlternateSpawnX: Cardinal read GetAlternateSpawnX write SetAlternateSpawnX; |
|
|
property AlternateSpawnY: Cardinal read GetAlternateSpawnY write SetAlternateSpawnY; |
|
|
property Questions: TArray<IInnQuestionRecord> read GetQuestions write SetQuestions; |
|
|
Generated by PasDoc 0.16.0-snapshot.