1#ifndef EBENEZER_MODEL_EBENEZERMODEL_H
2#define EBENEZER_MODEL_EBENEZERMODEL_H
6#include <ModelUtil/ModelUtil.h>
11#include <unordered_set>
14namespace ebenezer_binder
53namespace ebenezer_model
78 static const std::unordered_set<std::string>&
ColumnNames();
84 static const std::unordered_set<std::string>&
BlobColumns();
90 static const std::vector<std::string>&
PrimaryKey();
93 const int16_t&
MapKey()
const;
185 static const std::unordered_set<std::string>&
ColumnNames();
191 static const std::unordered_set<std::string>&
BlobColumns();
197 static const std::vector<std::string>&
PrimaryKey();
200 const int16_t&
MapKey()
const;
237 static const std::unordered_set<std::string>&
ColumnNames();
243 static const std::unordered_set<std::string>&
BlobColumns();
249 static const std::vector<std::string>&
PrimaryKey();
252 const int32_t&
MapKey()
const;
309 static const std::unordered_set<std::string>&
ColumnNames();
315 static const std::unordered_set<std::string>&
BlobColumns();
321 static const std::vector<std::string>&
PrimaryKey();
358 static const std::unordered_set<std::string>&
ColumnNames();
364 static const std::unordered_set<std::string>&
BlobColumns();
370 static const std::vector<std::string>&
PrimaryKey();
373 const int32_t&
MapKey()
const;
495 static const std::unordered_set<std::string>&
ColumnNames();
501 static const std::unordered_set<std::string>&
BlobColumns();
507 static const std::vector<std::string>&
PrimaryKey();
510 const uint8_t&
MapKey()
const;
619 GroupWarriorMaster = 6,
621 GroupRogueMaster = 8,
623 GroupMageMaster = 10,
625 GroupPriestMaster = 12,
723 ScrollTransform2 = 2,
724 ScrollTransform3 = 3,
725 ScrollTransform4 = 4,
726 ScrollAccessory = 253,
729 UniqueAxe = 12050000,
730 UniqueSpear = 12070000,
731 UniqueBow = 12120000,
732 UniqueMace = 12130000,
733 UniqueStaff = 40000000
955 static const std::unordered_set<std::string>&
ColumnNames();
961 static const std::unordered_set<std::string>&
BlobColumns();
967 static const std::vector<std::string>&
PrimaryKey();
970 const int32_t&
MapKey()
const;
1050 static const std::unordered_set<std::string>&
ColumnNames();
1056 static const std::unordered_set<std::string>&
BlobColumns();
1062 static const std::vector<std::string>&
PrimaryKey();
1065 const int32_t&
MapKey()
const;
1137 static const std::unordered_set<std::string>&
ColumnNames();
1143 static const std::unordered_set<std::string>&
BlobColumns();
1149 static const std::vector<std::string>&
PrimaryKey();
1152 const int32_t&
MapKey()
const;
1268 std::optional<std::vector<uint8_t>>
Mark;
1289 static const std::unordered_set<std::string>&
ColumnNames();
1295 static const std::unordered_set<std::string>&
BlobColumns();
1301 static const std::vector<std::string>&
PrimaryKey();
1304 const int16_t&
MapKey()
const;
1341 static const std::unordered_set<std::string>&
ColumnNames();
1347 static const std::unordered_set<std::string>&
BlobColumns();
1353 static const std::vector<std::string>&
PrimaryKey();
1356 const int16_t&
MapKey()
const;
1393 static const std::unordered_set<std::string>&
ColumnNames();
1399 static const std::unordered_set<std::string>&
BlobColumns();
1405 static const std::vector<std::string>&
PrimaryKey();
1408 const int16_t&
MapKey()
const;
1445 static const std::unordered_set<std::string>&
ColumnNames();
1451 static const std::unordered_set<std::string>&
BlobColumns();
1457 static const std::vector<std::string>&
PrimaryKey();
1460 const int32_t&
MapKey()
const;
1667 static const std::unordered_set<std::string>&
ColumnNames();
1673 static const std::unordered_set<std::string>&
BlobColumns();
1679 static const std::vector<std::string>&
PrimaryKey();
1682 const int16_t&
MapKey()
const;
1709 static const std::unordered_set<std::string>&
ColumnNames();
1715 static const std::unordered_set<std::string>&
BlobColumns();
1721 static const std::vector<std::string>&
PrimaryKey();
1724 std::tuple<const int16_t&, const std::string&>
MapKey()
const;
1751 static const std::unordered_set<std::string>&
ColumnNames();
1757 static const std::unordered_set<std::string>&
BlobColumns();
1763 static const std::vector<std::string>&
PrimaryKey();
1766 const uint8_t&
MapKey()
const;
1888 static const std::unordered_set<std::string>&
ColumnNames();
1894 static const std::unordered_set<std::string>&
BlobColumns();
1900 static const std::vector<std::string>&
PrimaryKey();
1903 const int32_t&
MapKey()
const;
1980 static const std::unordered_set<std::string>&
ColumnNames();
1986 static const std::unordered_set<std::string>&
BlobColumns();
1992 static const std::vector<std::string>&
PrimaryKey();
1995 const int32_t&
MapKey()
const;
2056 static const std::unordered_set<std::string>&
ColumnNames();
2062 static const std::unordered_set<std::string>&
BlobColumns();
2068 static const std::vector<std::string>&
PrimaryKey();
2071 const int32_t&
MapKey()
const;
2150 static const std::unordered_set<std::string>&
ColumnNames();
2156 static const std::unordered_set<std::string>&
BlobColumns();
2162 static const std::vector<std::string>&
PrimaryKey();
2165 const int32_t&
MapKey()
const;
2344 static const std::unordered_set<std::string>&
ColumnNames();
2350 static const std::unordered_set<std::string>&
BlobColumns();
2356 static const std::vector<std::string>&
PrimaryKey();
2359 const int32_t&
MapKey()
const;
2408 static const std::unordered_set<std::string>&
ColumnNames();
2414 static const std::unordered_set<std::string>&
BlobColumns();
2420 static const std::vector<std::string>&
PrimaryKey();
2423 const int32_t&
MapKey()
const;
2555 static const std::unordered_set<std::string>&
ColumnNames();
2561 static const std::unordered_set<std::string>&
BlobColumns();
2567 static const std::vector<std::string>&
PrimaryKey();
2570 const int32_t&
MapKey()
const;
2656 static const std::unordered_set<std::string>&
ColumnNames();
2662 static const std::unordered_set<std::string>&
BlobColumns();
2668 static const std::vector<std::string>&
PrimaryKey();
2671 const int32_t&
MapKey()
const;
2724 static const std::unordered_set<std::string>&
ColumnNames();
2730 static const std::unordered_set<std::string>&
BlobColumns();
2736 static const std::vector<std::string>&
PrimaryKey();
2739 const int32_t&
MapKey()
const;
2816 static const std::unordered_set<std::string>&
ColumnNames();
2822 static const std::unordered_set<std::string>&
BlobColumns();
2828 static const std::vector<std::string>&
PrimaryKey();
2831 const int32_t&
MapKey()
const;
2878 static const std::unordered_set<std::string>&
ColumnNames();
2884 static const std::unordered_set<std::string>&
BlobColumns();
2890 static const std::vector<std::string>&
PrimaryKey();
2893 const int16_t&
MapKey()
const;
2960 static const std::unordered_set<std::string>&
ColumnNames();
2966 static const std::unordered_set<std::string>&
BlobColumns();
2972 static const std::vector<std::string>&
PrimaryKey();
2975 const int16_t&
MapKey()
const;
3057 static const std::unordered_set<std::string>&
ColumnNames();
3063 static const std::unordered_set<std::string>&
BlobColumns();
3069 static const std::vector<std::string>&
PrimaryKey();
3072 const int32_t&
MapKey()
const;
3099 static const std::unordered_set<std::string>&
ColumnNames();
3105 static const std::unordered_set<std::string>&
BlobColumns();
3111 static const std::vector<std::string>&
PrimaryKey();
3114 const int32_t&
MapKey()
const;
3186 static const std::unordered_set<std::string>&
ColumnNames();
3192 static const std::unordered_set<std::string>&
BlobColumns();
3198 static const std::vector<std::string>&
PrimaryKey();
3201 const int16_t&
MapKey()
const;
3238 static const std::unordered_set<std::string>&
ColumnNames();
3244 static const std::unordered_set<std::string>&
BlobColumns();
3250 static const std::vector<std::string>&
PrimaryKey();
3253 const int16_t&
MapKey()
const;
3290 static const std::unordered_set<std::string>&
ColumnNames();
3296 static const std::unordered_set<std::string>&
BlobColumns();
3302 static const std::vector<std::string>&
PrimaryKey();
3305 const int16_t&
MapKey()
const;
3332 static const std::unordered_set<std::string>&
ColumnNames();
3338 static const std::unordered_set<std::string>&
BlobColumns();
3344 static const std::vector<std::string>&
PrimaryKey();
3347 const int32_t&
MapKey()
const;
3404 static const std::unordered_set<std::string>&
ColumnNames();
3410 static const std::unordered_set<std::string>&
BlobColumns();
3416 static const std::vector<std::string>&
PrimaryKey();
3419 const int16_t&
MapKey()
const;
generated nanodbc column binder for ebenezer_model::Battle
Definition EbenezerBinder.h:58
generated nanodbc column binder for ebenezer_model::Coefficient
Definition EbenezerBinder.h:78
generated nanodbc column binder for ebenezer_model::CouponSerialList
Definition EbenezerBinder.h:137
generated nanodbc column binder for ebenezer_model::EventTrigger
Definition EbenezerBinder.h:201
generated nanodbc column binder for ebenezer_model::Event
Definition EbenezerBinder.h:163
generated nanodbc column binder for ebenezer_model::Home
Definition EbenezerBinder.h:227
generated nanodbc column binder for ebenezer_model::ItemExchange
Definition EbenezerBinder.h:489
generated nanodbc column binder for ebenezer_model::ItemUpgrade
Definition EbenezerBinder.h:572
generated nanodbc column binder for ebenezer_model::Item
Definition EbenezerBinder.h:304
generated nanodbc column binder for ebenezer_model::KnightsAlliance
Definition EbenezerBinder.h:720
generated nanodbc column binder for ebenezer_model::KnightsCape
Definition EbenezerBinder.h:746
generated nanodbc column binder for ebenezer_model::KnightsRating
Definition EbenezerBinder.h:772
generated nanodbc column binder for ebenezer_model::KnightsSiegeWarfare
Definition EbenezerBinder.h:798
generated nanodbc column binder for ebenezer_model::KnightsUser
Definition EbenezerBinder.h:926
generated nanodbc column binder for ebenezer_model::Knights
Definition EbenezerBinder.h:634
generated nanodbc column binder for ebenezer_model::LevelUp
Definition EbenezerBinder.h:946
generated nanodbc column binder for ebenezer_model::MagicType1
Definition EbenezerBinder.h:1043
generated nanodbc column binder for ebenezer_model::MagicType2
Definition EbenezerBinder.h:1087
generated nanodbc column binder for ebenezer_model::MagicType3
Definition EbenezerBinder.h:1122
generated nanodbc column binder for ebenezer_model::MagicType4
Definition EbenezerBinder.h:1163
generated nanodbc column binder for ebenezer_model::MagicType5
Definition EbenezerBinder.h:1261
generated nanodbc column binder for ebenezer_model::MagicType6
Definition EbenezerBinder.h:1287
generated nanodbc column binder for ebenezer_model::MagicType7
Definition EbenezerBinder.h:1370
generated nanodbc column binder for ebenezer_model::MagicType8
Definition EbenezerBinder.h:1420
generated nanodbc column binder for ebenezer_model::MagicType9
Definition EbenezerBinder.h:1449
generated nanodbc column binder for ebenezer_model::Magic
Definition EbenezerBinder.h:966
generated nanodbc column binder for ebenezer_model::MonsterChallengeSummonList
Definition EbenezerBinder.h:1531
generated nanodbc column binder for ebenezer_model::MonsterChallenge
Definition EbenezerBinder.h:1499
generated nanodbc column binder for ebenezer_model::RentalItem
Definition EbenezerBinder.h:1575
generated nanodbc column binder for ebenezer_model::ServerResource
Definition EbenezerBinder.h:1628
generated nanodbc column binder for ebenezer_model::StartPosition
Definition EbenezerBinder.h:1648
generated nanodbc column binder for ebenezer_model::UserKnightsRank
Definition EbenezerBinder.h:1695
generated nanodbc column binder for ebenezer_model::UserPersonalRank
Definition EbenezerBinder.h:1721
generated nanodbc column binder for ebenezer_model::WebpageAddress
Definition EbenezerBinder.h:1747
generated nanodbc column binder for ebenezer_model::ZoneInfo
Definition EbenezerBinder.h:1767
[BATTLE] Battle data for the game server
Definition EbenezerModel.h:59
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:6
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:43
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:49
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:59
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:23
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:13
int16_t Index
Column [sIndex]: Server Index.
Definition EbenezerModel.h:67
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:33
uint8_t Nation
Column [byNation]: Nation Identifier.
Definition EbenezerModel.h:72
[COEFFICIENT] Coefficient relationship between a character class, weapon types, and stats
Definition EbenezerModel.h:101
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:91
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:71
double HitRate
Column [Hitrate]: Hit Rate Coefficient.
Definition EbenezerModel.h:174
double HitPoint
Column [Hp]: Hit Point Coefficient.
Definition EbenezerModel.h:154
double ShortSword
Column [ShortSword]: Short Sword Coefficient.
Definition EbenezerModel.h:114
double ManaPoint
Column [Mp]: Mana Point Coefficient.
Definition EbenezerModel.h:159
double Armor
Column [Ac]: Armor Coefficient.
Definition EbenezerModel.h:169
double Staff
Column [Staff]: Staff Coefficient.
Definition EbenezerModel.h:144
double Pole
Column [Pole]: Polearm Coefficient.
Definition EbenezerModel.h:139
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:64
double Axe
Column [Axe]: Axe Coefficient.
Definition EbenezerModel.h:124
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:81
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:117
double Evasionrate
Column [Evasionrate]: Evasion Rate Coefficient.
Definition EbenezerModel.h:179
double Sp
Column [Sp]: Sp Coefficient.
Definition EbenezerModel.h:164
double Sword
Column [Sword]: Sword Coefficient.
Definition EbenezerModel.h:119
int16_t ClassId
Column [sClass]: ClassIdentifier.
Definition EbenezerModel.h:109
double Bow
Column [Bow]: Bow Coefficient.
Definition EbenezerModel.h:149
double Club
Column [Club]: Club Coefficient.
Definition EbenezerModel.h:129
double Spear
Column [Spear]: Spear Coefficient.
Definition EbenezerModel.h:134
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:101
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:107
[COUPON_SERIAL_LIST] Coupon Serial List
Definition EbenezerModel.h:208
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:175
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:159
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:129
int16_t ItemCount
Column [sItemCount]: Item Count.
Definition EbenezerModel.h:231
int32_t Index
Column [nIndex]: Index.
Definition EbenezerModel.h:216
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:122
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:165
std::string SerialNum
Column [strSerialNum]: Serial Number.
Definition EbenezerModel.h:221
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:139
int32_t ItemNumber
Column [nItemNum]: Item Number.
Definition EbenezerModel.h:226
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:149
[EVENT_TRIGGER] NPC Event Triggers
Definition EbenezerModel.h:329
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:269
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:239
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:249
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:285
uint8_t NpcType
Column [bNpcType]: NPC type.
Definition EbenezerModel.h:342
int16_t NpcId
Column [sNpcID]: NPC identifer.
Definition EbenezerModel.h:347
int32_t TriggerNumber
Column [nTriggerNum]: Trigger number.
Definition EbenezerModel.h:352
int32_t Index
Column [nIndex]: Index.
Definition EbenezerModel.h:337
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:232
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:275
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:259
[EVENT] Event Information
Definition EbenezerModel.h:260
std::string Execute3
Column [Exec3]: Execute 3.
Definition EbenezerModel.h:293
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:207
std::string Execute5
Column [Exec5]: Execute 5.
Definition EbenezerModel.h:303
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:197
uint8_t EventType
Column [Type]: Event Type.
Definition EbenezerModel.h:278
uint8_t ZoneNumber
Column [ZoneNum]: Zone Number.
Definition EbenezerModel.h:268
std::string Execute1
Column [Exec1]: Execute 1.
Definition EbenezerModel.h:283
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:180
std::string Execute4
Column [Exec4]: Execute 4.
Definition EbenezerModel.h:298
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:187
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:223
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:217
int16_t EventNumber
Column [EventNum]: Event Number.
Definition EbenezerModel.h:273
std::string Execute2
Column [Exec2]: Execute 2.
Definition EbenezerModel.h:288
[HOME] TODO Doc
Definition EbenezerModel.h:381
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:327
int32_t BattleZone2X
Column [BattleZone2X]: Battle Zone 2 X.
Definition EbenezerModel.h:474
uint8_t BattleZoneLZ
Column [BattleZoneLZ]: Battle Zone LZ.
Definition EbenezerModel.h:469
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:317
uint8_t ElmoZoneLX
Column [ElmoZoneLX]: Elmorad Zone LX.
Definition EbenezerModel.h:404
uint8_t FreeZoneLZ
Column [FreeZoneLZ]: Free Zone LZ.
Definition EbenezerModel.h:449
int32_t FreeZoneZ
Column [FreeZoneZ]: Free Zone Z.
Definition EbenezerModel.h:439
int32_t KarusZoneZ
Column [KarusZoneZ]: Karus Zone Z.
Definition EbenezerModel.h:419
uint8_t BattleZone2LX
Column [BattleZone2LX]: Battle Zone 2 LX.
Definition EbenezerModel.h:484
uint8_t ElmoZoneLZ
Column [ElmoZoneLZ]: Elmorad Zone LZ.
Definition EbenezerModel.h:409
uint8_t Nation
Column [Nation]: Nation Identifier.
Definition EbenezerModel.h:389
int32_t BattleZoneX
Column [BattleZoneX]: Battle Zone X.
Definition EbenezerModel.h:454
uint8_t BattleZoneLX
Column [BattleZoneLX]: Battle Zone LX.
Definition EbenezerModel.h:464
const uint8_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:343
int32_t BattleZoneZ
Column [BattleZoneZ]: Battle Zone Z.
Definition EbenezerModel.h:459
uint8_t BattleZone2LZ
Column [BattleZone2LZ]: Battle Zone 2 LZ.
Definition EbenezerModel.h:489
int32_t FreeZoneX
Column [FreeZoneX]: Free Zone X.
Definition EbenezerModel.h:434
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:307
int32_t BattleZone2Z
Column [BattleZone2Z]: Battle Zone 2 Z.
Definition EbenezerModel.h:479
uint8_t FreeZoneLX
Column [FreeZoneLX]: Free Zone LX.
Definition EbenezerModel.h:444
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:297
int32_t ElmoZoneX
Column [ElmoZoneX]: Elmorad Zone X.
Definition EbenezerModel.h:394
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:333
uint8_t KarusZoneLZ
Column [KarusZoneLZ]: Karus Zone LZ.
Definition EbenezerModel.h:429
int32_t KarusZoneX
Column [KarusZoneX]: Karus Zone X.
Definition EbenezerModel.h:414
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:290
int32_t ElmoZoneZ
Column [ElmoZoneZ]: Elmorad Zone Z.
Definition EbenezerModel.h:399
uint8_t KarusZoneLX
Column [KarusZoneLX]: Karus Zone LX.
Definition EbenezerModel.h:424
[ITEM_EXCHANGE] Enables players to be able to give items in exchange for an item from an NPC
Definition EbenezerModel.h:978
int32_t Index
Column [nIndex]: Index.
Definition EbenezerModel.h:986
uint8_t RandomFlag
Column [bRandomFlag]: Random Flag.
Definition EbenezerModel.h:996
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:406
int16_t ExchangeItemCount[5]
Array grouping for columns [nExchangeItemCount1] to [nExchangeItemCount5].
Definition EbenezerModel.h:1043
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:443
int16_t NpcNumber
Column [nNpcNum]: NPC identifier (K_NPC.sSid)
Definition EbenezerModel.h:991
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:413
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:449
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:459
int32_t ExchangeItemNumber[5]
Array grouping for columns [nExchangeItemNum1] to [nExchangeItemNum5].
Definition EbenezerModel.h:1031
int16_t OriginItemCount[5]
Array grouping for columns [nOriginItemCount1] to [nOriginItemCount5].
Definition EbenezerModel.h:1019
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:433
int32_t OriginItemNumber[5]
Array grouping for columns [nOriginItemNum1] to [nOriginItemNum5].
Definition EbenezerModel.h:1007
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:423
[ITEM_UPGRADE] Item upgrade configuration
Definition EbenezerModel.h:1073
int32_t Index
Column [nIndex]: Index.
Definition EbenezerModel.h:1081
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:507
int16_t NpcNumber
Column [nNPCNum]: NPC Identifier (K_NPC.sSid)
Definition EbenezerModel.h:1086
int16_t GiveItem
Column [nGiveItem]: Item acquired on successful upgrade.
Definition EbenezerModel.h:1131
int32_t RequiredCoins
Column [nReqNoah]: Coins required to upgrade.
Definition EbenezerModel.h:1116
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:501
int32_t RequiredItem[8]
Array grouping for columns [nReqItem1] to [nReqItem8].
Definition EbenezerModel.h:1110
int16_t OriginItem
Column [nOriginItem]: Origin Item.
Definition EbenezerModel.h:1096
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:517
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:471
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:464
int16_t OriginType
Column [nOriginType]: Origin Type.
Definition EbenezerModel.h:1091
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:491
uint8_t RateType
Column [bRateType]: Rate type.
Definition EbenezerModel.h:1121
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:481
int16_t GenRate
Column [nGenRate]: Upgrade success rate.
Definition EbenezerModel.h:1126
[ITEM] Item information
Definition EbenezerModel.h:518
uint8_t HpDrain
Column [HPDrain]: Percent of damage recovered as health.
Definition EbenezerModel.h:864
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:348
int16_t Delay
Column [Delay]: Animation windup time before activation.
Definition EbenezerModel.h:660
int16_t Armor
Column [Ac]: Amount contributed to armor value, when equipped.
Definition EbenezerModel.h:690
uint8_t PoisonDamage
Column [PoisonDamage]: Poison damage.
Definition EbenezerModel.h:859
uint8_t MirrorDamage
Column [MirrorDamage]: Percent of damage reflected to attacker.
Definition EbenezerModel.h:879
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:401
uint8_t RequiredStamina
Column [ReqSta]: Stamina required to use item.
Definition EbenezerModel.h:774
int16_t StrengthBonus
Column [StrB]: Strength bonus when item equipped.
Definition EbenezerModel.h:889
int16_t Damage
Column [Damage]: Physical damage.
Definition EbenezerModel.h:655
int16_t IntelligenceBonus
Column [IntelB]: Intelligence bonus when item equipped.
Definition EbenezerModel.h:904
int16_t AxeArmor
Column [AxeAc]: Axe defense modifier.
Definition EbenezerModel.h:829
int16_t DexterityBonus
Column [DexB]: Dexterity bonus when item equipped.
Definition EbenezerModel.h:899
int32_t SellPrice
Column [SellPrice]: Price at which item can be sold to a merchant.
Definition EbenezerModel.h:685
EnumSpecialEffect
Known valid values for Effect2.
Definition EbenezerModel.h:721
int16_t Weight
Column [Weight]: Weight.
Definition EbenezerModel.h:670
int32_t MagicEffect
Column [Effect1]: Magic effect in MAGIC.MagicNum.
Definition EbenezerModel.h:710
int32_t SpecialEffect
Column [Effect2]: Special Effect.
Definition EbenezerModel.h:716
int16_t LightningResist
Column [LightningR]: Lightning resistance.
Definition EbenezerModel.h:934
EnumRace
Known valid values for Race.
Definition EbenezerModel.h:597
uint8_t DropRate
Column [Droprate]: TODO: Unused? Drop rates dictated by K_NPC_ITEM.
Definition EbenezerModel.h:884
uint8_t Type
Column [ItemType]: Item grade.
Definition EbenezerModel.h:799
int16_t ColdResist
Column [ColdR]: Cold resistance.
Definition EbenezerModel.h:929
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:375
uint8_t MpDrain
Column [MPDrain]: Percent of damage recovered as mana.
Definition EbenezerModel.h:874
uint8_t Slot
Column [Slot]: slot this item equips to.
Definition EbenezerModel.h:565
uint8_t RequiredCharisma
Column [ReqCha]: Charisma required to use item.
Definition EbenezerModel.h:789
int16_t CharismaBonus
Column [ChaB]: Charisma bonus when item equipped.
Definition EbenezerModel.h:909
uint8_t MinLevel
Column [ReqLevel]: Minimum level required to use item.
Definition EbenezerModel.h:739
int16_t MagicResist
Column [MagicR]: Magic resistance.
Definition EbenezerModel.h:939
uint8_t RequiredDexterity
Column [ReqDex]: Dexterity required to use item.
Definition EbenezerModel.h:779
int16_t Range
Column [Range]: Maximum distance from a target before item cannot activate.
Definition EbenezerModel.h:665
int16_t MaxMpBonus
Column [MaxMpB]: Maximum mana bonus when item equipped.
Definition EbenezerModel.h:919
EnumClassId
Known valid values for Class.
Definition EbenezerModel.h:612
int16_t MaceArmor
Column [MaceAc]: Mace defense modifier.
Definition EbenezerModel.h:824
int16_t BowArmor
Column [BowAc]: Bow defense modifier.
Definition EbenezerModel.h:839
uint8_t RequiredStrength
Column [ReqStr]: Strength required to use item.
Definition EbenezerModel.h:769
int16_t PoisonResist
Column [PoisonR]: Poison resistance.
Definition EbenezerModel.h:944
int16_t SwordArmor
Column [SwordAc]: Sword defense modifier.
Definition EbenezerModel.h:819
uint8_t RequiredIntelligence
Column [ReqIntel]: Intelligence required to use item.
Definition EbenezerModel.h:784
EnumRequiredTitle
Known valid values for ReqTitle.
Definition EbenezerModel.h:755
uint8_t IceDamage
Column [IceDamage]: Ice damage.
Definition EbenezerModel.h:849
std::string Name
Column [strName]: Item name.
Definition EbenezerModel.h:531
uint8_t Kind
Column [Kind]: Item kind.
Definition EbenezerModel.h:537
uint8_t RequiredRank
Column [ReqRank]: Rank required to use item.
Definition EbenezerModel.h:744
int16_t FireResist
Column [FireR]: Fire resistance.
Definition EbenezerModel.h:924
int16_t HitRate
Column [Hitrate]: Attack power modifier.
Definition EbenezerModel.h:804
int16_t StaminaBonus
Column [StaB]: Stamina bonus when item equipped.
Definition EbenezerModel.h:894
uint8_t LightningDamage
Column [LightningDamage]: Lightning damage.
Definition EbenezerModel.h:854
int16_t Durability
Column [Duration]: Durability.
Definition EbenezerModel.h:675
int16_t DaggerArmor
Column [DaggerAc]: Dagger defense modifier.
Definition EbenezerModel.h:814
EnumKind
Known valid values for Kind.
Definition EbenezerModel.h:542
int16_t MaxHpBonus
Column [MaxHpB]: Maximum health bonus when item equipped.
Definition EbenezerModel.h:914
uint8_t Countable
Column [Countable]: Price at which item can be sold to a merchant.
Definition EbenezerModel.h:696
uint8_t FireDamage
Column [FireDamage]: Fire damage.
Definition EbenezerModel.h:844
int32_t ID
Column [Num]: Item number.
Definition EbenezerModel.h:526
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:391
int16_t SpearArmor
Column [SpearAc]: Spear defense modifier.
Definition EbenezerModel.h:834
uint8_t RequiredTitle
Column [ReqTitle]: Title required to use item.
Definition EbenezerModel.h:750
uint8_t Race
Column [Race]: usable by race.
Definition EbenezerModel.h:592
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:365
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:385
int16_t CurseResist
Column [CurseR]: Curse resistance.
Definition EbenezerModel.h:949
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:355
EnumCountable
Known valid values for Countable.
Definition EbenezerModel.h:701
int16_t EvasionRate
Column [Evasionrate]: Dodge chance modifier.
Definition EbenezerModel.h:809
uint8_t MpDamage
Column [MPDamage]: Percent of damage dealt to target mana.
Definition EbenezerModel.h:869
EnumSlot
Known valid values for Slot.
Definition EbenezerModel.h:570
int32_t BuyPrice
Column [BuyPrice]: Price at which item can be bought from a merchant.
Definition EbenezerModel.h:680
uint8_t SellingGroup
Column [SellingGroup]: NPC Selling Group.
Definition EbenezerModel.h:794
uint8_t ClassId
Column [Class]: usable by class.
Definition EbenezerModel.h:607
[KNIGHTS_ALLIANCE] Knights alliance formations
Definition EbenezerModel.h:1312
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:623
int16_t MercenaryClan1
Column [sMercenaryClan_1]: Mercenary clan 1.
Definition EbenezerModel.h:1330
int16_t MercenaryClan2
Column [sMercenaryClan_2]: Mercenary clan 2.
Definition EbenezerModel.h:1335
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:587
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:607
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:633
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:617
int16_t MainAllianceKnights
Column [sMainAllianceKnights]: Alliance leader clan.
Definition EbenezerModel.h:1320
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:580
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:597
int16_t SubAllianceKnights
Column [sSubAllianceKnights]: Second Knights group.
Definition EbenezerModel.h:1325
[KNIGHTS_CAPE] Knights cape information
Definition EbenezerModel.h:1364
uint8_t Grade
Column [byGrade]: Required grade.
Definition EbenezerModel.h:1387
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:645
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:691
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:681
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:675
int32_t BuyPrice
Column [nBuyPrice]: Buy price.
Definition EbenezerModel.h:1377
int16_t CapeIndex
Column [sCapeIndex]: Cape identifier.
Definition EbenezerModel.h:1372
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:655
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:665
int32_t Duration
Column [nDuration]: Duration TODO.
Definition EbenezerModel.h:1382
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:638
[KNIGHTS_RATING] Knights Ratings
Definition EbenezerModel.h:1416
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:703
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:713
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:739
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:696
std::string Name
Column [strName]: Knights name.
Definition EbenezerModel.h:1434
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:733
int16_t Index
Column [shIndex]: Knights identifier.
Definition EbenezerModel.h:1429
int32_t Rank
Column [nRank]: Rank.
Definition EbenezerModel.h:1424
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:749
int32_t Points
Column [nPoints]: National points.
Definition EbenezerModel.h:1439
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:723
[KNIGHTS_SIEGE_WARFARE] Knights Siege Warfare
Definition EbenezerModel.h:1468
int16_t RequestList4
Column [sRequestList_4]: Request list 4.
Definition EbenezerModel.h:1631
int16_t ChallengeList4
Column [sChallengeList_4]: Challenge list 4.
Definition EbenezerModel.h:1521
int32_t DelosTax
Column [nDellosTax]: Delos tax.
Definition EbenezerModel.h:1611
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:771
int16_t RequestList8
Column [sRequestList_8]: Request list 8.
Definition EbenezerModel.h:1651
int16_t ChallengeList9
Column [sChallengeList_9]: Challenge list 9.
Definition EbenezerModel.h:1546
std::optional< std::vector< uint8_t > > ChallengeList
Column [strChallengeList]: Challenge list.
Definition EbenezerModel.h:1586
int16_t ChallengeList3
Column [sChallengeList_3]: Challenge list 3.
Definition EbenezerModel.h:1516
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:781
int16_t RequestList7
Column [sRequestList_7]: Request list 7.
Definition EbenezerModel.h:1646
int16_t ChallengeList10
Column [sChallengeList_10]: Challenge list 10.
Definition EbenezerModel.h:1551
uint8_t WarRequestDay
Column [byWarRequestDay]: War request day.
Definition EbenezerModel.h:1556
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:754
int16_t MasterKnights
Column [sMasterKnights]: Master knights TODO.
Definition EbenezerModel.h:1481
int16_t CastleIndex
Column [sCastleIndex]: Castle index TODO.
Definition EbenezerModel.h:1476
uint8_t WarDay
Column [byWarDay]: War day.
Definition EbenezerModel.h:1491
int16_t RequestList10
Column [sRequestList_10]: Request list 10.
Definition EbenezerModel.h:1661
int16_t ChallengeList7
Column [sChallengeList_7]: Challenge list 7.
Definition EbenezerModel.h:1536
uint8_t GuerrillaWarDay
Column [byGuerrillaWarDay]: Guerrilla war day.
Definition EbenezerModel.h:1571
int16_t RequestList6
Column [sRequestList_6]: Request list 6.
Definition EbenezerModel.h:1641
int16_t ChallengeList2
Column [sChallengeList_2]: Challenge list 2.
Definition EbenezerModel.h:1511
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:807
int16_t ChallengeList6
Column [sChallengeList_6]: Challenge list 6.
Definition EbenezerModel.h:1531
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:797
int16_t RequestList2
Column [sRequestList_2]: Request list 2.
Definition EbenezerModel.h:1621
uint8_t GuerrillaWarMinute
Column [byGuerrillaWarMinute]: Guerrilla war minute.
Definition EbenezerModel.h:1581
int16_t DelosTariff
Column [sDellosTariff]: Delos tariff.
Definition EbenezerModel.h:1596
int16_t RequestList9
Column [sRequestList_9]: Request list 9.
Definition EbenezerModel.h:1656
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:791
int16_t RequestList5
Column [sRequestList_5]: Request list 5.
Definition EbenezerModel.h:1636
uint8_t SiegeType
Column [bySiegeType]: Siege type TODO.
Definition EbenezerModel.h:1486
int16_t RequestList1
Column [sRequestList_1]: Request list 1.
Definition EbenezerModel.h:1616
int16_t MoradonTariff
Column [sMoradonTariff]: Moradon tariff.
Definition EbenezerModel.h:1591
int32_t DungeonCharge
Column [nDungeonCharge]: Dungeon charge.
Definition EbenezerModel.h:1601
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:761
int16_t RequestList3
Column [sRequestList_3]: Request list 3.
Definition EbenezerModel.h:1626
uint8_t WarRequestMinute
Column [byWarRequestMinute]: War request minute.
Definition EbenezerModel.h:1566
int16_t ChallengeList8
Column [sChallengeList_8]: Challenge list 8.
Definition EbenezerModel.h:1541
uint8_t WarMinute
Column [byWarMinute]: War minute.
Definition EbenezerModel.h:1501
int16_t ChallengeList5
Column [sChallengeList_5]: Challenge list 5.
Definition EbenezerModel.h:1526
int16_t ChallengeList1
Column [sChallengeList_1]: Challenge list 1.
Definition EbenezerModel.h:1506
uint8_t WarRequestTime
Column [byWarRequestTime]: War request time.
Definition EbenezerModel.h:1561
uint8_t GuerrillaWarTime
Column [byGuerrillaWarTime]: Guerrilla war time.
Definition EbenezerModel.h:1576
int32_t MoradonTax
Column [nMoradonTax]: Moradon tax.
Definition EbenezerModel.h:1606
uint8_t WarHour
Column [byWarTime]: War hour.
Definition EbenezerModel.h:1496
[KNIGHTS_USER] Knights to character relationships
Definition EbenezerModel.h:1690
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:819
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:812
std::string UserId
Column [strUserID]: Character Identifier.
Definition EbenezerModel.h:1703
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:839
std::tuple< const int16_t &, const std::string & > MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:865
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:849
int16_t KnightsId
Column [sIDNum]: Knights identifier.
Definition EbenezerModel.h:1698
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:855
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:829
[KNIGHTS] Knights are the clan/guild system of the game
Definition EbenezerModel.h:1160
uint8_t Ranking
Column [Ranking]: Ranking by sum of members National Points.
Definition EbenezerModel.h:1183
int16_t Domination
Column [Domination]: Domination TODO.
Definition EbenezerModel.h:1248
int16_t AllianceKnights
Column [sAllianceKnights]: Alliance Knights TODO.
Definition EbenezerModel.h:1278
int32_t Lose
Column [nLose]: Lose TODO.
Definition EbenezerModel.h:1238
int64_t Gold
Column [Gold]: Gold.
Definition EbenezerModel.h:1243
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:549
std::optional< std::string > ViceChief3
Column [ViceChief_3]: Vice chief 3 character identifier.
Definition EbenezerModel.h:1213
int32_t Points
Column [Points]: National points.
Definition EbenezerModel.h:1253
std::string Name
Column [IDName]: Name of the Knights clan.
Definition EbenezerModel.h:1188
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:575
std::optional< std::string > EnemyName
Column [strEnemyName]: Enemy Name TODO.
Definition EbenezerModel.h:1218
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:565
int16_t MarkLength
Column [sMarkLen]: Mark length.
Definition EbenezerModel.h:1263
std::optional< std::vector< uint8_t > > Mark
Column [Mark]: Mark image.
Definition EbenezerModel.h:1268
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:529
int32_t WarEnemyId
Column [nWarEnemyID]: War enemy identifier.
Definition EbenezerModel.h:1228
int16_t MarkVersion
Column [sMarkVersion]: Mark version.
Definition EbenezerModel.h:1258
std::string Chief
Column [Chief]: Leader character identifier.
Definition EbenezerModel.h:1198
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:522
uint8_t Nation
Column [Nation]: Nation identifier.
Definition EbenezerModel.h:1178
int32_t Victory
Column [nVictory]: Victory TODO.
Definition EbenezerModel.h:1233
int16_t ID
Column [IDNum]: Identification number.
Definition EbenezerModel.h:1168
uint8_t Flag
Column [Flag]: Flag TODO.
Definition EbenezerModel.h:1173
std::optional< std::string > ViceChief2
Column [ViceChief_2]: Vice chief 2 character identifier.
Definition EbenezerModel.h:1208
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:559
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:539
uint8_t SiegeFlag
Column [bySiegeFlag]: Siege flag.
Definition EbenezerModel.h:1273
uint8_t OldWarResult
Column [byOldWarResult]: Old war result.
Definition EbenezerModel.h:1223
std::optional< std::string > ViceChief1
Column [ViceChief_1]: Vice chief 1 character identifier.
Definition EbenezerModel.h:1203
int16_t Cape
Column [sCape]: Cape identifier.
Definition EbenezerModel.h:1283
int16_t Members
Column [Members]: Member count.
Definition EbenezerModel.h:1193
[LEVEL_UP] Level experience requirements
Definition EbenezerModel.h:1732
uint8_t Level
Column [level]: Level.
Definition EbenezerModel.h:1740
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:913
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:887
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:870
int32_t RequiredExp
Column [Exp]: Experience required to advance to the next level.
Definition EbenezerModel.h:1745
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:897
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:877
const uint8_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:923
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:907
[MAGIC_TYPE1] Supports melee abilities
Definition EbenezerModel.h:1911
int32_t ID
Column [iNum]: Magic identification number.
Definition EbenezerModel.h:1919
int16_t ComboDamage
Column [ComboDamage]: Combo damage multiplier.
Definition EbenezerModel.h:1969
int16_t Range
Column [Range]: Maximum distance to target.
Definition EbenezerModel.h:1974
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1003
int16_t DamageMod
Column [Hit]: Hit damage modifier - 100 is normal.
Definition EbenezerModel.h:1944
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1013
int16_t AddDamage
Column [AddDamage]: Additional flat damage caused by ability.
Definition EbenezerModel.h:1949
uint8_t Delay
Column [Delay]: Delay TODO.
Definition EbenezerModel.h:1954
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1029
EnumType
Known valid values for Type.
Definition EbenezerModel.h:1930
@ Normal
Subject to all normal defence checks.
Definition EbenezerModel.h:1931
@ IgnoreDefense
Ability ignores defense.
Definition EbenezerModel.h:1933
@ AlwaysHit
Ability always hits.
Definition EbenezerModel.h:1932
uint8_t Type
Column [Type]: Attack special type.
Definition EbenezerModel.h:1925
uint8_t ComboCount
Column [ComboCount]: Combo count TODO.
Definition EbenezerModel.h:1964
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1039
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:986
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1023
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:993
int16_t HitRateMod
Column [HitRate]: Hit chance modifier - 100 is normal.
Definition EbenezerModel.h:1939
uint8_t ComboType
Column [ComboType]: Combo type TODO.
Definition EbenezerModel.h:1959
[MAGIC_TYPE2] Supports bow abilities
Definition EbenezerModel.h:2003
int32_t ID
Column [iNum]: Magic identification number.
Definition EbenezerModel.h:2011
uint8_t HitType
Column [HitType]: Projectile type.
Definition EbenezerModel.h:2017
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1044
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1061
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1051
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1097
int16_t DamageMod
Column [AddDamage]: Hit damage modifier - 100 is normal.
Definition EbenezerModel.h:2035
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1071
int16_t RangeMod
Column [AddRange]: Range modifier - 100 is normal.
Definition EbenezerModel.h:2040
EnumHitType
Known valid values for HitType.
Definition EbenezerModel.h:2022
@ Normal
Fire and forget targeting.
Definition EbenezerModel.h:2023
@ Seeking
Projectile follows target and always hits (unless blocked by collision)
Definition EbenezerModel.h:2024
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1087
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1081
int16_t AddDamagePlus
Column [AddDamagePlus]: Additional flat damage caused by ability.
Definition EbenezerModel.h:2050
uint8_t NeedArrow
Column [NeedArrow]: Number of arrows needed for ability.
Definition EbenezerModel.h:2045
int16_t HitRateMod
Column [HitRate]: Hit chance modifier - 100 is normal.
Definition EbenezerModel.h:2030
[MAGIC_TYPE3] Supports Area of Effect and Damage over Time effects
Definition EbenezerModel.h:2079
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1102
uint8_t Duration
Column [Duration]: Duration of damage over time effects.
Definition EbenezerModel.h:2139
int32_t ID
Column [iNum]: Magic identification number.
Definition EbenezerModel.h:2087
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1155
uint8_t DirectType
Column [DirectType]: Damage calculation type.
Definition EbenezerModel.h:2103
int16_t Angle
Column [Angle]: Angle seems unused/unimplemented TODO.
Definition EbenezerModel.h:2097
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1139
int16_t FirstDamage
Column [FirstDamage]: Damage applied on hit.
Definition EbenezerModel.h:2124
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1109
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1129
uint8_t Attribute
Column [Attribute]: Attribute TODO.
Definition EbenezerModel.h:2144
EnumDirectType
Known valid values for DirectType.
Definition EbenezerModel.h:2108
@ FlatDurability
Flat damage applied to durability.
Definition EbenezerModel.h:2112
@ Unknown11
TODO: Used by 220011.
Definition EbenezerModel.h:2116
@ Unknown0
TODO: Used by some 300000+ DoT abilities.
Definition EbenezerModel.h:2109
@ Unknown255
TODO: Used by 501011.
Definition EbenezerModel.h:2118
@ FlatMana
Flat damage against mana.
Definition EbenezerModel.h:2111
@ Unknown5
TODO: Used by some 400000+ abilities.
Definition EbenezerModel.h:2113
@ PercentHp
Deals damage relative to targets current health.
Definition EbenezerModel.h:2115
@ FlatHp
Flat damage against health.
Definition EbenezerModel.h:2110
@ AbsorbHp
Absorbs health from target.
Definition EbenezerModel.h:2114
@ Unknown12
TODO: Used by 490402.
Definition EbenezerModel.h:2117
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1119
uint8_t Radius
Column [Radius]: Area of effect circle radius.
Definition EbenezerModel.h:2092
int16_t TimeDamage
Column [TimeDamage]: Total damage dealt over Duration.
Definition EbenezerModel.h:2134
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1145
int16_t EndDamage
Column [EndDamage]: Damage taken at end of effect.
Definition EbenezerModel.h:2129
[MAGIC_TYPE4] Supports stat modification skills
Definition EbenezerModel.h:2173
uint8_t Radius
Column [Radius]: Area of effect circle radius.
Definition EbenezerModel.h:2213
uint8_t AttackPower
Column [Attack]: Attack power modifier.
Definition EbenezerModel.h:2243
int16_t ArmorPercent
Column [ACPct]: Armor percent modifier.
Definition EbenezerModel.h:2238
uint8_t FireResist
Column [FireR]: Fire resistance.
Definition EbenezerModel.h:2308
uint8_t HitRate
Column [HitRate]: Hit chance multiplier.
Definition EbenezerModel.h:2273
uint8_t BuffType
Column [BuffType]: Buff type.
Definition EbenezerModel.h:2187
int16_t Intelligence
Column [Intel]: Intelligence modifier.
Definition EbenezerModel.h:2298
int16_t Dexterity
Column [Dex]: Dexterity modifier.
Definition EbenezerModel.h:2293
uint8_t ExpPercent
Column [ExpPct]: Experience percentage modifier.
Definition EbenezerModel.h:2338
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1213
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1167
uint8_t PoisonResist
Column [PoisonR]: Poison resistance.
Definition EbenezerModel.h:2333
int16_t MaxHp
Column [MaxHP]: Maximum health modifier.
Definition EbenezerModel.h:2253
int16_t MaxMpPercent
Column [MaxMpPct]: Maximum mana percent modifier.
Definition EbenezerModel.h:2268
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1160
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1187
int16_t Charisma
Column [Cha]: Charisma modifier.
Definition EbenezerModel.h:2303
int16_t AvoidRate
Column [AvoidRate]: Evasion chance multiplier.
Definition EbenezerModel.h:2278
int16_t Duration
Column [Duration]: Effect duration.
Definition EbenezerModel.h:2218
int32_t ID
Column [iNum]: Magic identification number.
Definition EbenezerModel.h:2181
int16_t MaxHpPercent
Column [MaxHpPct]: Maximum health percent modifier.
Definition EbenezerModel.h:2258
uint8_t MagicPower
Column [MagicAttack]: Magic power modifier.
Definition EbenezerModel.h:2248
int16_t MaxMp
Column [MaxMP]: Maximum mana modifier.
Definition EbenezerModel.h:2263
uint8_t MagicResist
Column [MagicR]: Magic resistance.
Definition EbenezerModel.h:2323
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1177
uint8_t LightningResist
Column [LightningR]: Lightning resistance.
Definition EbenezerModel.h:2318
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1197
int16_t Armor
Column [AC]: Armor modifier.
Definition EbenezerModel.h:2233
uint8_t ColdResist
Column [ColdR]: Cold resistance.
Definition EbenezerModel.h:2313
uint8_t DiseaseResist
Column [DiseaseR]: Disease resistance.
Definition EbenezerModel.h:2328
int16_t Stamina
Column [Sta]: Stamina modifier.
Definition EbenezerModel.h:2288
uint8_t AttackSpeed
Column [AttackSpeed]: Attack speed modifier - 100 is normal.
Definition EbenezerModel.h:2223
EnumBuffType
Known valid values for BuffType.
Definition EbenezerModel.h:2192
@ Experience
Experience modifier.
Definition EbenezerModel.h:2204
@ Stats
Stat modifiers.
Definition EbenezerModel.h:2200
@ WeaponEnchant
Weapon damage enchant effect.
Definition EbenezerModel.h:2206
@ MovementSpeed
Movement speed modifiers.
Definition EbenezerModel.h:2199
@ Size
Affects target size.
Definition EbenezerModel.h:2196
@ Weight
Experience modifier.
Definition EbenezerModel.h:2205
@ Resistance
Resistance modifiers.
Definition EbenezerModel.h:2201
@ HealthMana
Maximum health/mana buffs.
Definition EbenezerModel.h:2194
@ ArmorEnchant
Armor enchant effect.
Definition EbenezerModel.h:2207
@ HitChance
Hit Chance modifier.
Definition EbenezerModel.h:2202
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1203
uint8_t Speed
Column [Speed]: Movement speed modifier - 100 is normal.
Definition EbenezerModel.h:2228
int16_t Strength
Column [Str]: Strength modifier.
Definition EbenezerModel.h:2283
[MAGIC_TYPE5] Supports recovery skills
Definition EbenezerModel.h:2367
int16_t NeedStone
Column [NeedStone]: Resurrection stones required.
Definition EbenezerModel.h:2402
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1261
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1218
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1255
uint8_t Type
Column [Type]: Type.
Definition EbenezerModel.h:2381
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1225
int32_t ID
Column [iNum]: Magic number identifier.
Definition EbenezerModel.h:2375
EnumType
Known valid values for Type.
Definition EbenezerModel.h:2386
@ Resurrection
Ability ignores defense.
Definition EbenezerModel.h:2389
@ CureCurse
Remove curses.
Definition EbenezerModel.h:2388
@ Unknown5
TODO: 300133 only record using it.
Definition EbenezerModel.h:2391
@ CureDisease
Removes diseases.
Definition EbenezerModel.h:2387
@ Resurrection4
Not sure how it differs from 3 other than it being triggered from an item.
Definition EbenezerModel.h:2390
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1271
uint8_t ExpRecover
Column [ExpRecover]: Percent of experience loss recovered.
Definition EbenezerModel.h:2397
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1235
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1245
[MAGIC_TYPE6] Supports transformation magic
Definition EbenezerModel.h:2431
int32_t ID
Column [iNum]: Magic identification number.
Definition EbenezerModel.h:2439
int16_t TotalFireResist
Column [TotalFireR]: Total fire resistance.
Definition EbenezerModel.h:2499
int16_t TotalMagicResist
Column [TotalMagicR]: Total magic resistance.
Definition EbenezerModel.h:2514
int16_t TotalEvasionRate
Column [TotalEvasionRate]: Total evasion rate.
Definition EbenezerModel.h:2494
uint8_t NeedItem
Column [NeedItem]: Needs item.
Definition EbenezerModel.h:2539
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1303
int16_t TotalLightningResist
Column [TotalLightningR]: Total lightning resistance.
Definition EbenezerModel.h:2509
int16_t TotalColdResist
Column [TotalColdR]: Total cold resistance.
Definition EbenezerModel.h:2504
uint8_t UserSkillUse
Column [UserSkillUse]: User skill use TODO - allow skill use?
Definition EbenezerModel.h:2534
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1283
int16_t TotalPoisonResist
Column [TotalPoisonR]: Total poison resistance.
Definition EbenezerModel.h:2524
int16_t TransformId
Column [TransformID]: Transformation picture identifier (K_NPC.sPid)
Definition EbenezerModel.h:2449
uint8_t Speed
Column [Speed]: Movement speed.
Definition EbenezerModel.h:2469
int16_t TotalArmor
Column [TotalAc]: Total armor.
Definition EbenezerModel.h:2484
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1293
int16_t TotalDiseaseResist
Column [TotalDiseaseR]: Total disease resistance.
Definition EbenezerModel.h:2519
int16_t MaxHp
Column [MaxHp]: Maximum health.
Definition EbenezerModel.h:2459
uint8_t SkillSuccessRate
Column [SkillSuccessRate]: Skill success rate.
Definition EbenezerModel.h:2544
int16_t TotalHitRate
Column [TotalHitRate]: Total hit rate.
Definition EbenezerModel.h:2489
int16_t Size
Column [Size]: Size modifier.
Definition EbenezerModel.h:2444
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1329
int16_t Class
Column [Class]: Class.
Definition EbenezerModel.h:2529
int16_t AttackSpeed
Column [AttackSpeed]: Attack speed.
Definition EbenezerModel.h:2474
int16_t TotalHit
Column [TotalHit]: Total hit.
Definition EbenezerModel.h:2479
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1319
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1313
int16_t Duration
Column [Duration]: Duration.
Definition EbenezerModel.h:2454
int16_t MaxMp
Column [MaxMp]: Maximum mana.
Definition EbenezerModel.h:2464
uint8_t MonsterFriendly
Column [MonsterFriendly]: Do monsters ignore the player while transformed?
Definition EbenezerModel.h:2549
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1276
[MAGIC_TYPE7] Supports targeting modifications
Definition EbenezerModel.h:2578
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1361
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1351
uint8_t TargetChange
Column [byTargetChange]: Monster target mode change.
Definition EbenezerModel.h:2607
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1387
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1377
int16_t Duration
Column [shDuration]: Duration.
Definition EbenezerModel.h:2635
uint8_t Radius
Column [byRadius]: Area of effect circle radius.
Definition EbenezerModel.h:2625
uint8_t StateChange
Column [byStateChange]: State change.
Definition EbenezerModel.h:2620
uint8_t ValidGroup
Column [byValidGroup]: Valid group.
Definition EbenezerModel.h:2591
int16_t HitRate
Column [shHitrate]: Hit rate.
Definition EbenezerModel.h:2630
uint8_t Vision
Column [byVisoin]: Vision.
Definition EbenezerModel.h:2645
uint8_t NationChange
Column [byNatoinChange]: Nation change.
Definition EbenezerModel.h:2596
EnumTargetChange
Known valid values for byTargetChange.
Definition EbenezerModel.h:2612
@ Sleep
Target gets put to sleep.
Definition EbenezerModel.h:2614
@ Provoke
Target will target attacker.
Definition EbenezerModel.h:2613
int16_t Damage
Column [shDamage]: Damage.
Definition EbenezerModel.h:2640
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1341
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1334
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1371
int16_t MonsterNumber
Column [shMonsterNum]: Monster number.
Definition EbenezerModel.h:2601
int32_t ID
Column [nIndex]: Magic identification number.
Definition EbenezerModel.h:2586
int32_t NeedItem
Column [nNeedItem]: Needs item.
Definition EbenezerModel.h:2650
[MAGIC_TYPE8] Supports warp magic
Definition EbenezerModel.h:2679
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1392
uint8_t Target
Column [Target]: Target.
Definition EbenezerModel.h:2692
uint8_t WarpType
Column [WarpType]: Warp type.
Definition EbenezerModel.h:2703
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1399
EnumWarpType
Known valid values for WarpType.
Definition EbenezerModel.h:2708
@ SummonMonster
TODO.
Definition EbenezerModel.h:2711
@ TeleportToFriendly
Teleports to a party member.
Definition EbenezerModel.h:2712
@ Gate
Teleport to saved gate.
Definition EbenezerModel.h:2709
@ SummonFriendly
Summons friendly player(s)
Definition EbenezerModel.h:2710
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1435
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1445
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1429
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1409
int32_t ID
Column [iNum]: Magic identification number.
Definition EbenezerModel.h:2687
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1419
int16_t Radius
Column [Radius]: Radius.
Definition EbenezerModel.h:2697
int16_t ExpRecover
Column [ExpRecover]: Experience recovery.
Definition EbenezerModel.h:2718
[MAGIC_TYPE9] Supports stealth and detection abilities
Definition EbenezerModel.h:2747
int16_t Vision
Column [Vision]: Vision.
Definition EbenezerModel.h:2805
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1457
int16_t AddDamage
Column [AddDamage]: AddDamage.
Definition EbenezerModel.h:2800
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1467
uint8_t TargetChange
Column [TargetChange]: Target change.
Definition EbenezerModel.h:2775
int32_t ID
Column [iNum]: Magic number identifier.
Definition EbenezerModel.h:2755
int16_t HitRate
Column [Hitrate]: Hit rate.
Definition EbenezerModel.h:2790
uint8_t StateChange
Column [StateChange]: State change.
Definition EbenezerModel.h:2780
int16_t Duration
Column [Duration]: Duration.
Definition EbenezerModel.h:2795
uint8_t NationChange
Column [NationChange]: Nation change.
Definition EbenezerModel.h:2765
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1477
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1493
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1503
int16_t MonsterNumber
Column [MonsterNum]: Monster number.
Definition EbenezerModel.h:2770
int32_t NeedItem
Column [NeedItem]: Needs item.
Definition EbenezerModel.h:2810
int16_t Radius
Column [Radius]: Radius.
Definition EbenezerModel.h:2785
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1450
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1487
uint8_t ValidGroup
Column [ValidGroup]: Valid group.
Definition EbenezerModel.h:2760
[MAGIC] Contains the configuration for magic and abilities
Definition EbenezerModel.h:1774
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:935
uint8_t Moral
Column [Moral]: Targeting constraints.
Definition EbenezerModel.h:1812
int32_t ID
Column [MagicNum]: Magic identification number.
Definition EbenezerModel.h:1782
uint8_t RecastTime
Column [ReCastTime]: Cooldown.
Definition EbenezerModel.h:1852
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:965
uint8_t Etc
Column [Etc]: Etc TODO.
Definition EbenezerModel.h:1877
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:928
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:981
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:971
uint8_t Type2
Column [Type2]: Look up effect in MAGIC_TYPEX table.
Definition EbenezerModel.h:1867
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:945
int32_t Event
Column [Event]: Event TODO.
Definition EbenezerModel.h:1882
int16_t Range
Column [Range]: Maximum range from target.
Definition EbenezerModel.h:1872
uint8_t Type1
Column [Type1]: Look up effect in MAGIC_TYPEX table.
Definition EbenezerModel.h:1862
int16_t TargetEffect
Column [TargetEffect]: Effect identifier to use on the target.
Definition EbenezerModel.h:1807
int32_t UseItem
Column [UseItem]: Must consume this item from inventory in order to activate ability.
Definition EbenezerModel.h:1842
int16_t SkillLevel
Column [SkillLevel]: Skill points required in the tree to unlock the skill.
Definition EbenezerModel.h:1817
uint8_t CastTime
Column [CastTime]: Time needed to cast the ability.
Definition EbenezerModel.h:1847
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:955
int16_t Skill
Column [Skill]: Associated skill tree.
Definition EbenezerModel.h:1822
uint8_t TargetAction
Column [TargetAction]: Target action check.
Definition EbenezerModel.h:1792
int16_t HpCost
Column [HP]: Health cost.
Definition EbenezerModel.h:1832
int16_t ManaCost
Column [Msp]: Mana cost.
Definition EbenezerModel.h:1827
uint8_t SuccessRate
Column [SuccessRate]: Chance the skill will hit target.
Definition EbenezerModel.h:1857
uint8_t FlyingEffect
Column [FlyingEffect]: Does the skill fire a projectile.
Definition EbenezerModel.h:1802
uint8_t SelfEffect
Column [SelfEffect]: Self effect TODO.
Definition EbenezerModel.h:1797
uint8_t ItemGroup
Column [ItemGroup]: Item group allows a skill to be constrained to having an item type equipped.
Definition EbenezerModel.h:1837
uint8_t BeforeAction
Column [BeforeAction]: Before action check.
Definition EbenezerModel.h:1787
[MONSTER_CHALLENGE_SUMMON_LIST] Forgotten Temple summon list
Definition EbenezerModel.h:2901
int16_t MonsterId
Column [sSid]: Monster identifier (K_MONSTER.sSid)
Definition EbenezerModel.h:2934
int16_t PosX
Column [sPosX]: Monster spawn point center x-coordinate.
Definition EbenezerModel.h:2944
uint8_t StageLevel
Column [bStageLevel]: Stage level.
Definition EbenezerModel.h:2924
int16_t Count
Column [sCount]: Number to spawn.
Definition EbenezerModel.h:2939
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1619
uint8_t Stage
Column [bStage]: Stage.
Definition EbenezerModel.h:2919
uint8_t Level
Column [bLevel]: Level.
Definition EbenezerModel.h:2914
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1573
int16_t Time
Column [sTime]: Time to spawn(?)
Definition EbenezerModel.h:2929
int16_t PosZ
Column [sPosZ]: Monster spawn point center z-coordinate.
Definition EbenezerModel.h:2949
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1593
uint8_t Range
Column [bRange]: Radius from spawn point center to spawn monsters.
Definition EbenezerModel.h:2954
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1609
int16_t Index
Column [sIndex]: Index.
Definition EbenezerModel.h:2909
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1566
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1583
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1603
[MONSTER_CHALLENGE] Monster challenge (Forgotten Temple)
Definition EbenezerModel.h:2839
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1535
int16_t Index
Column [sIndex]: Index.
Definition EbenezerModel.h:2847
uint8_t StartTime2
Column [bStartTime2]: StartTime 2.
Definition EbenezerModel.h:2857
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1515
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1525
uint8_t StartTime1
Column [bStartTime1]: StartTime 1.
Definition EbenezerModel.h:2852
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1561
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1551
uint8_t LevelMax
Column [bLevelMax]: Maximum level to enter.
Definition EbenezerModel.h:2872
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1545
uint8_t StartTime3
Column [bStartTime3]: StartTime 3.
Definition EbenezerModel.h:2862
uint8_t LevelMin
Column [bLevelMin]: Minimum level to enter.
Definition EbenezerModel.h:2867
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1508
[RENTAL_ITEM] Rental item
Definition EbenezerModel.h:2983
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1624
uint8_t RegType
Column [byRegType]: Reg type.
Definition EbenezerModel.h:3011
uint8_t Class
Column [byClass]: Class.
Definition EbenezerModel.h:3021
std::optional< std::string > BorrowerAccountId
Column [strBorrowerAcID]: Borrower account identifier.
Definition EbenezerModel.h:3051
uint8_t ItemType
Column [byItemType]: Item type.
Definition EbenezerModel.h:3016
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1641
std::optional< std::string > BorrowerCharId
Column [strBorrowerCharID]: Borrower character identifier.
Definition EbenezerModel.h:3046
int64_t SerialNumber
Column [nSerialNumber]: Serial number.
Definition EbenezerModel.h:3006
int32_t ItemIndex
Column [nItemIndex]: Item index.
Definition EbenezerModel.h:2996
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1631
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1661
int16_t RentalTime
Column [sRentalTime]: Rental time.
Definition EbenezerModel.h:3026
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1677
int32_t RentalIndex
Column [nRentalIndex]: Rental index.
Definition EbenezerModel.h:2991
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1667
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1651
int32_t RentalMoney
Column [nRentalMoney]: Rental money.
Definition EbenezerModel.h:3031
std::string LenderAccountId
Column [strLenderAcID]: Lender account identifier.
Definition EbenezerModel.h:3041
std::string LenderCharId
Column [strLenderCharID]: Lender character identifier.
Definition EbenezerModel.h:3036
int16_t Durability
Column [sDurability]: Durability.
Definition EbenezerModel.h:3001
[SERVER_RESOURCE] Server resource
Definition EbenezerModel.h:3080
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1699
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1689
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1719
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1709
std::string Resource
Column [strResource]: Sprintf supported string.
Definition EbenezerModel.h:3093
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1725
int32_t ResourceId
Column [nResourceID]: Resource Identifier.
Definition EbenezerModel.h:3088
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1682
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1735
[START_POSITION] Start position
Definition EbenezerModel.h:3122
int16_t ZoneId
Column [ZoneID]: Zone identifier.
Definition EbenezerModel.h:3130
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1793
uint8_t RangeX
Column [bRangeX]: Maximum distance from spawn X.
Definition EbenezerModel.h:3155
int16_t ElmoZ
Column [sElmoradZ]: ElMorad Z.
Definition EbenezerModel.h:3150
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1740
int16_t KarusGateZ
Column [sKarusGateZ]: Karus gate Z.
Definition EbenezerModel.h:3170
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1783
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1767
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1777
int16_t ElmoGateX
Column [sElmoGateX]: ElMorad gate X.
Definition EbenezerModel.h:3175
int16_t ElmoGateZ
Column [sElmoGateZ]: ElMorad gate Z.
Definition EbenezerModel.h:3180
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1757
int16_t KarusZ
Column [sKarusZ]: Karus Z.
Definition EbenezerModel.h:3140
int16_t ElmoX
Column [sElmoradX]: ElMorad X.
Definition EbenezerModel.h:3145
uint8_t RangeZ
Column [bRangeZ]: Maximum distance from spawn Z.
Definition EbenezerModel.h:3160
int16_t KarusGateX
Column [sKarusGateX]: Karus gate X.
Definition EbenezerModel.h:3165
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1747
int16_t KarusX
Column [sKarusX]: Karus X.
Definition EbenezerModel.h:3135
[USER_KNIGHTS_RANK] User Knights Ranking
Definition EbenezerModel.h:3209
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1835
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1805
std::optional< std::string > KarusUserId
Column [strKarusUserID]: Karus user identifier.
Definition EbenezerModel.h:3227
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1841
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1851
std::optional< std::string > ElmoUserId
Column [strElmoUserID]: ElMorad user identifier.
Definition EbenezerModel.h:3222
int16_t Index
Column [shIndex]: Index.
Definition EbenezerModel.h:3217
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1815
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1825
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1798
int32_t Money
Column [nMoney]: Money.
Definition EbenezerModel.h:3232
[USER_PERSONAL_RANK] User personal ranking
Definition EbenezerModel.h:3261
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1883
std::optional< std::string > KarusUserId
Column [strKarusUserID]: Karus user identifier.
Definition EbenezerModel.h:3279
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1893
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1899
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1856
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1873
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1863
std::optional< std::string > ElmoUserId
Column [strElmoUserID]: ElMorad user identifier.
Definition EbenezerModel.h:3274
int32_t Salary
Column [nSalary]: Salary.
Definition EbenezerModel.h:3284
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1909
int16_t Rank
Column [nRank]: Ranking.
Definition EbenezerModel.h:3269
[WEBPAGE_ADDRESS] Webpage URL list
Definition EbenezerModel.h:3313
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1921
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1941
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:1951
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1931
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:1957
std::string WebPageAddress
Column [strWebPageAddress]: Webpage address.
Definition EbenezerModel.h:3326
int32_t Index
Column [nIndex]: Index.
Definition EbenezerModel.h:3321
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1914
const int32_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:1967
[ZONE_INFO] Zone (map) information
Definition EbenezerModel.h:3355
int32_t InitZ
Column [InitZ]: Z-coordinate location for a player loading into the zone.
Definition EbenezerModel.h:3383
static const std::vector< std::string > & OrderedColumnNames()
Returns an ordered vector of column names for the table.
Definition EbenezerModel.cpp:1989
int16_t ZoneId
Column [ZoneNo]: Zone identifier.
Definition EbenezerModel.h:3368
static const std::vector< std::string > & PrimaryKey()
Returns the columns associated with the table's Primary Key.
Definition EbenezerModel.cpp:2015
static const std::unordered_set< std::string > & BlobColumns()
Returns a set of blob column names for the table.
Definition EbenezerModel.cpp:1999
int32_t InitY
Column [InitY]: Y-coordinate location for a player loading into the zone.
Definition EbenezerModel.h:3388
uint8_t RoomEvent
Column [RoomEvent]: Map EventId.
Definition EbenezerModel.h:3398
const int16_t & MapKey() const
Returns a value for use in map keys based on the table's primary key.
Definition EbenezerModel.cpp:2025
static const std::string & TableName()
Returns the table name.
Definition EbenezerModel.cpp:1972
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition EbenezerModel.cpp:2009
static const std::unordered_set< std::string > & ColumnNames()
Returns a set of column names for the table.
Definition EbenezerModel.cpp:1979
uint8_t Type
Column [Type]: Type.
Definition EbenezerModel.h:3393
uint8_t ServerId
Column [ServerNo]: Server identifier.
Definition EbenezerModel.h:3363
std::string Name
Column [strZoneName]: Zone name.
Definition EbenezerModel.h:3373
int32_t InitX
Column [InitX]: X-coordinate location for a player loading into the zone.
Definition EbenezerModel.h:3378
DbType
Database type identifier.
Definition ModelUtil.h:14