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

[K_MONSTER_ITEM] Monster loot table More...

#include <AIServerModel.h>

Public Types

using BinderType = aiserver_binder::MonsterItem
 

Public Member Functions

const int16_t & MapKey () const
 Returns a value for use in map keys based on the table's primary key.
 

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 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 MonsterId = {}
 Column [sIndex]: Monster identifier (K_MONSTER.sSid)
 
int32_t ItemId [5] = {}
 Array grouping for columns [iItem01] to [iItem05].
 
int16_t DropChance [5] = {}
 Array grouping for columns [sPersent01] to [sPersent05].
 

Detailed Description

[K_MONSTER_ITEM] Monster loot table

GAME Database - AIServer Library
K_MONSTER_ITEM Monster loot table

Member Data Documentation

◆ DropChance

int16_t aiserver_model::MonsterItem::DropChance[5] = {}

Array grouping for columns [sPersent01] to [sPersent05].

Column [sPersent01]: Chance for item 1 to drop Column [sPersent02]: Chance for item 2 to drop Column [sPersent03]: Chance for item 3 to drop Column [sPersent04]: Chance for item 4 to drop Column [sPersent05]: Chance for item 5 to drop

◆ ItemId

int32_t aiserver_model::MonsterItem::ItemId[5] = {}

Array grouping for columns [iItem01] to [iItem05].

Column [iItem01]: Item identifier 1 Column [iItem02]: Item identifier 2 Column [iItem03]: Item identifier 3 Column [iItem04]: Item identifier 4 Column [iItem05]: Item identifier 5


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