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

[ITEM_EXCHANGE] Enables players to be able to give items in exchange for an item from an NPC More...

Public Types

using BinderType = ebenezer_binder::ItemExchange
 

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)
 
uint8_t RandomFlag = {}
 Column [bRandomFlag]: Random Flag.
 
union { 
 
   int32_t   OriginItemNumber [5] = {} 
 
   struct { 
 
      int32_t   OriginItemNumber1 
 
      int32_t   OriginItemNumber2 
 
      int32_t   OriginItemNumber3 
 
      int32_t   OriginItemNumber4 
 
      int32_t   OriginItemNumber5 
 
   }  
 
};  
 
union { 
 
   int16_t   OriginItemCount [5] = {} 
 
   struct { 
 
      int16_t   OriginItemCount1 
 
      int16_t   OriginItemCount2 
 
      int16_t   OriginItemCount3 
 
      int16_t   OriginItemCount4 
 
      int16_t   OriginItemCount5 
 
   }  
 
};  
 
union { 
 
   int32_t   ExchangeItemNumber [5] = {} 
 
   struct { 
 
      int32_t   ExchangeItemNumber1 
 
      int32_t   ExchangeItemNumber2 
 
      int32_t   ExchangeItemNumber3 
 
      int32_t   ExchangeItemNumber4 
 
      int32_t   ExchangeItemNumber5 
 
   }  
 
};  
 
union { 
 
   int16_t   ExchangeItemCount [5] = {} 
 
   struct { 
 
      int16_t   ExchangeItemCount1 
 
      int16_t   ExchangeItemCount2 
 
      int16_t   ExchangeItemCount3 
 
      int16_t   ExchangeItemCount4 
 
      int16_t   ExchangeItemCount5 
 
   }  
 
};  
 

Detailed Description

[ITEM_EXCHANGE] Enables players to be able to give items in exchange for an item from an NPC

GAME Database - Ebenezer Library
ITEM_EXCHANGE Enables players to be able to give items in exchange for an item from an NPC

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