OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
Loading...
Searching...
No Matches
EbenezerModel.h
1#ifndef EBENEZER_MODEL_EBENEZERMODEL_H
2#define EBENEZER_MODEL_EBENEZERMODEL_H
3
4#pragma once
5
6#include <ModelUtil/ModelUtil.h>
7#include <cstdint>
8#include <optional>
9#include <string>
10#include <tuple>
11#include <unordered_set>
12#include <vector>
13
14namespace ebenezer_binder
15{
16 class Battle;
17 class Coefficient;
18 class CouponSerialList;
19 class Event;
20 class EventTrigger;
21 class Home;
22 class Item;
23 class ItemExchange;
24 class ItemUpgrade;
25 class Knights;
26 class KnightsAlliance;
27 class KnightsCape;
28 class KnightsRating;
30 class KnightsUser;
31 class LevelUp;
32 class Magic;
33 class MagicType1;
34 class MagicType2;
35 class MagicType3;
36 class MagicType4;
37 class MagicType5;
38 class MagicType6;
39 class MagicType7;
40 class MagicType8;
41 class MagicType9;
42 class MonsterChallenge;
44 class RentalItem;
45 class ServerResource;
46 class StartPosition;
47 class UserKnightsRank;
48 class UserPersonalRank;
49 class WebpageAddress;
50 class ZoneInfo;
51}
52
53namespace ebenezer_model
54{
58 class Battle
59 {
61 public:
62 using BinderType = ebenezer_binder::Battle;
63
67 int16_t Index = {};
68
72 uint8_t Nation = {};
73
75 static const std::string& TableName();
76
78 static const std::unordered_set<std::string>& ColumnNames();
79
81 static const std::vector<std::string>& OrderedColumnNames();
82
84 static const std::unordered_set<std::string>& BlobColumns();
85
88
90 static const std::vector<std::string>& PrimaryKey();
91
93 const int16_t& MapKey() const;
94
95 };
96
101 {
103 public:
104 using BinderType = ebenezer_binder::Coefficient;
105
109 int16_t ClassId = {};
110
114 double ShortSword = {};
115
119 double Sword = {};
120
124 double Axe = {};
125
129 double Club = {};
130
134 double Spear = {};
135
139 double Pole = {};
140
144 double Staff = {};
145
149 double Bow = {};
150
154 double HitPoint = {};
155
159 double ManaPoint = {};
160
164 double Sp = {};
165
169 double Armor = {};
170
174 double HitRate = {};
175
179 double Evasionrate = {};
180
182 static const std::string& TableName();
183
185 static const std::unordered_set<std::string>& ColumnNames();
186
188 static const std::vector<std::string>& OrderedColumnNames();
189
191 static const std::unordered_set<std::string>& BlobColumns();
192
194 static modelUtil::DbType DbType();
195
197 static const std::vector<std::string>& PrimaryKey();
198
200 const int16_t& MapKey() const;
201
202 };
203
208 {
210 public:
211 using BinderType = ebenezer_binder::CouponSerialList;
212
216 int32_t Index = {};
217
221 std::string SerialNum;
222
226 int32_t ItemNumber = {};
227
231 int16_t ItemCount = {};
232
234 static const std::string& TableName();
235
237 static const std::unordered_set<std::string>& ColumnNames();
238
240 static const std::vector<std::string>& OrderedColumnNames();
241
243 static const std::unordered_set<std::string>& BlobColumns();
244
246 static modelUtil::DbType DbType();
247
249 static const std::vector<std::string>& PrimaryKey();
250
252 const int32_t& MapKey() const;
253
254 };
255
259 class Event
260 {
262 public:
263 using BinderType = ebenezer_binder::Event;
264
268 uint8_t ZoneNumber = {};
269
273 int16_t EventNumber = {};
274
278 uint8_t EventType = {};
279
283 std::string Execute1;
284
288 std::string Execute2;
289
293 std::string Execute3;
294
298 std::string Execute4;
299
303 std::string Execute5;
304
306 static const std::string& TableName();
307
309 static const std::unordered_set<std::string>& ColumnNames();
310
312 static const std::vector<std::string>& OrderedColumnNames();
313
315 static const std::unordered_set<std::string>& BlobColumns();
316
318 static modelUtil::DbType DbType();
319
321 static const std::vector<std::string>& PrimaryKey();
322
323 };
324
329 {
331 public:
332 using BinderType = ebenezer_binder::EventTrigger;
333
337 int32_t Index = {};
338
342 uint8_t NpcType = {};
343
347 int16_t NpcId = {};
348
352 int32_t TriggerNumber = {};
353
355 static const std::string& TableName();
356
358 static const std::unordered_set<std::string>& ColumnNames();
359
361 static const std::vector<std::string>& OrderedColumnNames();
362
364 static const std::unordered_set<std::string>& BlobColumns();
365
367 static modelUtil::DbType DbType();
368
370 static const std::vector<std::string>& PrimaryKey();
371
373 const int32_t& MapKey() const;
374
375 };
376
380 class Home
381 {
383 public:
384 using BinderType = ebenezer_binder::Home;
385
389 uint8_t Nation = {};
390
394 int32_t ElmoZoneX = {};
395
399 int32_t ElmoZoneZ = {};
400
404 uint8_t ElmoZoneLX = {};
405
409 uint8_t ElmoZoneLZ = {};
410
414 int32_t KarusZoneX = {};
415
419 int32_t KarusZoneZ = {};
420
424 uint8_t KarusZoneLX = {};
425
429 uint8_t KarusZoneLZ = {};
430
434 int32_t FreeZoneX = {};
435
439 int32_t FreeZoneZ = {};
440
444 uint8_t FreeZoneLX = {};
445
449 uint8_t FreeZoneLZ = {};
450
454 int32_t BattleZoneX = {};
455
459 int32_t BattleZoneZ = {};
460
464 uint8_t BattleZoneLX = {};
465
469 uint8_t BattleZoneLZ = {};
470
474 int32_t BattleZone2X = {};
475
479 int32_t BattleZone2Z = {};
480
484 uint8_t BattleZone2LX = {};
485
489 uint8_t BattleZone2LZ = {};
490
492 static const std::string& TableName();
493
495 static const std::unordered_set<std::string>& ColumnNames();
496
498 static const std::vector<std::string>& OrderedColumnNames();
499
501 static const std::unordered_set<std::string>& BlobColumns();
502
504 static modelUtil::DbType DbType();
505
507 static const std::vector<std::string>& PrimaryKey();
508
510 const uint8_t& MapKey() const;
511
512 };
513
517 class Item
518 {
520 public:
521 using BinderType = ebenezer_binder::Item;
522
526 int32_t ID = {};
527
531 std::string Name;
532
537 uint8_t Kind = {};
538
541 enum class EnumKind
542 {
543 Dagger = 1,
544 Sword = 2,
545 Axe = 3,
546 Mace = 4,
547 Spear = 5,
548 Shield = 6,
549 Bow = 7,
550 Longbow = 8,
551 Launcher = 10,
552 Staff = 11,
553 Arrow = 12,
554 Javelin = 13,
555 ArmorWarrior = 21,
556 ArmorRogue = 22,
557 ArmorWizard = 23,
558 ArmorPriest = 24
559 };
560
565 uint8_t Slot = {};
566
569 enum class EnumSlot
570 {
571 RightEar = 0,
572 Head = 1,
573 LeftEar = 2,
574 Neck = 3,
575 Breast = 4,
576 Shoulder = 5,
577 RightHand = 6,
578 Waist = 7,
579 LeftHand = 8,
580 RightRing = 9,
581 Leg = 10,
582 LeftRing = 11,
583 Glove = 12,
584 Foot = 13,
585 Reserved = 14
586 };
587
592 uint8_t Race = {};
593
596 enum class EnumRace
597 {
598 Any = 0,
599 Karus = 1,
600 ElMorad = 2
601 };
602
607 uint8_t ClassId = {};
608
611 enum class EnumClassId
612 {
613 Any = 0,
614 GroupWarrior = 1,
615 GroupRogue = 2,
616 GroupMage = 3,
617 GroupCleric = 4,
618 GroupWarriorJob = 5,
619 GroupWarriorMaster = 6,
620 GroupRogueJob = 7,
621 GroupRogueMaster = 8,
622 GroupMageJob = 9,
623 GroupMageMaster = 10,
624 GroupPriestJob = 11,
625 GroupPriestMaster = 12,
626 KarusWarrior = 101,
627 KarusRogue = 102,
628 KarusWizard = 103,
629 KarusPriest = 104,
630 Berserker = 105,
631 Guardian = 106,
632 Hunter = 107,
633 Penetrator = 108,
634 Sorcerer = 109,
635 Necromancer = 110,
636 Shaman = 111,
637 DarkPriest = 112,
638 ElmoWarrior = 201,
639 ElmoRogue = 202,
640 ElmoWizard = 203,
641 ElmoPriest = 204,
642 Blade = 205,
643 Protector = 206,
644 Ranger = 207,
645 Assassin = 208,
646 Mage = 209,
647 Enchanter = 210,
648 Cleric = 211,
649 Druid = 212
650 };
651
655 int16_t Damage = {};
656
660 int16_t Delay = {};
661
665 int16_t Range = {};
666
670 int16_t Weight = {};
671
675 int16_t Durability = {};
676
680 int32_t BuyPrice = {};
681
685 int32_t SellPrice = {};
686
690 int16_t Armor = {};
691
696 uint8_t Countable = {};
697
700 enum class EnumCountable
701 {
702 NonStackable = 0,
703 Stackable = 1,
704 Coins = 2
705 };
706
710 int32_t MagicEffect = {};
711
716 int32_t SpecialEffect = {};
717
721 {
722 ScrollTransform = 1,
723 ScrollTransform2 = 2,
724 ScrollTransform3 = 3,
725 ScrollTransform4 = 4,
726 ScrollAccessory = 253,
727 ScrollRental = 254,
728 ScrollUpgrade = 255,
729 UniqueAxe = 12050000,
730 UniqueSpear = 12070000,
731 UniqueBow = 12120000,
732 UniqueMace = 12130000,
733 UniqueStaff = 40000000
734 };
735
739 uint8_t MinLevel = {};
740
744 uint8_t RequiredRank = {};
745
750 uint8_t RequiredTitle = {};
751
755 {
756 Any = 0,
757 King = 1,
758 Chief = 1,
759 ViceChief = 2,
760 Knight = 3,
761 Officer = 4,
762 Trainee = 5,
763 WarCommander = 100
764 };
765
769 uint8_t RequiredStrength = {};
770
774 uint8_t RequiredStamina = {};
775
779 uint8_t RequiredDexterity = {};
780
785
789 uint8_t RequiredCharisma = {};
790
794 uint8_t SellingGroup = {};
795
799 uint8_t Type = {};
800
804 int16_t HitRate = {};
805
809 int16_t EvasionRate = {};
810
814 int16_t DaggerArmor = {};
815
819 int16_t SwordArmor = {};
820
824 int16_t MaceArmor = {};
825
829 int16_t AxeArmor = {};
830
834 int16_t SpearArmor = {};
835
839 int16_t BowArmor = {};
840
844 uint8_t FireDamage = {};
845
849 uint8_t IceDamage = {};
850
854 uint8_t LightningDamage = {};
855
859 uint8_t PoisonDamage = {};
860
864 uint8_t HpDrain = {};
865
869 uint8_t MpDamage = {};
870
874 uint8_t MpDrain = {};
875
879 uint8_t MirrorDamage = {};
880
884 uint8_t DropRate = {};
885
889 int16_t StrengthBonus = {};
890
894 int16_t StaminaBonus = {};
895
899 int16_t DexterityBonus = {};
900
904 int16_t IntelligenceBonus = {};
905
909 int16_t CharismaBonus = {};
910
914 int16_t MaxHpBonus = {};
915
919 int16_t MaxMpBonus = {};
920
924 int16_t FireResist = {};
925
929 int16_t ColdResist = {};
930
934 int16_t LightningResist = {};
935
939 int16_t MagicResist = {};
940
944 int16_t PoisonResist = {};
945
949 int16_t CurseResist = {};
950
952 static const std::string& TableName();
953
955 static const std::unordered_set<std::string>& ColumnNames();
956
958 static const std::vector<std::string>& OrderedColumnNames();
959
961 static const std::unordered_set<std::string>& BlobColumns();
962
964 static modelUtil::DbType DbType();
965
967 static const std::vector<std::string>& PrimaryKey();
968
970 const int32_t& MapKey() const;
971
972 };
973
978 {
980 public:
981 using BinderType = ebenezer_binder::ItemExchange;
982
986 int32_t Index = {};
987
991 int16_t NpcNumber = {};
992
996 uint8_t RandomFlag = {};
997
1007 int32_t OriginItemNumber[5] = {};
1008
1009
1019 int16_t OriginItemCount[5] = {};
1020
1021
1031 int32_t ExchangeItemNumber[5] = {};
1032
1033
1043 int16_t ExchangeItemCount[5] = {};
1044
1045
1047 static const std::string& TableName();
1048
1050 static const std::unordered_set<std::string>& ColumnNames();
1051
1053 static const std::vector<std::string>& OrderedColumnNames();
1054
1056 static const std::unordered_set<std::string>& BlobColumns();
1057
1059 static modelUtil::DbType DbType();
1060
1062 static const std::vector<std::string>& PrimaryKey();
1063
1065 const int32_t& MapKey() const;
1066
1067 };
1068
1073 {
1075 public:
1076 using BinderType = ebenezer_binder::ItemUpgrade;
1077
1081 int32_t Index = {};
1082
1086 int16_t NpcNumber = {};
1087
1091 int16_t OriginType = {};
1092
1096 int16_t OriginItem = {};
1097
1110 int32_t RequiredItem[8] = {};
1111
1112
1116 int32_t RequiredCoins = {};
1117
1121 uint8_t RateType = {};
1122
1126 int16_t GenRate = {};
1127
1131 int16_t GiveItem = {};
1132
1134 static const std::string& TableName();
1135
1137 static const std::unordered_set<std::string>& ColumnNames();
1138
1140 static const std::vector<std::string>& OrderedColumnNames();
1141
1143 static const std::unordered_set<std::string>& BlobColumns();
1144
1146 static modelUtil::DbType DbType();
1147
1149 static const std::vector<std::string>& PrimaryKey();
1150
1152 const int32_t& MapKey() const;
1153
1154 };
1155
1159 class Knights
1160 {
1162 public:
1163 using BinderType = ebenezer_binder::Knights;
1164
1168 int16_t ID = {};
1169
1173 uint8_t Flag = {};
1174
1178 uint8_t Nation = {};
1179
1183 uint8_t Ranking = {};
1184
1188 std::string Name;
1189
1193 int16_t Members = {};
1194
1198 std::string Chief;
1199
1203 std::optional<std::string> ViceChief1;
1204
1208 std::optional<std::string> ViceChief2;
1209
1213 std::optional<std::string> ViceChief3;
1214
1218 std::optional<std::string> EnemyName;
1219
1223 uint8_t OldWarResult = {};
1224
1228 int32_t WarEnemyId = {};
1229
1233 int32_t Victory = {};
1234
1238 int32_t Lose = {};
1239
1243 int64_t Gold = {};
1244
1248 int16_t Domination = {};
1249
1253 int32_t Points = {};
1254
1258 int16_t MarkVersion = {};
1259
1263 int16_t MarkLength = {};
1264
1268 std::optional<std::vector<uint8_t>> Mark;
1269
1273 uint8_t SiegeFlag = {};
1274
1278 int16_t AllianceKnights = {};
1279
1283 int16_t Cape = {};
1284
1286 static const std::string& TableName();
1287
1289 static const std::unordered_set<std::string>& ColumnNames();
1290
1292 static const std::vector<std::string>& OrderedColumnNames();
1293
1295 static const std::unordered_set<std::string>& BlobColumns();
1296
1298 static modelUtil::DbType DbType();
1299
1301 static const std::vector<std::string>& PrimaryKey();
1302
1304 const int16_t& MapKey() const;
1305
1306 };
1307
1312 {
1314 public:
1315 using BinderType = ebenezer_binder::KnightsAlliance;
1316
1321
1326
1330 int16_t MercenaryClan1 = {};
1331
1335 int16_t MercenaryClan2 = {};
1336
1338 static const std::string& TableName();
1339
1341 static const std::unordered_set<std::string>& ColumnNames();
1342
1344 static const std::vector<std::string>& OrderedColumnNames();
1345
1347 static const std::unordered_set<std::string>& BlobColumns();
1348
1350 static modelUtil::DbType DbType();
1351
1353 static const std::vector<std::string>& PrimaryKey();
1354
1356 const int16_t& MapKey() const;
1357
1358 };
1359
1364 {
1366 public:
1367 using BinderType = ebenezer_binder::KnightsCape;
1368
1372 int16_t CapeIndex = {};
1373
1377 int32_t BuyPrice = {};
1378
1382 int32_t Duration = {};
1383
1387 uint8_t Grade = {};
1388
1390 static const std::string& TableName();
1391
1393 static const std::unordered_set<std::string>& ColumnNames();
1394
1396 static const std::vector<std::string>& OrderedColumnNames();
1397
1399 static const std::unordered_set<std::string>& BlobColumns();
1400
1402 static modelUtil::DbType DbType();
1403
1405 static const std::vector<std::string>& PrimaryKey();
1406
1408 const int16_t& MapKey() const;
1409
1410 };
1411
1416 {
1418 public:
1419 using BinderType = ebenezer_binder::KnightsRating;
1420
1424 int32_t Rank = {};
1425
1429 int16_t Index = {};
1430
1434 std::string Name;
1435
1439 int32_t Points = {};
1440
1442 static const std::string& TableName();
1443
1445 static const std::unordered_set<std::string>& ColumnNames();
1446
1448 static const std::vector<std::string>& OrderedColumnNames();
1449
1451 static const std::unordered_set<std::string>& BlobColumns();
1452
1454 static modelUtil::DbType DbType();
1455
1457 static const std::vector<std::string>& PrimaryKey();
1458
1460 const int32_t& MapKey() const;
1461
1462 };
1463
1468 {
1470 public:
1471 using BinderType = ebenezer_binder::KnightsSiegeWarfare;
1472
1476 int16_t CastleIndex = {};
1477
1481 int16_t MasterKnights = {};
1482
1486 uint8_t SiegeType = {};
1487
1491 uint8_t WarDay = {};
1492
1496 uint8_t WarHour = {};
1497
1501 uint8_t WarMinute = {};
1502
1506 int16_t ChallengeList1 = {};
1507
1511 int16_t ChallengeList2 = {};
1512
1516 int16_t ChallengeList3 = {};
1517
1521 int16_t ChallengeList4 = {};
1522
1526 int16_t ChallengeList5 = {};
1527
1531 int16_t ChallengeList6 = {};
1532
1536 int16_t ChallengeList7 = {};
1537
1541 int16_t ChallengeList8 = {};
1542
1546 int16_t ChallengeList9 = {};
1547
1551 int16_t ChallengeList10 = {};
1552
1556 uint8_t WarRequestDay = {};
1557
1561 uint8_t WarRequestTime = {};
1562
1566 uint8_t WarRequestMinute = {};
1567
1571 uint8_t GuerrillaWarDay = {};
1572
1576 uint8_t GuerrillaWarTime = {};
1577
1582
1586 std::optional<std::vector<uint8_t>> ChallengeList;
1587
1591 int16_t MoradonTariff = {};
1592
1596 int16_t DelosTariff = {};
1597
1601 int32_t DungeonCharge = {};
1602
1606 int32_t MoradonTax = {};
1607
1611 int32_t DelosTax = {};
1612
1616 int16_t RequestList1 = {};
1617
1621 int16_t RequestList2 = {};
1622
1626 int16_t RequestList3 = {};
1627
1631 int16_t RequestList4 = {};
1632
1636 int16_t RequestList5 = {};
1637
1641 int16_t RequestList6 = {};
1642
1646 int16_t RequestList7 = {};
1647
1651 int16_t RequestList8 = {};
1652
1656 int16_t RequestList9 = {};
1657
1661 int16_t RequestList10 = {};
1662
1664 static const std::string& TableName();
1665
1667 static const std::unordered_set<std::string>& ColumnNames();
1668
1670 static const std::vector<std::string>& OrderedColumnNames();
1671
1673 static const std::unordered_set<std::string>& BlobColumns();
1674
1676 static modelUtil::DbType DbType();
1677
1679 static const std::vector<std::string>& PrimaryKey();
1680
1682 const int16_t& MapKey() const;
1683
1684 };
1685
1690 {
1692 public:
1693 using BinderType = ebenezer_binder::KnightsUser;
1694
1698 int16_t KnightsId = {};
1699
1703 std::string UserId;
1704
1706 static const std::string& TableName();
1707
1709 static const std::unordered_set<std::string>& ColumnNames();
1710
1712 static const std::vector<std::string>& OrderedColumnNames();
1713
1715 static const std::unordered_set<std::string>& BlobColumns();
1716
1718 static modelUtil::DbType DbType();
1719
1721 static const std::vector<std::string>& PrimaryKey();
1722
1724 std::tuple<const int16_t&, const std::string&> MapKey() const;
1725
1726 };
1727
1731 class LevelUp
1732 {
1734 public:
1735 using BinderType = ebenezer_binder::LevelUp;
1736
1740 uint8_t Level = {};
1741
1745 int32_t RequiredExp = {};
1746
1748 static const std::string& TableName();
1749
1751 static const std::unordered_set<std::string>& ColumnNames();
1752
1754 static const std::vector<std::string>& OrderedColumnNames();
1755
1757 static const std::unordered_set<std::string>& BlobColumns();
1758
1760 static modelUtil::DbType DbType();
1761
1763 static const std::vector<std::string>& PrimaryKey();
1764
1766 const uint8_t& MapKey() const;
1767
1768 };
1769
1773 class Magic
1774 {
1776 public:
1777 using BinderType = ebenezer_binder::Magic;
1778
1782 int32_t ID = {};
1783
1787 uint8_t BeforeAction = {};
1788
1792 uint8_t TargetAction = {};
1793
1797 uint8_t SelfEffect = {};
1798
1802 uint8_t FlyingEffect = {};
1803
1807 int16_t TargetEffect = {};
1808
1812 uint8_t Moral = {};
1813
1817 int16_t SkillLevel = {};
1818
1822 int16_t Skill = {};
1823
1827 int16_t ManaCost = {};
1828
1832 int16_t HpCost = {};
1833
1837 uint8_t ItemGroup = {};
1838
1842 int32_t UseItem = {};
1843
1847 uint8_t CastTime = {};
1848
1852 uint8_t RecastTime = {};
1853
1857 uint8_t SuccessRate = {};
1858
1862 uint8_t Type1 = {};
1863
1867 uint8_t Type2 = {};
1868
1872 int16_t Range = {};
1873
1877 uint8_t Etc = {};
1878
1882 int32_t Event = {};
1883
1885 static const std::string& TableName();
1886
1888 static const std::unordered_set<std::string>& ColumnNames();
1889
1891 static const std::vector<std::string>& OrderedColumnNames();
1892
1894 static const std::unordered_set<std::string>& BlobColumns();
1895
1897 static modelUtil::DbType DbType();
1898
1900 static const std::vector<std::string>& PrimaryKey();
1901
1903 const int32_t& MapKey() const;
1904
1905 };
1906
1911 {
1913 public:
1914 using BinderType = ebenezer_binder::MagicType1;
1915
1919 int32_t ID = {};
1920
1925 uint8_t Type = {};
1926
1929 enum class EnumType
1930 {
1934 };
1935
1939 int16_t HitRateMod = {};
1940
1944 int16_t DamageMod = {};
1945
1949 int16_t AddDamage = {};
1950
1954 uint8_t Delay = {};
1955
1959 uint8_t ComboType = {};
1960
1964 uint8_t ComboCount = {};
1965
1969 int16_t ComboDamage = {};
1970
1974 int16_t Range = {};
1975
1977 static const std::string& TableName();
1978
1980 static const std::unordered_set<std::string>& ColumnNames();
1981
1983 static const std::vector<std::string>& OrderedColumnNames();
1984
1986 static const std::unordered_set<std::string>& BlobColumns();
1987
1989 static modelUtil::DbType DbType();
1990
1992 static const std::vector<std::string>& PrimaryKey();
1993
1995 const int32_t& MapKey() const;
1996
1997 };
1998
2003 {
2005 public:
2006 using BinderType = ebenezer_binder::MagicType2;
2007
2011 int32_t ID = {};
2012
2017 uint8_t HitType = {};
2018
2021 enum class EnumHitType
2022 {
2025 };
2026
2030 int16_t HitRateMod = {};
2031
2035 int16_t DamageMod = {};
2036
2040 int16_t RangeMod = {};
2041
2045 uint8_t NeedArrow = {};
2046
2050 int16_t AddDamagePlus = {};
2051
2053 static const std::string& TableName();
2054
2056 static const std::unordered_set<std::string>& ColumnNames();
2057
2059 static const std::vector<std::string>& OrderedColumnNames();
2060
2062 static const std::unordered_set<std::string>& BlobColumns();
2063
2065 static modelUtil::DbType DbType();
2066
2068 static const std::vector<std::string>& PrimaryKey();
2069
2071 const int32_t& MapKey() const;
2072
2073 };
2074
2079 {
2081 public:
2082 using BinderType = ebenezer_binder::MagicType3;
2083
2087 int32_t ID = {};
2088
2092 uint8_t Radius = {};
2093
2097 int16_t Angle = {};
2098
2103 uint8_t DirectType = {};
2104
2120
2124 int16_t FirstDamage = {};
2125
2129 int16_t EndDamage = {};
2130
2134 int16_t TimeDamage = {};
2135
2139 uint8_t Duration = {};
2140
2144 uint8_t Attribute = {};
2145
2147 static const std::string& TableName();
2148
2150 static const std::unordered_set<std::string>& ColumnNames();
2151
2153 static const std::vector<std::string>& OrderedColumnNames();
2154
2156 static const std::unordered_set<std::string>& BlobColumns();
2157
2159 static modelUtil::DbType DbType();
2160
2162 static const std::vector<std::string>& PrimaryKey();
2163
2165 const int32_t& MapKey() const;
2166
2167 };
2168
2173 {
2175 public:
2176 using BinderType = ebenezer_binder::MagicType4;
2177
2181 int32_t ID = {};
2182
2187 uint8_t BuffType = {};
2188
2209
2213 uint8_t Radius = {};
2214
2218 int16_t Duration = {};
2219
2223 uint8_t AttackSpeed = {};
2224
2228 uint8_t Speed = {};
2229
2233 int16_t Armor = {};
2234
2238 int16_t ArmorPercent = {};
2239
2243 uint8_t AttackPower = {};
2244
2248 uint8_t MagicPower = {};
2249
2253 int16_t MaxHp = {};
2254
2258 int16_t MaxHpPercent = {};
2259
2263 int16_t MaxMp = {};
2264
2268 int16_t MaxMpPercent = {};
2269
2273 uint8_t HitRate = {};
2274
2278 int16_t AvoidRate = {};
2279
2283 int16_t Strength = {};
2284
2288 int16_t Stamina = {};
2289
2293 int16_t Dexterity = {};
2294
2298 int16_t Intelligence = {};
2299
2303 int16_t Charisma = {};
2304
2308 uint8_t FireResist = {};
2309
2313 uint8_t ColdResist = {};
2314
2318 uint8_t LightningResist = {};
2319
2323 uint8_t MagicResist = {};
2324
2328 uint8_t DiseaseResist = {};
2329
2333 uint8_t PoisonResist = {};
2334
2338 uint8_t ExpPercent = {};
2339
2341 static const std::string& TableName();
2342
2344 static const std::unordered_set<std::string>& ColumnNames();
2345
2347 static const std::vector<std::string>& OrderedColumnNames();
2348
2350 static const std::unordered_set<std::string>& BlobColumns();
2351
2353 static modelUtil::DbType DbType();
2354
2356 static const std::vector<std::string>& PrimaryKey();
2357
2359 const int32_t& MapKey() const;
2360
2361 };
2362
2367 {
2369 public:
2370 using BinderType = ebenezer_binder::MagicType5;
2371
2375 int32_t ID = {};
2376
2381 uint8_t Type = {};
2382
2393
2397 uint8_t ExpRecover = {};
2398
2402 int16_t NeedStone = {};
2403
2405 static const std::string& TableName();
2406
2408 static const std::unordered_set<std::string>& ColumnNames();
2409
2411 static const std::vector<std::string>& OrderedColumnNames();
2412
2414 static const std::unordered_set<std::string>& BlobColumns();
2415
2417 static modelUtil::DbType DbType();
2418
2420 static const std::vector<std::string>& PrimaryKey();
2421
2423 const int32_t& MapKey() const;
2424
2425 };
2426
2431 {
2433 public:
2434 using BinderType = ebenezer_binder::MagicType6;
2435
2439 int32_t ID = {};
2440
2444 int16_t Size = {};
2445
2449 int16_t TransformId = {};
2450
2454 int16_t Duration = {};
2455
2459 int16_t MaxHp = {};
2460
2464 int16_t MaxMp = {};
2465
2469 uint8_t Speed = {};
2470
2474 int16_t AttackSpeed = {};
2475
2479 int16_t TotalHit = {};
2480
2484 int16_t TotalArmor = {};
2485
2489 int16_t TotalHitRate = {};
2490
2494 int16_t TotalEvasionRate = {};
2495
2499 int16_t TotalFireResist = {};
2500
2504 int16_t TotalColdResist = {};
2505
2510
2514 int16_t TotalMagicResist = {};
2515
2520
2524 int16_t TotalPoisonResist = {};
2525
2529 int16_t Class = {};
2530
2534 uint8_t UserSkillUse = {};
2535
2539 uint8_t NeedItem = {};
2540
2544 uint8_t SkillSuccessRate = {};
2545
2549 uint8_t MonsterFriendly = {};
2550
2552 static const std::string& TableName();
2553
2555 static const std::unordered_set<std::string>& ColumnNames();
2556
2558 static const std::vector<std::string>& OrderedColumnNames();
2559
2561 static const std::unordered_set<std::string>& BlobColumns();
2562
2564 static modelUtil::DbType DbType();
2565
2567 static const std::vector<std::string>& PrimaryKey();
2568
2570 const int32_t& MapKey() const;
2571
2572 };
2573
2578 {
2580 public:
2581 using BinderType = ebenezer_binder::MagicType7;
2582
2586 int32_t ID = {};
2587
2591 uint8_t ValidGroup = {};
2592
2596 uint8_t NationChange = {};
2597
2601 int16_t MonsterNumber = {};
2602
2607 uint8_t TargetChange = {};
2608
2612 {
2615 };
2616
2620 uint8_t StateChange = {};
2621
2625 uint8_t Radius = {};
2626
2630 int16_t HitRate = {};
2631
2635 int16_t Duration = {};
2636
2640 int16_t Damage = {};
2641
2645 uint8_t Vision = {};
2646
2650 int32_t NeedItem = {};
2651
2653 static const std::string& TableName();
2654
2656 static const std::unordered_set<std::string>& ColumnNames();
2657
2659 static const std::vector<std::string>& OrderedColumnNames();
2660
2662 static const std::unordered_set<std::string>& BlobColumns();
2663
2665 static modelUtil::DbType DbType();
2666
2668 static const std::vector<std::string>& PrimaryKey();
2669
2671 const int32_t& MapKey() const;
2672
2673 };
2674
2679 {
2681 public:
2682 using BinderType = ebenezer_binder::MagicType8;
2683
2687 int32_t ID = {};
2688
2692 uint8_t Target = {};
2693
2697 int16_t Radius = {};
2698
2703 uint8_t WarpType = {};
2704
2714
2718 int16_t ExpRecover = {};
2719
2721 static const std::string& TableName();
2722
2724 static const std::unordered_set<std::string>& ColumnNames();
2725
2727 static const std::vector<std::string>& OrderedColumnNames();
2728
2730 static const std::unordered_set<std::string>& BlobColumns();
2731
2733 static modelUtil::DbType DbType();
2734
2736 static const std::vector<std::string>& PrimaryKey();
2737
2739 const int32_t& MapKey() const;
2740
2741 };
2742
2747 {
2749 public:
2750 using BinderType = ebenezer_binder::MagicType9;
2751
2755 int32_t ID = {};
2756
2760 uint8_t ValidGroup = {};
2761
2765 uint8_t NationChange = {};
2766
2770 int16_t MonsterNumber = {};
2771
2775 uint8_t TargetChange = {};
2776
2780 uint8_t StateChange = {};
2781
2785 int16_t Radius = {};
2786
2790 int16_t HitRate = {};
2791
2795 int16_t Duration = {};
2796
2800 int16_t AddDamage = {};
2801
2805 int16_t Vision = {};
2806
2810 int32_t NeedItem = {};
2811
2813 static const std::string& TableName();
2814
2816 static const std::unordered_set<std::string>& ColumnNames();
2817
2819 static const std::vector<std::string>& OrderedColumnNames();
2820
2822 static const std::unordered_set<std::string>& BlobColumns();
2823
2825 static modelUtil::DbType DbType();
2826
2828 static const std::vector<std::string>& PrimaryKey();
2829
2831 const int32_t& MapKey() const;
2832
2833 };
2834
2839 {
2841 public:
2842 using BinderType = ebenezer_binder::MonsterChallenge;
2843
2847 int16_t Index = {};
2848
2852 uint8_t StartTime1 = {};
2853
2857 uint8_t StartTime2 = {};
2858
2862 uint8_t StartTime3 = {};
2863
2867 uint8_t LevelMin = {};
2868
2872 uint8_t LevelMax = {};
2873
2875 static const std::string& TableName();
2876
2878 static const std::unordered_set<std::string>& ColumnNames();
2879
2881 static const std::vector<std::string>& OrderedColumnNames();
2882
2884 static const std::unordered_set<std::string>& BlobColumns();
2885
2887 static modelUtil::DbType DbType();
2888
2890 static const std::vector<std::string>& PrimaryKey();
2891
2893 const int16_t& MapKey() const;
2894
2895 };
2896
2901 {
2903 public:
2905
2909 int16_t Index = {};
2910
2914 uint8_t Level = {};
2915
2919 uint8_t Stage = {};
2920
2924 uint8_t StageLevel = {};
2925
2929 int16_t Time = {};
2930
2934 int16_t MonsterId = {};
2935
2939 int16_t Count = {};
2940
2944 int16_t PosX = {};
2945
2949 int16_t PosZ = {};
2950
2954 uint8_t Range = {};
2955
2957 static const std::string& TableName();
2958
2960 static const std::unordered_set<std::string>& ColumnNames();
2961
2963 static const std::vector<std::string>& OrderedColumnNames();
2964
2966 static const std::unordered_set<std::string>& BlobColumns();
2967
2969 static modelUtil::DbType DbType();
2970
2972 static const std::vector<std::string>& PrimaryKey();
2973
2975 const int16_t& MapKey() const;
2976
2977 };
2978
2983 {
2985 public:
2986 using BinderType = ebenezer_binder::RentalItem;
2987
2991 int32_t RentalIndex = {};
2992
2996 int32_t ItemIndex = {};
2997
3001 int16_t Durability = {};
3002
3006 int64_t SerialNumber = {};
3007
3011 uint8_t RegType = {};
3012
3016 uint8_t ItemType = {};
3017
3021 uint8_t Class = {};
3022
3026 int16_t RentalTime = {};
3027
3031 int32_t RentalMoney = {};
3032
3036 std::string LenderCharId;
3037
3041 std::string LenderAccountId;
3042
3046 std::optional<std::string> BorrowerCharId;
3047
3051 std::optional<std::string> BorrowerAccountId;
3052
3054 static const std::string& TableName();
3055
3057 static const std::unordered_set<std::string>& ColumnNames();
3058
3060 static const std::vector<std::string>& OrderedColumnNames();
3061
3063 static const std::unordered_set<std::string>& BlobColumns();
3064
3066 static modelUtil::DbType DbType();
3067
3069 static const std::vector<std::string>& PrimaryKey();
3070
3072 const int32_t& MapKey() const;
3073
3074 };
3075
3080 {
3082 public:
3083 using BinderType = ebenezer_binder::ServerResource;
3084
3088 int32_t ResourceId = {};
3089
3093 std::string Resource;
3094
3096 static const std::string& TableName();
3097
3099 static const std::unordered_set<std::string>& ColumnNames();
3100
3102 static const std::vector<std::string>& OrderedColumnNames();
3103
3105 static const std::unordered_set<std::string>& BlobColumns();
3106
3108 static modelUtil::DbType DbType();
3109
3111 static const std::vector<std::string>& PrimaryKey();
3112
3114 const int32_t& MapKey() const;
3115
3116 };
3117
3122 {
3124 public:
3125 using BinderType = ebenezer_binder::StartPosition;
3126
3130 int16_t ZoneId = {};
3131
3135 int16_t KarusX = {};
3136
3140 int16_t KarusZ = {};
3141
3145 int16_t ElmoX = {};
3146
3150 int16_t ElmoZ = {};
3151
3155 uint8_t RangeX = {};
3156
3160 uint8_t RangeZ = {};
3161
3165 int16_t KarusGateX = {};
3166
3170 int16_t KarusGateZ = {};
3171
3175 int16_t ElmoGateX = {};
3176
3180 int16_t ElmoGateZ = {};
3181
3183 static const std::string& TableName();
3184
3186 static const std::unordered_set<std::string>& ColumnNames();
3187
3189 static const std::vector<std::string>& OrderedColumnNames();
3190
3192 static const std::unordered_set<std::string>& BlobColumns();
3193
3195 static modelUtil::DbType DbType();
3196
3198 static const std::vector<std::string>& PrimaryKey();
3199
3201 const int16_t& MapKey() const;
3202
3203 };
3204
3209 {
3211 public:
3212 using BinderType = ebenezer_binder::UserKnightsRank;
3213
3217 int16_t Index = {};
3218
3222 std::optional<std::string> ElmoUserId;
3223
3227 std::optional<std::string> KarusUserId;
3228
3232 int32_t Money = {};
3233
3235 static const std::string& TableName();
3236
3238 static const std::unordered_set<std::string>& ColumnNames();
3239
3241 static const std::vector<std::string>& OrderedColumnNames();
3242
3244 static const std::unordered_set<std::string>& BlobColumns();
3245
3247 static modelUtil::DbType DbType();
3248
3250 static const std::vector<std::string>& PrimaryKey();
3251
3253 const int16_t& MapKey() const;
3254
3255 };
3256
3261 {
3263 public:
3264 using BinderType = ebenezer_binder::UserPersonalRank;
3265
3269 int16_t Rank = {};
3270
3274 std::optional<std::string> ElmoUserId;
3275
3279 std::optional<std::string> KarusUserId;
3280
3284 int32_t Salary = {};
3285
3287 static const std::string& TableName();
3288
3290 static const std::unordered_set<std::string>& ColumnNames();
3291
3293 static const std::vector<std::string>& OrderedColumnNames();
3294
3296 static const std::unordered_set<std::string>& BlobColumns();
3297
3299 static modelUtil::DbType DbType();
3300
3302 static const std::vector<std::string>& PrimaryKey();
3303
3305 const int16_t& MapKey() const;
3306
3307 };
3308
3313 {
3315 public:
3316 using BinderType = ebenezer_binder::WebpageAddress;
3317
3321 int32_t Index = {};
3322
3326 std::string WebPageAddress;
3327
3329 static const std::string& TableName();
3330
3332 static const std::unordered_set<std::string>& ColumnNames();
3333
3335 static const std::vector<std::string>& OrderedColumnNames();
3336
3338 static const std::unordered_set<std::string>& BlobColumns();
3339
3341 static modelUtil::DbType DbType();
3342
3344 static const std::vector<std::string>& PrimaryKey();
3345
3347 const int32_t& MapKey() const;
3348
3349 };
3350
3355 {
3357 public:
3358 using BinderType = ebenezer_binder::ZoneInfo;
3359
3363 uint8_t ServerId = {};
3364
3368 int16_t ZoneId = {};
3369
3373 std::string Name;
3374
3378 int32_t InitX = {};
3379
3383 int32_t InitZ = {};
3384
3388 int32_t InitY = {};
3389
3393 uint8_t Type = {};
3394
3398 uint8_t RoomEvent = {};
3399
3401 static const std::string& TableName();
3402
3404 static const std::unordered_set<std::string>& ColumnNames();
3405
3407 static const std::vector<std::string>& OrderedColumnNames();
3408
3410 static const std::unordered_set<std::string>& BlobColumns();
3411
3413 static modelUtil::DbType DbType();
3414
3416 static const std::vector<std::string>& PrimaryKey();
3417
3419 const int16_t& MapKey() const;
3420
3421 };
3422}
3423
3424#endif // EBENEZER_MODEL_EBENEZERMODEL_H
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