1#ifndef STOREDPROC_STOREDPROC_H
2#define STOREDPROC_STOREDPROC_H
6#include <ModelUtil/ModelUtil.h>
8#include <detail/StoredProc/StoredProcedure.h>
10#include <nanodbc/nanodbc.h>
24 AccountLogin(std::shared_ptr<nanodbc::connection> conn);
27 static const std::string&
Query();
34 std::weak_ptr<nanodbc::result>
execute(
35 const char* accountID,
const char* password, int16_t* nRet)
noexcept(
false);
48 AccountLogout(std::shared_ptr<nanodbc::connection> conn);
51 static const std::string&
Query();
58 std::weak_ptr<nanodbc::result>
execute(
59 const char* accountID,
const int32_t logoutCode, int16_t* nRet,
60 int16_t* nRet2)
noexcept(
false);
72 ChangeCastleCommerce();
73 ChangeCastleCommerce(std::shared_ptr<nanodbc::connection> conn);
76 static const std::string&
Query();
83 std::weak_ptr<nanodbc::result>
execute(
84 const int16_t sCastleIndex,
const uint8_t byType,
const int32_t nMoradonTariff,
85 const int32_t nDelosTariff,
const int32_t nMoney,
const char* accountId,
86 const char* charId)
noexcept(
false);
95 ChangeCopySerialItem();
96 ChangeCopySerialItem(std::shared_ptr<nanodbc::connection> conn);
99 static const std::string&
Query();
106 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
115 ChangeCopySerialItemTable();
116 ChangeCopySerialItemTable(std::shared_ptr<nanodbc::connection> conn);
119 static const std::string&
Query();
126 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
136 ChangeKnightsCape(std::shared_ptr<nanodbc::connection> conn);
139 static const std::string&
Query();
146 std::weak_ptr<nanodbc::result>
execute(
147 const int16_t KnightsIndex,
const int16_t CapeIndex)
noexcept(
false);
157 CheckKnights(std::shared_ptr<nanodbc::connection> conn);
160 static const std::string&
Query();
167 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
176 ClaimUserRankStipend();
177 ClaimUserRankStipend(std::shared_ptr<nanodbc::connection> conn);
180 static const std::string&
Query();
187 std::weak_ptr<nanodbc::result>
execute(
188 uint8_t* ResultCode,
const uint8_t RankType,
const uint8_t Rank,
189 const uint8_t Nation,
const char* CharId)
noexcept(
false);
202 ClearRemainUsers(std::shared_ptr<nanodbc::connection> conn);
205 static const std::string&
Query();
212 std::weak_ptr<nanodbc::result>
execute(
213 const char* strServerIP)
noexcept(
false);
223 CreateKnights(std::shared_ptr<nanodbc::connection> conn);
226 static const std::string&
Query();
233 std::weak_ptr<nanodbc::result>
execute(
234 int16_t* nRet,
const int16_t index,
const uint8_t nation,
235 const uint8_t community,
const char* strName,
const char* strChief)
noexcept(
false);
248 CreateKnights2(std::shared_ptr<nanodbc::connection> conn);
251 static const std::string&
Query();
258 std::weak_ptr<nanodbc::result>
execute(
259 int16_t* nRet, int16_t* index,
const uint8_t nation,
260 const uint8_t community,
const char* strName,
const char* strChief)
noexcept(
false);
273 CreateNewChar(std::shared_ptr<nanodbc::connection> conn);
276 static const std::string&
Query();
283 std::weak_ptr<nanodbc::result>
execute(
284 int16_t* nRet,
const char* AccountID,
const uint8_t index,
285 const char* CharID,
const uint8_t Race,
const int16_t Class,
286 const uint8_t Hair,
const uint8_t Face,
const uint8_t Str,
287 const uint8_t Sta,
const uint8_t Dex,
const uint8_t Intel,
288 const uint8_t Cha)
noexcept(
false);
301 DeleteFriendList(std::shared_ptr<nanodbc::connection> conn);
304 static const std::string&
Query();
311 std::weak_ptr<nanodbc::result>
execute(
312 const char* strUserID,
const char* strFriend, int16_t* nRet)
noexcept(
false);
325 DeleteKnights(std::shared_ptr<nanodbc::connection> conn);
328 static const std::string&
Query();
335 std::weak_ptr<nanodbc::result>
execute(
336 int16_t* nRet,
const int16_t knightsindex)
noexcept(
false);
349 EditerKnights(std::shared_ptr<nanodbc::connection> conn);
352 static const std::string&
Query();
359 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
369 ExecKnightsUser(std::shared_ptr<nanodbc::connection> conn);
372 static const std::string&
Query();
379 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
389 GivePremium(std::shared_ptr<nanodbc::connection> conn);
392 static const std::string&
Query();
399 std::weak_ptr<nanodbc::result>
execute(
400 const char* strAccountID,
const char* strUserID,
const int32_t days)
noexcept(
false);
410 InsertFriendList(std::shared_ptr<nanodbc::connection> conn);
413 static const std::string&
Query();
420 std::weak_ptr<nanodbc::result>
execute(
421 const char* strUserID,
const char* strFriend, int16_t* nRet)
noexcept(
false);
433 InsertHacktoolUser();
434 InsertHacktoolUser(std::shared_ptr<nanodbc::connection> conn);
437 static const std::string&
Query();
444 std::weak_ptr<nanodbc::result>
execute(
445 const char* AccountID,
const char* CharID,
const char* HackToolName)
noexcept(
false);
454 InsertProgramCheckUser();
455 InsertProgramCheckUser(std::shared_ptr<nanodbc::connection> conn);
458 static const std::string&
Query();
465 std::weak_ptr<nanodbc::result>
execute(
466 const char* strAccountID,
const char* strCharID,
const char* HackToolName)
noexcept(
false);
475 KingCandidacyNoticeBoardProc();
476 KingCandidacyNoticeBoardProc(std::shared_ptr<nanodbc::connection> conn);
479 static const std::string&
Query();
486 std::weak_ptr<nanodbc::result>
execute(
487 const char* strUserID,
const int16_t sNoticeLen,
const uint8_t byNation,
488 const std::vector<uint8_t>& strNotice)
noexcept(
false);
497 KingCandidacyRecommend();
498 KingCandidacyRecommend(std::shared_ptr<nanodbc::connection> conn);
501 static const std::string&
Query();
508 std::weak_ptr<nanodbc::result>
execute(
509 const char* CharID_1,
const char* CharID_2,
const uint8_t nNation,
510 int16_t* nRet)
noexcept(
false);
523 KingChangeTax(std::shared_ptr<nanodbc::connection> conn);
526 static const std::string&
Query();
533 std::weak_ptr<nanodbc::result>
execute(
534 const uint8_t byType,
const uint8_t byNation,
const int32_t nKarusTax1,
535 const int32_t nKarusTax2,
const int32_t nKarusTax3,
const int32_t nElmoTax1,
536 const int32_t nElmoTax2,
const int32_t nElmoTax3)
noexcept(
false);
546 KingElectionProc(std::shared_ptr<nanodbc::connection> conn);
549 static const std::string&
Query();
556 std::weak_ptr<nanodbc::result>
execute(
557 const char* strAccountID,
const char* strCharID,
const uint8_t byNation,
558 const char* strCandidacyID, int16_t* nRet)
noexcept(
false);
570 KingImpeachmentElection();
571 KingImpeachmentElection(std::shared_ptr<nanodbc::connection> conn);
574 static const std::string&
Query();
581 std::weak_ptr<nanodbc::result>
execute(
582 const uint8_t byResult,
const uint8_t byNation,
const char* strAccountID,
583 const char* strCharID, int16_t* nRet)
noexcept(
false);
595 KingImpeachmentRequestElection();
596 KingImpeachmentRequestElection(std::shared_ptr<nanodbc::connection> conn);
599 static const std::string&
Query();
606 std::weak_ptr<nanodbc::result>
execute(
607 const int16_t byType,
const uint8_t byNation,
const char* strUserID)
noexcept(
false);
616 KingImpeachmentResult();
617 KingImpeachmentResult(std::shared_ptr<nanodbc::connection> conn);
620 static const std::string&
Query();
627 std::weak_ptr<nanodbc::result>
execute(
628 const uint8_t byNation, int16_t* nTotalMan, int16_t* nAgreeMan)
noexcept(
false);
640 KingInsertPrizeEvent();
641 KingInsertPrizeEvent(std::shared_ptr<nanodbc::connection> conn);
644 static const std::string&
Query();
651 std::weak_ptr<nanodbc::result>
execute(
652 const uint8_t byType,
const uint8_t byNation,
const int32_t nAmount,
653 const char* strUserID)
noexcept(
false);
662 KingUpdateElectionList();
663 KingUpdateElectionList(std::shared_ptr<nanodbc::connection> conn);
666 static const std::string&
Query();
673 std::weak_ptr<nanodbc::result>
execute(
674 const uint8_t byDBType,
const uint8_t byType,
const uint8_t byNation,
675 const int16_t nKnights,
const int32_t nAmount,
const char* strUserID)
noexcept(
false);
684 KingUpdateElectionSchdule();
685 KingUpdateElectionSchdule(std::shared_ptr<nanodbc::connection> conn);
688 static const std::string&
Query();
695 std::weak_ptr<nanodbc::result>
execute(
696 const uint8_t byType,
const uint8_t byNation,
const int16_t sYear,
697 const uint8_t byMonth,
const uint8_t byDay,
const uint8_t byHour,
698 const uint8_t byMinute)
noexcept(
false);
707 KingUpdateElectionStatus();
708 KingUpdateElectionStatus(std::shared_ptr<nanodbc::connection> conn);
711 static const std::string&
Query();
718 std::weak_ptr<nanodbc::result>
execute(
719 const uint8_t byType,
const uint8_t byNation)
noexcept(
false);
728 KingUpdateImpeachmentStatus();
729 KingUpdateImpeachmentStatus(std::shared_ptr<nanodbc::connection> conn);
732 static const std::string&
Query();
739 std::weak_ptr<nanodbc::result>
execute(
740 const uint8_t byType,
const uint8_t byNation,
const int16_t sYear,
741 const uint8_t byMonth,
const uint8_t byDay,
const uint8_t byHour,
742 const uint8_t byMinute,
const char* strUserID)
noexcept(
false);
751 KingUpdateNoahOrExpEvent();
752 KingUpdateNoahOrExpEvent(std::shared_ptr<nanodbc::connection> conn);
755 static const std::string&
Query();
762 std::weak_ptr<nanodbc::result>
execute(
763 const uint8_t byType,
const uint8_t byNation,
const uint8_t byAmount,
764 const uint8_t byDay,
const uint8_t byHout,
const uint8_t byMinute,
765 const int16_t sDurationTime)
noexcept(
false);
774 KnightsRatingUpdate();
775 KnightsRatingUpdate(std::shared_ptr<nanodbc::connection> conn);
778 static const std::string&
Query();
785 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
795 LoadAccountCharid(std::shared_ptr<nanodbc::connection> conn);
798 static const std::string&
Query();
805 std::weak_ptr<nanodbc::result>
execute(
int* returnValue,
806 const char* Accountid)
noexcept(
false);
819 LoadCharInfo(std::shared_ptr<nanodbc::connection> conn);
822 static const std::string&
Query();
829 std::weak_ptr<nanodbc::result>
execute(
830 const char* CharId, int16_t* nRet)
noexcept(
false);
842 LoadKnightsMembers();
843 LoadKnightsMembers(std::shared_ptr<nanodbc::connection> conn);
846 static const std::string&
Query();
853 std::weak_ptr<nanodbc::result>
execute(
854 const int16_t knightsindex)
noexcept(
false);
863 LoadPremiumServiceUser();
864 LoadPremiumServiceUser(std::shared_ptr<nanodbc::connection> conn);
867 static const std::string&
Query();
874 std::weak_ptr<nanodbc::result>
execute(
875 const char* AccountID, int32_t* type, int32_t* days)
noexcept(
false);
888 LoadRentalData(std::shared_ptr<nanodbc::connection> conn);
891 static const std::string&
Query();
898 std::weak_ptr<nanodbc::result>
execute(
899 const char* strAccountID)
noexcept(
false);
909 LoadSavedMagic(std::shared_ptr<nanodbc::connection> conn);
912 static const std::string&
Query();
919 std::weak_ptr<nanodbc::result>
execute(
920 const char* CharId, int16_t* nRet)
noexcept(
false);
933 LoadUserData(std::shared_ptr<nanodbc::connection> conn);
936 static const std::string&
Query();
943 std::weak_ptr<nanodbc::result>
execute(
944 const char* AccountID,
const char*
id, int16_t* nRet)
noexcept(
false);
957 LoadWebItemmall(std::shared_ptr<nanodbc::connection> conn);
960 static const std::string&
Query();
967 std::weak_ptr<nanodbc::result>
execute(
968 const char* strCharID)
noexcept(
false);
978 NationSelect(std::shared_ptr<nanodbc::connection> conn);
981 static const std::string&
Query();
988 std::weak_ptr<nanodbc::result>
execute(
989 int16_t* nRet,
const char* AccountID,
const uint8_t Nation)
noexcept(
false);
1001 ProcInsertCurrentuser();
1002 ProcInsertCurrentuser(std::shared_ptr<nanodbc::connection> conn);
1005 static const std::string&
Query();
1012 std::weak_ptr<nanodbc::result>
execute(
1013 const char* AccountID,
const char* CharID,
const int16_t nServerNo,
1014 const char* strServerIP,
const char* ClientIP, int16_t* nRet)
noexcept(
false);
1027 RankKnights(std::shared_ptr<nanodbc::connection> conn);
1030 static const std::string&
Query();
1037 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
1047 RentalItemCancel(std::shared_ptr<nanodbc::connection> conn);
1050 static const std::string&
Query();
1057 std::weak_ptr<nanodbc::result>
execute(
1058 const char* AccountID,
const char* CharID,
const int32_t nRentalIndex,
1059 const int32_t nItemNumber, int16_t* nRet)
noexcept(
false);
1071 RentalItemDestory();
1072 RentalItemDestory(std::shared_ptr<nanodbc::connection> conn);
1075 static const std::string&
Query();
1082 std::weak_ptr<nanodbc::result>
execute(
1083 const char* AccountID,
const char* CharID,
const int32_t nItemNumber,
1084 const int32_t nRentalIndex,
const int16_t nDurability, int16_t* nRet)
noexcept(
false);
1096 RentalItemDurabilityUpdate();
1097 RentalItemDurabilityUpdate(std::shared_ptr<nanodbc::connection> conn);
1100 static const std::string&
Query();
1107 std::weak_ptr<nanodbc::result>
execute(
1108 const int32_t nRentalIndex,
const int32_t nDurability)
noexcept(
false);
1118 RentalItemLend(std::shared_ptr<nanodbc::connection> conn);
1121 static const std::string&
Query();
1128 std::weak_ptr<nanodbc::result>
execute(
1129 const char* AccountID,
const char* CharID,
const int32_t nRentalIndex,
1130 const int32_t nItemNumber, int16_t* nRet)
noexcept(
false);
1142 RentalItemRegister();
1143 RentalItemRegister(std::shared_ptr<nanodbc::connection> conn);
1146 static const std::string&
Query();
1153 std::weak_ptr<nanodbc::result>
execute(
1154 const char* charID,
const char* AccountID,
const int16_t sRentalTime,
1155 const int32_t nItemID,
const int16_t sDurability,
const int32_t nMoney,
1156 const uint8_t bGameBangType,
const uint8_t bItemType,
const uint8_t bItemClass,
1157 const int64_t nSerialNumber, int32_t* nRet_Index, int16_t* nRet)
noexcept(
false);
1169 ResetLoyaltyMonthly();
1170 ResetLoyaltyMonthly(std::shared_ptr<nanodbc::connection> conn);
1173 static const std::string&
Query();
1180 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
1189 SkillshortcutLoad();
1190 SkillshortcutLoad(std::shared_ptr<nanodbc::connection> conn);
1193 static const std::string&
Query();
1200 std::weak_ptr<nanodbc::result>
execute(
1201 const char* strCharID)
noexcept(
false);
1210 SkillshortcutSave();
1211 SkillshortcutSave(std::shared_ptr<nanodbc::connection> conn);
1214 static const std::string&
Query();
1221 std::weak_ptr<nanodbc::result>
execute(
1222 const char* strCharID,
const int16_t nCount,
const char* strSkillData)
noexcept(
false);
1232 UpdateBattleHero(std::shared_ptr<nanodbc::connection> conn);
1235 static const std::string&
Query();
1242 std::weak_ptr<nanodbc::result>
execute(
1243 const char* strCharID,
const char* strNation,
const char* strClass,
1244 const char* strAchievement,
const int16_t nIndex)
noexcept(
false);
1253 UpdateBattleResult();
1254 UpdateBattleResult(std::shared_ptr<nanodbc::connection> conn);
1257 static const std::string&
Query();
1264 std::weak_ptr<nanodbc::result>
execute(
1265 const char* UserId,
const uint8_t byNation,
const int16_t index)
noexcept(
false);
1274 UpdateEditorItemData();
1275 UpdateEditorItemData(std::shared_ptr<nanodbc::connection> conn);
1278 static const std::string&
Query();
1285 std::weak_ptr<nanodbc::result>
execute(
1286 const char* charid,
const char* accountid,
const char* opid,
1287 const char* opip,
const int16_t sPos,
const int32_t nItemID1,
1288 const int32_t nItemID2,
const uint8_t byType,
const int16_t sDBIndex)
noexcept(
false);
1298 UpdateKnights(std::shared_ptr<nanodbc::connection> conn);
1301 static const std::string&
Query();
1308 std::weak_ptr<nanodbc::result>
execute(
1309 int16_t* nRet,
const uint8_t Type,
const char* UserId,
1310 const int16_t KnightsIndex,
const uint8_t Domination)
noexcept(
false);
1322 UpdateKnightsAlliance();
1323 UpdateKnightsAlliance(std::shared_ptr<nanodbc::connection> conn);
1326 static const std::string&
Query();
1333 std::weak_ptr<nanodbc::result>
execute(
1334 const uint8_t byType,
const int16_t shAlliancIndex,
const int16_t shKnightsIndex,
1335 const uint8_t byEmptyIndex,
const uint8_t bySiegeFlag)
noexcept(
false);
1344 UpdateKnightsMark();
1345 UpdateKnightsMark(std::shared_ptr<nanodbc::connection> conn);
1348 static const std::string&
Query();
1355 std::weak_ptr<nanodbc::result>
execute(
1356 int16_t* nRet,
const int16_t IDNum,
const int16_t MarkLen,
1357 const std::vector<uint8_t>& KnightMark)
noexcept(
false);
1370 UpdateKnightsWar(std::shared_ptr<nanodbc::connection> conn);
1373 static const std::string&
Query();
1380 std::weak_ptr<nanodbc::result>
execute(
1381 const uint8_t byType,
const int16_t shWhite,
const int16_t shBlue)
noexcept(
false);
1390 UpdatePersonalRank();
1391 UpdatePersonalRank(std::shared_ptr<nanodbc::connection> conn);
1394 static const std::string&
Query();
1401 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
1410 UpdatePremiumServiceUser();
1411 UpdatePremiumServiceUser(std::shared_ptr<nanodbc::connection> conn);
1414 static const std::string&
Query();
1421 std::weak_ptr<nanodbc::result>
execute(
int* returnValue,
1422 const char* AccountID,
const int16_t Days)
noexcept(
false);
1435 UpdateSavedMagic(std::shared_ptr<nanodbc::connection> conn);
1438 static const std::string&
Query();
1445 std::weak_ptr<nanodbc::result>
execute(
1446 const char* strCharID,
const int32_t Skill1,
const int16_t During1,
1447 const int32_t Skill2,
const int16_t During2,
const int32_t Skill3,
1448 const int16_t During3,
const int32_t Skill4,
const int16_t During4,
1449 const int32_t Skill5,
const int16_t During5,
const int32_t Skill6,
1450 const int16_t During6,
const int32_t Skill7,
const int16_t During7,
1451 const int32_t Skill8,
const int16_t During8,
const int32_t Skill9,
1452 const int16_t During9,
const int32_t Skill10,
const int16_t During10)
noexcept(
false);
1462 UpdateSiege(std::shared_ptr<nanodbc::connection> conn);
1465 static const std::string&
Query();
1472 std::weak_ptr<nanodbc::result>
execute(
1473 const int16_t sCastleIndex,
const int16_t sKnightsIndex,
const uint8_t byWarType,
1474 const uint8_t byUpdateType,
const uint8_t byWarDay,
const uint8_t byWarTime,
1475 const uint8_t byWarMinute)
noexcept(
false);
1484 UpdateSiegeChallenger();
1485 UpdateSiegeChallenger(std::shared_ptr<nanodbc::connection> conn);
1488 static const std::string&
Query();
1495 std::weak_ptr<nanodbc::result>
execute(
1496 const int16_t sCastleIndex,
const char* strChallengerList)
noexcept(
false);
1505 UpdateSiegeChallenger2();
1506 UpdateSiegeChallenger2(std::shared_ptr<nanodbc::connection> conn);
1509 static const std::string&
Query();
1516 std::weak_ptr<nanodbc::result>
execute(
1517 const int16_t sCastleIndex,
const int16_t sKnights_1,
const int16_t sKnights_2,
1518 const int16_t sKnights_3,
const int16_t sKnights_4,
const int16_t sKnights_5,
1519 const int16_t sKnights_6,
const int16_t sKnights_7,
const int16_t sKnights_8,
1520 const int16_t sKnights_9,
const int16_t sKnights_10,
const char* strChallengerList)
noexcept(
false);
1529 UpdateSiegeDecideChallenger();
1530 UpdateSiegeDecideChallenger(std::shared_ptr<nanodbc::connection> conn);
1533 static const std::string&
Query();
1540 std::weak_ptr<nanodbc::result>
execute(
1541 const int16_t sCastleIndex,
const int16_t sKnights_1,
const int16_t sKnights_2,
1542 const int16_t sKnights_3,
const int16_t sKnights_4,
const int16_t sKnights_5,
1543 const int16_t sKnights_6,
const int16_t sKnights_7,
const int16_t sKnights_8,
1544 const int16_t sKnights_9,
const int16_t sKnights_10)
noexcept(
false);
1554 UpdateUserData(std::shared_ptr<nanodbc::connection> conn);
1557 static const std::string&
Query();
1564 std::weak_ptr<nanodbc::result>
execute(
1565 const char*
id,
const uint8_t Nation,
const uint8_t Race,
1566 const int16_t Class,
const uint8_t HairColor,
const uint8_t Rank,
1567 const uint8_t Title,
const uint8_t Level,
const int32_t Exp,
1568 const int32_t Loyalty,
const uint8_t Face,
const uint8_t City,
1569 const int16_t Knights,
const uint8_t Fame,
const int16_t Hp,
1570 const int16_t Mp,
const int16_t Sp,
const uint8_t Str,
1571 const uint8_t Sta,
const uint8_t Dex,
const uint8_t Intel,
1572 const uint8_t Cha,
const uint8_t Authority,
const uint8_t Points,
1573 const int32_t Gold,
const uint8_t Zone,
const int16_t Bind,
1574 const int32_t PX,
const int32_t PZ,
const int32_t PY,
1575 const int32_t dwTime,
const int16_t QuestTotal,
const std::vector<uint8_t>& strSkill,
1576 const std::vector<uint8_t>& strItem,
const std::vector<uint8_t>& strSerial,
const std::vector<uint8_t>& strQuest,
1577 const int32_t MannerPoint,
const int32_t LoyaltyMonthly)
noexcept(
false);
1587 UpdateWarehouse(std::shared_ptr<nanodbc::connection> conn);
1590 static const std::string&
Query();
1597 std::weak_ptr<nanodbc::result>
execute(
1598 const char* accountid,
const int32_t Money,
const int32_t dwTime,
1599 const std::vector<uint8_t>& strItem,
const std::vector<uint8_t>& strSerial)
noexcept(
false);
1608 UserKnightsRatingUpdate();
1609 UserKnightsRatingUpdate(std::shared_ptr<nanodbc::connection> conn);
1612 static const std::string&
Query();
1619 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:16
~AccountLogin()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:40
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:22
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:61
~AccountLogout()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:81
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:55
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:102
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:96
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:163
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:174
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:169
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:136
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:142
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:147
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:196
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:190
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:229
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:223
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:234
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:256
~ClaimUserRankStipend()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:277
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:250
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:292
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:298
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:373
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:367
~CreateKnights2()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:395
~CreateKnights()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:352
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:324
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:330
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:410
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:416
~CreateNewChar()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:448
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:463
~DeleteFriendList()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:487
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:469
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:502
~DeleteKnights()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:525
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:508
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:551
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:540
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:546
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:567
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:578
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:573
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:600
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:594
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:634
~InsertFriendList()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:652
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:628
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:701
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:707
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:735
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:741
~KingCandidacyRecommend()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:797
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:771
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:777
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:818
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:812
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:859
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:853
~KingElectionProc()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:880
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:901
~KingImpeachmentElection()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:922
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:895
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:937
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:943
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:971
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:977
~KingImpeachmentResult()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:995
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1010
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1016
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1052
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1046
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1084
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1090
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1130
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1124
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1163
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1157
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1198
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1204
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1244
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:1249
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1238
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1265
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1271
~LoadAccountCharid()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1288
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1303
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1309
~LoadCharInfo()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1326
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1341
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1347
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1373
~LoadPremiumServiceUser()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1397
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1379
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1418
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1412
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1450
~LoadSavedMagic()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1467
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1444
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1482
~LoadUserData()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1506
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1488
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1527
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1521
~NationSelect()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1577
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1553
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1559
~ProcInsertCurrentuser()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1620
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1598
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1592
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1641
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:1646
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1635
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1668
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1662
~RentalItemCancel()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1689
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1704
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1710
~RentalItemDestory()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1732
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1753
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1747
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1786
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1780
~RentalItemLend()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1807
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1828
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1822
~RentalItemRegister()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1858
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:1884
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1873
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1879
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1906
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1900
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1938
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1932
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1972
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1966
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2003
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2009
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2043
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2037
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2121
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2127
~UpdateKnightsMark()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:2184
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2158
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2164
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2205
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2199
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2085
~UpdateKnights()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:2106
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2079
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:2244
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2239
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2233
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2260
~UpdatePremiumServiceUser()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:2284
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2266
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2305
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2299
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2436
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2430
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2397
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2403
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2482
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2476
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2357
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2363
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2521
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2527
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2602
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2608
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:2650
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2639
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2645
Definition StoredProcedure.h:16
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the currently prepared statement.
Definition StoredProcedure.cpp:44
DbType
Database type identifier.
Definition ModelUtil.h:14