eolib 0.5.0
A core C library for writing applications related to Endless Online
Loading...
Searching...
No Matches
InnRecord Struct Reference

#include <protocol.h>

Data Fields

EoSerialize _eo
int32_t behavior_id
char * name
int32_t spawn_map
int32_t spawn_x
int32_t spawn_y
int32_t sleep_map
int32_t sleep_x
int32_t sleep_y
bool alternate_spawn_enabled
int32_t alternate_spawn_map
int32_t alternate_spawn_x
int32_t alternate_spawn_y
InnQuestionRecord questions [3]

Detailed Description

Record of Inn data in an Endless Inn File

Definition at line 2340 of file protocol.h.

Field Documentation

◆ _eo

EoSerialize InnRecord::_eo

Definition at line 2341 of file protocol.h.

◆ alternate_spawn_enabled

bool InnRecord::alternate_spawn_enabled

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.

Definition at line 2377 of file protocol.h.

◆ alternate_spawn_map

int32_t InnRecord::alternate_spawn_map

Definition at line 2378 of file protocol.h.

◆ alternate_spawn_x

int32_t InnRecord::alternate_spawn_x

Definition at line 2379 of file protocol.h.

◆ alternate_spawn_y

int32_t InnRecord::alternate_spawn_y

Definition at line 2380 of file protocol.h.

◆ behavior_id

int32_t InnRecord::behavior_id

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

Definition at line 2345 of file protocol.h.

◆ name

char* InnRecord::name

Definition at line 2346 of file protocol.h.

◆ questions

InnQuestionRecord InnRecord::questions[3]

Definition at line 2381 of file protocol.h.

◆ sleep_map

int32_t InnRecord::sleep_map

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

Definition at line 2362 of file protocol.h.

◆ sleep_x

int32_t InnRecord::sleep_x

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

Definition at line 2366 of file protocol.h.

◆ sleep_y

int32_t InnRecord::sleep_y

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

Definition at line 2370 of file protocol.h.

◆ spawn_map

int32_t InnRecord::spawn_map

ID of the map the player is sent to after respawning

Definition at line 2350 of file protocol.h.

◆ spawn_x

int32_t InnRecord::spawn_x

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

Definition at line 2354 of file protocol.h.

◆ spawn_y

int32_t InnRecord::spawn_y

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

Definition at line 2358 of file protocol.h.


The documentation for this struct was generated from the following file: