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);
177 ClearRemainUsers(std::shared_ptr<nanodbc::connection> conn);
180 static const std::string&
Query();
187 std::weak_ptr<nanodbc::result>
execute(
188 const char* strServerIP)
noexcept(
false);
198 CreateKnights(std::shared_ptr<nanodbc::connection> conn);
201 static const std::string&
Query();
208 std::weak_ptr<nanodbc::result>
execute(
209 int16_t* nRet,
const int16_t index,
const uint8_t nation,
210 const uint8_t community,
const char* strName,
const char* strChief)
noexcept(
false);
223 CreateKnights2(std::shared_ptr<nanodbc::connection> conn);
226 static const std::string&
Query();
233 std::weak_ptr<nanodbc::result>
execute(
234 int16_t* nRet, int16_t* index,
const uint8_t nation,
235 const uint8_t community,
const char* strName,
const char* strChief)
noexcept(
false);
248 CreateNewChar(std::shared_ptr<nanodbc::connection> conn);
251 static const std::string&
Query();
258 std::weak_ptr<nanodbc::result>
execute(
259 int16_t* nRet,
const char* AccountID,
const uint8_t index,
260 const char* CharID,
const uint8_t Race,
const int16_t Class,
261 const uint8_t Hair,
const uint8_t Face,
const uint8_t Str,
262 const uint8_t Sta,
const uint8_t Dex,
const uint8_t Intel,
263 const uint8_t Cha)
noexcept(
false);
276 DeleteFriendList(std::shared_ptr<nanodbc::connection> conn);
279 static const std::string&
Query();
286 std::weak_ptr<nanodbc::result>
execute(
287 const char* strUserID,
const char* strFriend, int16_t* nRet)
noexcept(
false);
300 DeleteKnights(std::shared_ptr<nanodbc::connection> conn);
303 static const std::string&
Query();
310 std::weak_ptr<nanodbc::result>
execute(
311 int16_t* nRet,
const int16_t knightsindex)
noexcept(
false);
324 EditerKnights(std::shared_ptr<nanodbc::connection> conn);
327 static const std::string&
Query();
334 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
344 ExecKnightsUser(std::shared_ptr<nanodbc::connection> conn);
347 static const std::string&
Query();
354 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
364 GivePremium(std::shared_ptr<nanodbc::connection> conn);
367 static const std::string&
Query();
374 std::weak_ptr<nanodbc::result>
execute(
375 const char* strAccountID,
const char* strUserID,
const int32_t days)
noexcept(
false);
385 InsertFriendList(std::shared_ptr<nanodbc::connection> conn);
388 static const std::string&
Query();
395 std::weak_ptr<nanodbc::result>
execute(
396 const char* strUserID,
const char* strFriend, int16_t* nRet)
noexcept(
false);
408 InsertHacktoolUser();
409 InsertHacktoolUser(std::shared_ptr<nanodbc::connection> conn);
412 static const std::string&
Query();
419 std::weak_ptr<nanodbc::result>
execute(
420 const char* AccountID,
const char* CharID,
const char* HackToolName)
noexcept(
false);
429 InsertProgramCheckUser();
430 InsertProgramCheckUser(std::shared_ptr<nanodbc::connection> conn);
433 static const std::string&
Query();
440 std::weak_ptr<nanodbc::result>
execute(
441 const char* strAccountID,
const char* strCharID,
const char* HackToolName)
noexcept(
false);
450 KingCandidacyNoticeBoardProc();
451 KingCandidacyNoticeBoardProc(std::shared_ptr<nanodbc::connection> conn);
454 static const std::string&
Query();
461 std::weak_ptr<nanodbc::result>
execute(
462 const char* strUserID,
const int16_t sNoticeLen,
const uint8_t byNation,
463 const std::vector<uint8_t>& strNotice)
noexcept(
false);
472 KingCandidacyRecommend();
473 KingCandidacyRecommend(std::shared_ptr<nanodbc::connection> conn);
476 static const std::string&
Query();
483 std::weak_ptr<nanodbc::result>
execute(
484 const char* CharID_1,
const char* CharID_2,
const uint8_t nNation,
485 int16_t* nRet)
noexcept(
false);
498 KingChangeTax(std::shared_ptr<nanodbc::connection> conn);
501 static const std::string&
Query();
508 std::weak_ptr<nanodbc::result>
execute(
509 const uint8_t byType,
const uint8_t byNation,
const int32_t nKarusTax1,
510 const int32_t nKarusTax2,
const int32_t nKarusTax3,
const int32_t nElmoTax1,
511 const int32_t nElmoTax2,
const int32_t nElmoTax3)
noexcept(
false);
521 KingElectionProc(std::shared_ptr<nanodbc::connection> conn);
524 static const std::string&
Query();
531 std::weak_ptr<nanodbc::result>
execute(
532 const char* strAccountID,
const char* strCharID,
const uint8_t byNation,
533 const char* strCandidacyID, int16_t* nRet)
noexcept(
false);
545 KingImpeachmentElection();
546 KingImpeachmentElection(std::shared_ptr<nanodbc::connection> conn);
549 static const std::string&
Query();
556 std::weak_ptr<nanodbc::result>
execute(
557 const uint8_t byResult,
const uint8_t byNation,
const char* strAccountID,
558 const char* strCharID, int16_t* nRet)
noexcept(
false);
570 KingImpeachmentRequestElection();
571 KingImpeachmentRequestElection(std::shared_ptr<nanodbc::connection> conn);
574 static const std::string&
Query();
581 std::weak_ptr<nanodbc::result>
execute(
582 const int16_t byType,
const uint8_t byNation,
const char* strUserID)
noexcept(
false);
591 KingImpeachmentResult();
592 KingImpeachmentResult(std::shared_ptr<nanodbc::connection> conn);
595 static const std::string&
Query();
602 std::weak_ptr<nanodbc::result>
execute(
603 const uint8_t byNation, int16_t* nTotalMan, int16_t* nAgreeMan)
noexcept(
false);
615 KingInsertPrizeEvent();
616 KingInsertPrizeEvent(std::shared_ptr<nanodbc::connection> conn);
619 static const std::string&
Query();
626 std::weak_ptr<nanodbc::result>
execute(
627 const uint8_t byType,
const uint8_t byNation,
const int32_t nAmount,
628 const char* strUserID)
noexcept(
false);
637 KingUpdateElectionList();
638 KingUpdateElectionList(std::shared_ptr<nanodbc::connection> conn);
641 static const std::string&
Query();
648 std::weak_ptr<nanodbc::result>
execute(
649 const uint8_t byDBType,
const uint8_t byType,
const uint8_t byNation,
650 const int16_t nKnights,
const int32_t nAmount,
const char* strUserID)
noexcept(
false);
659 KingUpdateElectionSchdule();
660 KingUpdateElectionSchdule(std::shared_ptr<nanodbc::connection> conn);
663 static const std::string&
Query();
670 std::weak_ptr<nanodbc::result>
execute(
671 const uint8_t byType,
const uint8_t byNation,
const int16_t sYear,
672 const uint8_t byMonth,
const uint8_t byDay,
const uint8_t byHour,
673 const uint8_t byMinute)
noexcept(
false);
682 KingUpdateElectionStatus();
683 KingUpdateElectionStatus(std::shared_ptr<nanodbc::connection> conn);
686 static const std::string&
Query();
693 std::weak_ptr<nanodbc::result>
execute(
694 const uint8_t byType,
const uint8_t byNation)
noexcept(
false);
703 KingUpdateImpeachmentStatus();
704 KingUpdateImpeachmentStatus(std::shared_ptr<nanodbc::connection> conn);
707 static const std::string&
Query();
714 std::weak_ptr<nanodbc::result>
execute(
715 const uint8_t byType,
const uint8_t byNation,
const int16_t sYear,
716 const uint8_t byMonth,
const uint8_t byDay,
const uint8_t byHour,
717 const uint8_t byMinute,
const char* strUserID)
noexcept(
false);
726 KingUpdateNoahOrExpEvent();
727 KingUpdateNoahOrExpEvent(std::shared_ptr<nanodbc::connection> conn);
730 static const std::string&
Query();
737 std::weak_ptr<nanodbc::result>
execute(
738 const uint8_t byType,
const uint8_t byNation,
const uint8_t byAmount,
739 const uint8_t byDay,
const uint8_t byHout,
const uint8_t byMinute,
740 const int16_t sDurationTime)
noexcept(
false);
749 KnightsRatingUpdate();
750 KnightsRatingUpdate(std::shared_ptr<nanodbc::connection> conn);
753 static const std::string&
Query();
760 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
770 LoadAccountCharid(std::shared_ptr<nanodbc::connection> conn);
773 static const std::string&
Query();
780 std::weak_ptr<nanodbc::result>
execute(
int* returnValue,
781 const char* Accountid)
noexcept(
false);
794 LoadCharInfo(std::shared_ptr<nanodbc::connection> conn);
797 static const std::string&
Query();
804 std::weak_ptr<nanodbc::result>
execute(
805 const char* CharId, int16_t* nRet)
noexcept(
false);
817 LoadKnightsMembers();
818 LoadKnightsMembers(std::shared_ptr<nanodbc::connection> conn);
821 static const std::string&
Query();
828 std::weak_ptr<nanodbc::result>
execute(
829 const int16_t knightsindex)
noexcept(
false);
838 LoadPremiumServiceUser();
839 LoadPremiumServiceUser(std::shared_ptr<nanodbc::connection> conn);
842 static const std::string&
Query();
849 std::weak_ptr<nanodbc::result>
execute(
850 const char* AccountID, int32_t* type, int32_t* days)
noexcept(
false);
863 LoadRentalData(std::shared_ptr<nanodbc::connection> conn);
866 static const std::string&
Query();
873 std::weak_ptr<nanodbc::result>
execute(
874 const char* strAccountID)
noexcept(
false);
884 LoadSavedMagic(std::shared_ptr<nanodbc::connection> conn);
887 static const std::string&
Query();
894 std::weak_ptr<nanodbc::result>
execute(
895 const char* CharId, int16_t* nRet)
noexcept(
false);
908 LoadUserData(std::shared_ptr<nanodbc::connection> conn);
911 static const std::string&
Query();
918 std::weak_ptr<nanodbc::result>
execute(
919 const char* AccountID,
const char*
id, int16_t* nRet)
noexcept(
false);
932 LoadWebItemmall(std::shared_ptr<nanodbc::connection> conn);
935 static const std::string&
Query();
942 std::weak_ptr<nanodbc::result>
execute(
943 const char* strCharID)
noexcept(
false);
953 NationSelect(std::shared_ptr<nanodbc::connection> conn);
956 static const std::string&
Query();
963 std::weak_ptr<nanodbc::result>
execute(
964 int16_t* nRet,
const char* AccountID,
const uint8_t Nation)
noexcept(
false);
976 ProcInsertCurrentuser();
977 ProcInsertCurrentuser(std::shared_ptr<nanodbc::connection> conn);
980 static const std::string&
Query();
987 std::weak_ptr<nanodbc::result>
execute(
988 const char* AccountID,
const char* CharID,
const int16_t nServerNo,
989 const char* strServerIP,
const char* ClientIP, int16_t* nRet)
noexcept(
false);
1002 RankKnights(std::shared_ptr<nanodbc::connection> conn);
1005 static const std::string&
Query();
1012 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
1022 RentalItemCancel(std::shared_ptr<nanodbc::connection> conn);
1025 static const std::string&
Query();
1032 std::weak_ptr<nanodbc::result>
execute(
1033 const char* AccountID,
const char* CharID,
const int32_t nRentalIndex,
1034 const int32_t nItemNumber, int16_t* nRet)
noexcept(
false);
1046 RentalItemDestory();
1047 RentalItemDestory(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 nItemNumber,
1059 const int32_t nRentalIndex,
const int16_t nDurability, int16_t* nRet)
noexcept(
false);
1071 RentalItemDurabilityUpdate();
1072 RentalItemDurabilityUpdate(std::shared_ptr<nanodbc::connection> conn);
1075 static const std::string&
Query();
1082 std::weak_ptr<nanodbc::result>
execute(
1083 const int32_t nRentalIndex,
const int32_t nDurability)
noexcept(
false);
1093 RentalItemLend(std::shared_ptr<nanodbc::connection> conn);
1096 static const std::string&
Query();
1103 std::weak_ptr<nanodbc::result>
execute(
1104 const char* AccountID,
const char* CharID,
const int32_t nRentalIndex,
1105 const int32_t nItemNumber, int16_t* nRet)
noexcept(
false);
1117 RentalItemRegister();
1118 RentalItemRegister(std::shared_ptr<nanodbc::connection> conn);
1121 static const std::string&
Query();
1128 std::weak_ptr<nanodbc::result>
execute(
1129 const char* charID,
const char* AccountID,
const int16_t sRentalTime,
1130 const int32_t nItemID,
const int16_t sDurability,
const int32_t nMoney,
1131 const uint8_t bGameBangType,
const uint8_t bItemType,
const uint8_t bItemClass,
1132 const int64_t nSerialNumber, int32_t* nRet_Index, int16_t* nRet)
noexcept(
false);
1144 ResetLoyaltyMonthly();
1145 ResetLoyaltyMonthly(std::shared_ptr<nanodbc::connection> conn);
1148 static const std::string&
Query();
1155 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
1164 SkillshortcutLoad();
1165 SkillshortcutLoad(std::shared_ptr<nanodbc::connection> conn);
1168 static const std::string&
Query();
1175 std::weak_ptr<nanodbc::result>
execute(
1176 const char* strCharID)
noexcept(
false);
1185 SkillshortcutSave();
1186 SkillshortcutSave(std::shared_ptr<nanodbc::connection> conn);
1189 static const std::string&
Query();
1196 std::weak_ptr<nanodbc::result>
execute(
1197 const char* strCharID,
const int16_t nCount,
const char* strSkillData)
noexcept(
false);
1207 UpdateBattleHero(std::shared_ptr<nanodbc::connection> conn);
1210 static const std::string&
Query();
1217 std::weak_ptr<nanodbc::result>
execute(
1218 const char* strCharID,
const char* strNation,
const char* strClass,
1219 const char* strAchievement,
const int16_t nIndex)
noexcept(
false);
1228 UpdateBattleResult();
1229 UpdateBattleResult(std::shared_ptr<nanodbc::connection> conn);
1232 static const std::string&
Query();
1239 std::weak_ptr<nanodbc::result>
execute(
1240 const char* UserId,
const uint8_t byNation,
const int16_t index)
noexcept(
false);
1249 UpdateEditorItemData();
1250 UpdateEditorItemData(std::shared_ptr<nanodbc::connection> conn);
1253 static const std::string&
Query();
1260 std::weak_ptr<nanodbc::result>
execute(
1261 const char* charid,
const char* accountid,
const char* opid,
1262 const char* opip,
const int16_t sPos,
const int32_t nItemID1,
1263 const int32_t nItemID2,
const uint8_t byType,
const int16_t sDBIndex)
noexcept(
false);
1273 UpdateKnights(std::shared_ptr<nanodbc::connection> conn);
1276 static const std::string&
Query();
1283 std::weak_ptr<nanodbc::result>
execute(
1284 int16_t* nRet,
const uint8_t Type,
const char* UserId,
1285 const int16_t KnightsIndex,
const uint8_t Domination)
noexcept(
false);
1297 UpdateKnightsAlliance();
1298 UpdateKnightsAlliance(std::shared_ptr<nanodbc::connection> conn);
1301 static const std::string&
Query();
1308 std::weak_ptr<nanodbc::result>
execute(
1309 const uint8_t byType,
const int16_t shAlliancIndex,
const int16_t shKnightsIndex,
1310 const uint8_t byEmptyIndex,
const uint8_t bySiegeFlag)
noexcept(
false);
1319 UpdateKnightsMark();
1320 UpdateKnightsMark(std::shared_ptr<nanodbc::connection> conn);
1323 static const std::string&
Query();
1330 std::weak_ptr<nanodbc::result>
execute(
1331 int16_t* nRet,
const int16_t IDNum,
const int16_t MarkLen,
1332 const std::vector<uint8_t>& KnightMark)
noexcept(
false);
1345 UpdateKnightsWar(std::shared_ptr<nanodbc::connection> conn);
1348 static const std::string&
Query();
1355 std::weak_ptr<nanodbc::result>
execute(
1356 const uint8_t byType,
const int16_t shWhite,
const int16_t shBlue)
noexcept(
false);
1365 UpdatePersonalRank();
1366 UpdatePersonalRank(std::shared_ptr<nanodbc::connection> conn);
1369 static const std::string&
Query();
1376 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
1385 UpdatePremiumServiceUser();
1386 UpdatePremiumServiceUser(std::shared_ptr<nanodbc::connection> conn);
1389 static const std::string&
Query();
1396 std::weak_ptr<nanodbc::result>
execute(
int* returnValue,
1397 const char* AccountID,
const int16_t Days)
noexcept(
false);
1410 UpdateSavedMagic(std::shared_ptr<nanodbc::connection> conn);
1413 static const std::string&
Query();
1420 std::weak_ptr<nanodbc::result>
execute(
1421 const char* strCharID,
const int32_t Skill1,
const int16_t During1,
1422 const int32_t Skill2,
const int16_t During2,
const int32_t Skill3,
1423 const int16_t During3,
const int32_t Skill4,
const int16_t During4,
1424 const int32_t Skill5,
const int16_t During5,
const int32_t Skill6,
1425 const int16_t During6,
const int32_t Skill7,
const int16_t During7,
1426 const int32_t Skill8,
const int16_t During8,
const int32_t Skill9,
1427 const int16_t During9,
const int32_t Skill10,
const int16_t During10)
noexcept(
false);
1437 UpdateSiege(std::shared_ptr<nanodbc::connection> conn);
1440 static const std::string&
Query();
1447 std::weak_ptr<nanodbc::result>
execute(
1448 const int16_t sCastleIndex,
const int16_t sKnightsIndex,
const uint8_t byWarType,
1449 const uint8_t byUpdateType,
const uint8_t byWarDay,
const uint8_t byWarTime,
1450 const uint8_t byWarMinute)
noexcept(
false);
1459 UpdateSiegeChallenger();
1460 UpdateSiegeChallenger(std::shared_ptr<nanodbc::connection> conn);
1463 static const std::string&
Query();
1470 std::weak_ptr<nanodbc::result>
execute(
1471 const int16_t sCastleIndex,
const char* strChallengerList)
noexcept(
false);
1480 UpdateSiegeChallenger2();
1481 UpdateSiegeChallenger2(std::shared_ptr<nanodbc::connection> conn);
1484 static const std::string&
Query();
1491 std::weak_ptr<nanodbc::result>
execute(
1492 const int16_t sCastleIndex,
const int16_t sKnights_1,
const int16_t sKnights_2,
1493 const int16_t sKnights_3,
const int16_t sKnights_4,
const int16_t sKnights_5,
1494 const int16_t sKnights_6,
const int16_t sKnights_7,
const int16_t sKnights_8,
1495 const int16_t sKnights_9,
const int16_t sKnights_10,
const char* strChallengerList)
noexcept(
false);
1504 UpdateSiegeDecideChallenger();
1505 UpdateSiegeDecideChallenger(std::shared_ptr<nanodbc::connection> conn);
1508 static const std::string&
Query();
1515 std::weak_ptr<nanodbc::result>
execute(
1516 const int16_t sCastleIndex,
const int16_t sKnights_1,
const int16_t sKnights_2,
1517 const int16_t sKnights_3,
const int16_t sKnights_4,
const int16_t sKnights_5,
1518 const int16_t sKnights_6,
const int16_t sKnights_7,
const int16_t sKnights_8,
1519 const int16_t sKnights_9,
const int16_t sKnights_10)
noexcept(
false);
1529 UpdateUserData(std::shared_ptr<nanodbc::connection> conn);
1532 static const std::string&
Query();
1539 std::weak_ptr<nanodbc::result>
execute(
1540 const char*
id,
const uint8_t Nation,
const uint8_t Race,
1541 const int16_t Class,
const uint8_t HairColor,
const uint8_t Rank,
1542 const uint8_t Title,
const uint8_t Level,
const int32_t Exp,
1543 const int32_t Loyalty,
const uint8_t Face,
const uint8_t City,
1544 const int16_t Knights,
const uint8_t Fame,
const int16_t Hp,
1545 const int16_t Mp,
const int16_t Sp,
const uint8_t Str,
1546 const uint8_t Sta,
const uint8_t Dex,
const uint8_t Intel,
1547 const uint8_t Cha,
const uint8_t Authority,
const uint8_t Points,
1548 const int32_t Gold,
const uint8_t Zone,
const int16_t Bind,
1549 const int32_t PX,
const int32_t PZ,
const int32_t PY,
1550 const int32_t dwTime,
const int16_t QuestTotal,
const std::vector<uint8_t>& strSkill,
1551 const std::vector<uint8_t>& strItem,
const std::vector<uint8_t>& strSerial,
const std::vector<uint8_t>& strQuest,
1552 const int32_t MannerPoint,
const int32_t LoyaltyMonthly)
noexcept(
false);
1562 UpdateWarehouse(std::shared_ptr<nanodbc::connection> conn);
1565 static const std::string&
Query();
1572 std::weak_ptr<nanodbc::result>
execute(
1573 const char* accountid,
const int32_t Money,
const int32_t dwTime,
1574 const std::vector<uint8_t>& strItem,
const std::vector<uint8_t>& strSerial)
noexcept(
false);
1583 UserKnightsRatingUpdate();
1584 UserKnightsRatingUpdate(std::shared_ptr<nanodbc::connection> conn);
1587 static const std::string&
Query();
1594 std::weak_ptr<nanodbc::result>
execute()
noexcept(
false);
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:17
~AccountLogin()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:45
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:24
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:68
~AccountLogout()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:91
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:61
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:114
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:107
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:182
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:196
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:189
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:151
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:158
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:165
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:220
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:213
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:257
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:250
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:264
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:281
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:288
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:372
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:365
~CreateKnights2()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:397
~CreateKnights()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:349
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:317
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:324
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:413
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:420
~CreateNewChar()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:455
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:471
~DeleteFriendList()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:499
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:478
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:515
~DeleteKnights()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:542
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:522
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:572
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:558
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:565
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:589
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:603
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:596
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:627
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:620
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:665
~InsertFriendList()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:686
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:658
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:740
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:747
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:778
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:785
~KingCandidacyRecommend()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:848
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:818
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:825
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:871
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:864
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:916
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:909
~KingElectionProc()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:940
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:963
~KingImpeachmentElection()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:987
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:956
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1003
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1010
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1041
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1048
~KingImpeachmentResult()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1069
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1085
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1092
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1132
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1125
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1167
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1174
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1218
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1211
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1255
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1248
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1293
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1300
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1344
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:1351
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1337
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1368
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1375
~LoadAccountCharid()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1395
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1411
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1418
~LoadCharInfo()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1438
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1454
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1461
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1490
~LoadPremiumServiceUser()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1518
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1497
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1541
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1534
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1577
~LoadSavedMagic()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1597
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1570
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1613
~LoadUserData()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1641
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1620
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1664
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1657
~NationSelect()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1721
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1693
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1700
~ProcInsertCurrentuser()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1769
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1744
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1737
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1792
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:1799
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1785
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1823
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1816
~RentalItemCancel()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1847
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1863
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1870
~RentalItemDestory()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1895
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1918
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1911
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:1955
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1948
~RentalItemLend()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:1979
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2002
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:1995
~RentalItemRegister()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:2035
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:2065
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2051
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2058
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2089
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2082
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2125
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2118
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2163
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2156
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2197
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2204
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2242
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2235
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2328
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2335
~UpdateKnightsMark()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:2399
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2369
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2376
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2422
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2415
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2288
~UpdateKnights()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:2312
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2281
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:2467
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2460
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2453
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2484
~UpdatePremiumServiceUser()
Flushes any output variables or return values on destruction.
Definition StoredProc.cpp:2512
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2491
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2535
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2528
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2678
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2671
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2634
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2641
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2728
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2721
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2590
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2597
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2770
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2777
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2855
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2862
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the stored procedure.
Definition StoredProc.cpp:2910
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:2896
static modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:2903
Definition StoredProcedure.h:16
std::weak_ptr< nanodbc::result > execute() noexcept(false)
Executes the currently prepared statement.
Definition StoredProcedure.cpp:51
DbType
Database type identifier.
Definition ModelUtil.h:14