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

[ITEM_UPGRADE] Item upgrade configuration More...

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

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.
 
union { 
 
   int32_t   RequiredItem [8] = {} 
 
   struct { 
 
      int32_t   RequiredItem1 
 
      int32_t   RequiredItem2 
 
      int32_t   RequiredItem3 
 
      int32_t   RequiredItem4 
 
      int32_t   RequiredItem5 
 
      int32_t   RequiredItem6 
 
      int32_t   RequiredItem7 
 
      int32_t   RequiredItem8 
 
   }  
 
};  
 
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

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