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

[ITEM_UPGRADE] Item upgrade configuration More...

#include <FullModel.h>

Public Types

using BinderType = full_binder::ItemUpgrade
 

Public Member Functions

const int32_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

int32_t Index = {}
 Column [nIndex]: Index.
 
int16_t NpcNumber = {}
 Column [nNPCNum]: NPC Identifier (K_NPC.sSid)
 
std::string Name
 Column [strName]: Name.
 
std::string Note
 Column [strNote]: Note.
 
int16_t OriginType = {}
 Column [nOriginType]: Origin Type.
 
int16_t OriginItem = {}
 Column [nOriginItem]: Origin Item.
 
int32_t RequiredItem [8] = {}
 Array grouping for columns [nReqItem1] to [nReqItem8].
 
int32_t RequiredCoins = {}
 Column [nReqNoah]: Coins required to upgrade.
 
uint8_t RateType = {}
 Column [bRateType]: Rate type.
 
int16_t GenRate = {}
 Column [nGenRate]: Upgrade success rate.
 
int16_t GiveItem = {}
 Column [nGiveItem]: Item acquired on successful upgrade.
 

Detailed Description

[ITEM_UPGRADE] Item upgrade configuration

GAME Database - Full Library
ITEM_UPGRADE Item upgrade configuration

Member Data Documentation

◆ RequiredItem

int32_t full_model::ItemUpgrade::RequiredItem[8] = {}

Array grouping for columns [nReqItem1] to [nReqItem8].

Column [nReqItem1]: Required item 1 identifier Column [nReqItem2]: Required item 2 identifier Column [nReqItem3]: Required item 3 identifier Column [nReqItem4]: Required item 4 identifier Column [nReqItem5]: Required item 5 identifier Column [nReqItem6]: Required item 6 identifier Column [nReqItem7]: Required item 7 identifier Column [nReqItem8]: Required item 8 identifier


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