OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
Loading...
Searching...
No Matches
aiserver_model::NpcPos Class Referenceexport

[K_NPCPOS] NPC Spawn Positions More...

Public Types

using BinderType = aiserver_binder::NpcPos
 

Static Public Member Functions

static const std::string & TableName ()
 Returns the table name.
 
static const std::unordered_set< std::string > & ColumnNames ()
 Returns a set of column names for the table.
 
static const std::vector< std::string > & OrderedColumnNames ()
 Returns an ordered vector of column names for the table.
 
static const std::unordered_set< std::string > & BlobColumns ()
 Returns a set of blob column names for the table.
 
static const modelUtil::DbType DbType ()
 Returns the associated database type for the table.
 
static const std::vector< std::string > & PrimaryKey ()
 Returns the columns associated with the table's Primary Key.
 

Public Attributes

int16_t ZoneId = {}
 Column [ZoneID]: Zone Identifier.
 
int32_t NpcId = {}
 Column [NpcID]: NPC Identifier (K_NPC.sSid)
 
uint8_t ActType = {}
 Column [ActType]: Act type TODO.
 
uint8_t RegenType = {}
 Column [RegenType]: Regen type TODO.
 
uint8_t DungeonFamily = {}
 Column [DungeonFamily]: Dungeon family TODO.
 
uint8_t SpecialType = {}
 Column [SpecialType]: Special type TODO.
 
uint8_t TrapNumber = {}
 Column [TrapNumber]: Trap number.
 
int32_t LeftX = {}
 Column [LeftX]: X-coordinate representing the left side of the spawn area.
 
int32_t TopZ = {}
 Column [TopZ]: Z-coordinate representing the top side of the spawn area.
 
int32_t RightX = {}
 Column [RightX]: X-coordinate representing the right side of the spawn area.
 
int32_t BottomZ = {}
 Column [BottomZ]: Z-coordinate representing the bottom side of the spawn area.
 
int32_t LimitMinZ = {}
 Column [LimitMinZ]: Minimum z-coordinate value for valid roaming.
 
int32_t LimitMinX = {}
 Column [LimitMinX]: Minimum x-coordinate value for valid roaming.
 
int32_t LimitMaxX = {}
 Column [LimitMaxX]: Maximum x-coordinate value for valid roaming.
 
int32_t LimitMaxZ = {}
 Column [LimitMaxZ]: Maximum z-coordinate value for valid roaming.
 
uint8_t NumNpc = {}
 Column [NumNPC]: Target number of NPCs for the spawn area.
 
int16_t RespawnTime = {}
 Column [RegTime]: How long it takes for a dead NPC to respawn.
 
int32_t Direction = {}
 Column [byDirection]: Direction TODO.
 
uint8_t PathPointCount = {}
 Column [DotCnt]: The number of points contained within Path.
 
std::optional< std::string > Path
 Column [path]: Pathfinding data. Each point contains an x and z coordinate. Each coordinate is 4-digits wide and zero-padded.
 

Detailed Description

[K_NPCPOS] NPC Spawn Positions

GAME Database - AIServer Library
K_NPCPOS NPC Spawn Positions

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