|
OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
|
[K_NPC_ITEM] NPC loot table More...
#include <FullModel.h>
Public Types | |
| using | BinderType = full_binder::NpcItem |
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 | NpcId = {} |
| Column [sIndex]: NPC identifier (K_NPC.sSid) | |
| int32_t | ItemId1 = {} |
| Column [iItem01]: Item identifier 1. | |
| std::optional< int16_t > | DropChance [5] |
| Array grouping for columns [sPersent01] to [sPersent05]. | |
| std::optional< int32_t > | ItemId2 |
| Column [iItem02]: Item identifier 2. | |
| std::optional< int32_t > | ItemId3 |
| Column [iItem03]: Item identifier 3. | |
| std::optional< int32_t > | ItemId4 |
| Column [iItem04]: Item identifier 4. | |
| std::optional< int32_t > | ItemId5 |
| Column [iItem05]: Item identifier 5. | |
[K_NPC_ITEM] NPC loot table
| std::optional<int16_t> full_model::NpcItem::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