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

[K_MONSTER_ITEM] Monster loot table More...

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 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 MonsterId = {}
 Column [sIndex]: Monster identifier (K_MONSTER.sSid)
 
union { 
 
   int32_t   ItemId [5] = {} 
 
   struct { 
 
      int32_t   ItemId1 
 
      int32_t   ItemId2 
 
      int32_t   ItemId3 
 
      int32_t   ItemId4 
 
      int32_t   ItemId5 
 
   }  
 
};  
 
union { 
 
   int16_t   DropChance [5] = {} 
 
   struct { 
 
      int16_t   DropChance1 
 
      int16_t   DropChance2 
 
      int16_t   DropChance3 
 
      int16_t   DropChance4 
 
      int16_t   DropChance5 
 
   }  
 
};  
 

Detailed Description

[K_MONSTER_ITEM] Monster loot table

GAME Database - AIServer Library
K_MONSTER_ITEM Monster loot table

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