OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
Loading...
Searching...
No Matches
StoredProc.h
1#ifndef STOREDPROC_STOREDPROC_H
2#define STOREDPROC_STOREDPROC_H
3
4#pragma once
5
6#include <ModelUtil/ModelUtil.h>
7#include <cstdint>
8#include <detail/StoredProc/StoredProcedure.h>
9#include <memory>
10#include <nanodbc/nanodbc.h>
11#include <string>
12#include <vector>
13
14namespace storedProc
15{
16
20 class AccountLogin : public detail::StoredProcedure
21 {
22 public:
23 AccountLogin();
24 AccountLogin(std::shared_ptr<nanodbc::connection> conn);
25
27 static const std::string& Query();
28
31
34 std::weak_ptr<nanodbc::result> execute(
35 const char* accountID, const char* password, int16_t* nRet) noexcept(false);
36
39 };
40
44 class AccountLogout : public detail::StoredProcedure
45 {
46 public:
47 AccountLogout();
48 AccountLogout(std::shared_ptr<nanodbc::connection> conn);
49
51 static const std::string& Query();
52
55
58 std::weak_ptr<nanodbc::result> execute(
59 const char* accountID, const int32_t logoutCode, int16_t* nRet,
60 int16_t* nRet2) noexcept(false);
61
64 };
65
69 class ChangeCastleCommerce : public detail::StoredProcedure
70 {
71 public:
72 ChangeCastleCommerce();
73 ChangeCastleCommerce(std::shared_ptr<nanodbc::connection> conn);
74
76 static const std::string& Query();
77
80
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);
87 };
88
92 class ChangeCopySerialItem : public detail::StoredProcedure
93 {
94 public:
95 ChangeCopySerialItem();
96 ChangeCopySerialItem(std::shared_ptr<nanodbc::connection> conn);
97
99 static const std::string& Query();
100
102 static modelUtil::DbType DbType();
103
106 std::weak_ptr<nanodbc::result> execute() noexcept(false);
107 };
108
112 class ChangeCopySerialItemTable : public detail::StoredProcedure
113 {
114 public:
115 ChangeCopySerialItemTable();
116 ChangeCopySerialItemTable(std::shared_ptr<nanodbc::connection> conn);
117
119 static const std::string& Query();
120
122 static modelUtil::DbType DbType();
123
126 std::weak_ptr<nanodbc::result> execute() noexcept(false);
127 };
128
132 class ChangeKnightsCape : public detail::StoredProcedure
133 {
134 public:
135 ChangeKnightsCape();
136 ChangeKnightsCape(std::shared_ptr<nanodbc::connection> conn);
137
139 static const std::string& Query();
140
142 static modelUtil::DbType DbType();
143
146 std::weak_ptr<nanodbc::result> execute(
147 const int16_t KnightsIndex, const int16_t CapeIndex) noexcept(false);
148 };
149
153 class CheckKnights : public detail::StoredProcedure
154 {
155 public:
156 CheckKnights();
157 CheckKnights(std::shared_ptr<nanodbc::connection> conn);
158
160 static const std::string& Query();
161
163 static modelUtil::DbType DbType();
164
167 std::weak_ptr<nanodbc::result> execute() noexcept(false);
168 };
169
173 class ClaimUserRankStipend : public detail::StoredProcedure
174 {
175 public:
176 ClaimUserRankStipend();
177 ClaimUserRankStipend(std::shared_ptr<nanodbc::connection> conn);
178
180 static const std::string& Query();
181
183 static modelUtil::DbType DbType();
184
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);
190
193 };
194
198 class ClearRemainUsers : public detail::StoredProcedure
199 {
200 public:
201 ClearRemainUsers();
202 ClearRemainUsers(std::shared_ptr<nanodbc::connection> conn);
203
205 static const std::string& Query();
206
208 static modelUtil::DbType DbType();
209
212 std::weak_ptr<nanodbc::result> execute(
213 const char* strServerIP) noexcept(false);
214 };
215
219 class CreateKnights : public detail::StoredProcedure
220 {
221 public:
222 CreateKnights();
223 CreateKnights(std::shared_ptr<nanodbc::connection> conn);
224
226 static const std::string& Query();
227
229 static modelUtil::DbType DbType();
230
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);
236
239 };
240
244 class CreateKnights2 : public detail::StoredProcedure
245 {
246 public:
247 CreateKnights2();
248 CreateKnights2(std::shared_ptr<nanodbc::connection> conn);
249
251 static const std::string& Query();
252
254 static modelUtil::DbType DbType();
255
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);
261
264 };
265
269 class CreateNewChar : public detail::StoredProcedure
270 {
271 public:
272 CreateNewChar();
273 CreateNewChar(std::shared_ptr<nanodbc::connection> conn);
274
276 static const std::string& Query();
277
279 static modelUtil::DbType DbType();
280
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);
289
292 };
293
297 class DeleteFriendList : public detail::StoredProcedure
298 {
299 public:
300 DeleteFriendList();
301 DeleteFriendList(std::shared_ptr<nanodbc::connection> conn);
302
304 static const std::string& Query();
305
307 static modelUtil::DbType DbType();
308
311 std::weak_ptr<nanodbc::result> execute(
312 const char* strUserID, const char* strFriend, int16_t* nRet) noexcept(false);
313
316 };
317
321 class DeleteKnights : public detail::StoredProcedure
322 {
323 public:
324 DeleteKnights();
325 DeleteKnights(std::shared_ptr<nanodbc::connection> conn);
326
328 static const std::string& Query();
329
331 static modelUtil::DbType DbType();
332
335 std::weak_ptr<nanodbc::result> execute(
336 int16_t* nRet, const int16_t knightsindex) noexcept(false);
337
340 };
341
345 class EditerKnights : public detail::StoredProcedure
346 {
347 public:
348 EditerKnights();
349 EditerKnights(std::shared_ptr<nanodbc::connection> conn);
350
352 static const std::string& Query();
353
355 static modelUtil::DbType DbType();
356
359 std::weak_ptr<nanodbc::result> execute() noexcept(false);
360 };
361
365 class ExecKnightsUser : public detail::StoredProcedure
366 {
367 public:
368 ExecKnightsUser();
369 ExecKnightsUser(std::shared_ptr<nanodbc::connection> conn);
370
372 static const std::string& Query();
373
375 static modelUtil::DbType DbType();
376
379 std::weak_ptr<nanodbc::result> execute() noexcept(false);
380 };
381
385 class GivePremium : public detail::StoredProcedure
386 {
387 public:
388 GivePremium();
389 GivePremium(std::shared_ptr<nanodbc::connection> conn);
390
392 static const std::string& Query();
393
395 static modelUtil::DbType DbType();
396
399 std::weak_ptr<nanodbc::result> execute(
400 const char* strAccountID, const char* strUserID, const int32_t days) noexcept(false);
401 };
402
406 class InsertFriendList : public detail::StoredProcedure
407 {
408 public:
409 InsertFriendList();
410 InsertFriendList(std::shared_ptr<nanodbc::connection> conn);
411
413 static const std::string& Query();
414
416 static modelUtil::DbType DbType();
417
420 std::weak_ptr<nanodbc::result> execute(
421 const char* strUserID, const char* strFriend, int16_t* nRet) noexcept(false);
422
425 };
426
430 class InsertHacktoolUser : public detail::StoredProcedure
431 {
432 public:
433 InsertHacktoolUser();
434 InsertHacktoolUser(std::shared_ptr<nanodbc::connection> conn);
435
437 static const std::string& Query();
438
440 static modelUtil::DbType DbType();
441
444 std::weak_ptr<nanodbc::result> execute(
445 const char* AccountID, const char* CharID, const char* HackToolName) noexcept(false);
446 };
447
451 class InsertProgramCheckUser : public detail::StoredProcedure
452 {
453 public:
454 InsertProgramCheckUser();
455 InsertProgramCheckUser(std::shared_ptr<nanodbc::connection> conn);
456
458 static const std::string& Query();
459
461 static modelUtil::DbType DbType();
462
465 std::weak_ptr<nanodbc::result> execute(
466 const char* strAccountID, const char* strCharID, const char* HackToolName) noexcept(false);
467 };
468
472 class KingCandidacyNoticeBoardProc : public detail::StoredProcedure
473 {
474 public:
475 KingCandidacyNoticeBoardProc();
476 KingCandidacyNoticeBoardProc(std::shared_ptr<nanodbc::connection> conn);
477
479 static const std::string& Query();
480
482 static modelUtil::DbType DbType();
483
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);
489 };
490
494 class KingCandidacyRecommend : public detail::StoredProcedure
495 {
496 public:
497 KingCandidacyRecommend();
498 KingCandidacyRecommend(std::shared_ptr<nanodbc::connection> conn);
499
501 static const std::string& Query();
502
504 static modelUtil::DbType DbType();
505
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);
511
514 };
515
519 class KingChangeTax : public detail::StoredProcedure
520 {
521 public:
522 KingChangeTax();
523 KingChangeTax(std::shared_ptr<nanodbc::connection> conn);
524
526 static const std::string& Query();
527
529 static modelUtil::DbType DbType();
530
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);
537 };
538
542 class KingElectionProc : public detail::StoredProcedure
543 {
544 public:
545 KingElectionProc();
546 KingElectionProc(std::shared_ptr<nanodbc::connection> conn);
547
549 static const std::string& Query();
550
552 static modelUtil::DbType DbType();
553
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);
559
562 };
563
567 class KingImpeachmentElection : public detail::StoredProcedure
568 {
569 public:
570 KingImpeachmentElection();
571 KingImpeachmentElection(std::shared_ptr<nanodbc::connection> conn);
572
574 static const std::string& Query();
575
577 static modelUtil::DbType DbType();
578
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);
584
587 };
588
592 class KingImpeachmentRequestElection : public detail::StoredProcedure
593 {
594 public:
595 KingImpeachmentRequestElection();
596 KingImpeachmentRequestElection(std::shared_ptr<nanodbc::connection> conn);
597
599 static const std::string& Query();
600
602 static modelUtil::DbType DbType();
603
606 std::weak_ptr<nanodbc::result> execute(
607 const int16_t byType, const uint8_t byNation, const char* strUserID) noexcept(false);
608 };
609
613 class KingImpeachmentResult : public detail::StoredProcedure
614 {
615 public:
616 KingImpeachmentResult();
617 KingImpeachmentResult(std::shared_ptr<nanodbc::connection> conn);
618
620 static const std::string& Query();
621
623 static modelUtil::DbType DbType();
624
627 std::weak_ptr<nanodbc::result> execute(
628 const uint8_t byNation, int16_t* nTotalMan, int16_t* nAgreeMan) noexcept(false);
629
632 };
633
637 class KingInsertPrizeEvent : public detail::StoredProcedure
638 {
639 public:
640 KingInsertPrizeEvent();
641 KingInsertPrizeEvent(std::shared_ptr<nanodbc::connection> conn);
642
644 static const std::string& Query();
645
647 static modelUtil::DbType DbType();
648
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);
654 };
655
659 class KingUpdateElectionList : public detail::StoredProcedure
660 {
661 public:
662 KingUpdateElectionList();
663 KingUpdateElectionList(std::shared_ptr<nanodbc::connection> conn);
664
666 static const std::string& Query();
667
669 static modelUtil::DbType DbType();
670
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);
676 };
677
681 class KingUpdateElectionSchdule : public detail::StoredProcedure
682 {
683 public:
684 KingUpdateElectionSchdule();
685 KingUpdateElectionSchdule(std::shared_ptr<nanodbc::connection> conn);
686
688 static const std::string& Query();
689
691 static modelUtil::DbType DbType();
692
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);
699 };
700
704 class KingUpdateElectionStatus : public detail::StoredProcedure
705 {
706 public:
707 KingUpdateElectionStatus();
708 KingUpdateElectionStatus(std::shared_ptr<nanodbc::connection> conn);
709
711 static const std::string& Query();
712
714 static modelUtil::DbType DbType();
715
718 std::weak_ptr<nanodbc::result> execute(
719 const uint8_t byType, const uint8_t byNation) noexcept(false);
720 };
721
725 class KingUpdateImpeachmentStatus : public detail::StoredProcedure
726 {
727 public:
728 KingUpdateImpeachmentStatus();
729 KingUpdateImpeachmentStatus(std::shared_ptr<nanodbc::connection> conn);
730
732 static const std::string& Query();
733
735 static modelUtil::DbType DbType();
736
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);
743 };
744
748 class KingUpdateNoahOrExpEvent : public detail::StoredProcedure
749 {
750 public:
751 KingUpdateNoahOrExpEvent();
752 KingUpdateNoahOrExpEvent(std::shared_ptr<nanodbc::connection> conn);
753
755 static const std::string& Query();
756
758 static modelUtil::DbType DbType();
759
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);
766 };
767
771 class KnightsRatingUpdate : public detail::StoredProcedure
772 {
773 public:
774 KnightsRatingUpdate();
775 KnightsRatingUpdate(std::shared_ptr<nanodbc::connection> conn);
776
778 static const std::string& Query();
779
781 static modelUtil::DbType DbType();
782
785 std::weak_ptr<nanodbc::result> execute() noexcept(false);
786 };
787
791 class LoadAccountCharid : public detail::StoredProcedure
792 {
793 public:
794 LoadAccountCharid();
795 LoadAccountCharid(std::shared_ptr<nanodbc::connection> conn);
796
798 static const std::string& Query();
799
801 static modelUtil::DbType DbType();
802
805 std::weak_ptr<nanodbc::result> execute(int* returnValue,
806 const char* Accountid) noexcept(false);
807
810 };
811
815 class LoadCharInfo : public detail::StoredProcedure
816 {
817 public:
818 LoadCharInfo();
819 LoadCharInfo(std::shared_ptr<nanodbc::connection> conn);
820
822 static const std::string& Query();
823
825 static modelUtil::DbType DbType();
826
829 std::weak_ptr<nanodbc::result> execute(
830 const char* CharId, int16_t* nRet) noexcept(false);
831
834 };
835
839 class LoadKnightsMembers : public detail::StoredProcedure
840 {
841 public:
842 LoadKnightsMembers();
843 LoadKnightsMembers(std::shared_ptr<nanodbc::connection> conn);
844
846 static const std::string& Query();
847
849 static modelUtil::DbType DbType();
850
853 std::weak_ptr<nanodbc::result> execute(
854 const int16_t knightsindex) noexcept(false);
855 };
856
860 class LoadPremiumServiceUser : public detail::StoredProcedure
861 {
862 public:
863 LoadPremiumServiceUser();
864 LoadPremiumServiceUser(std::shared_ptr<nanodbc::connection> conn);
865
867 static const std::string& Query();
868
870 static modelUtil::DbType DbType();
871
874 std::weak_ptr<nanodbc::result> execute(
875 const char* AccountID, int32_t* type, int32_t* days) noexcept(false);
876
879 };
880
884 class LoadRentalData : public detail::StoredProcedure
885 {
886 public:
887 LoadRentalData();
888 LoadRentalData(std::shared_ptr<nanodbc::connection> conn);
889
891 static const std::string& Query();
892
894 static modelUtil::DbType DbType();
895
898 std::weak_ptr<nanodbc::result> execute(
899 const char* strAccountID) noexcept(false);
900 };
901
905 class LoadSavedMagic : public detail::StoredProcedure
906 {
907 public:
908 LoadSavedMagic();
909 LoadSavedMagic(std::shared_ptr<nanodbc::connection> conn);
910
912 static const std::string& Query();
913
915 static modelUtil::DbType DbType();
916
919 std::weak_ptr<nanodbc::result> execute(
920 const char* CharId, int16_t* nRet) noexcept(false);
921
924 };
925
929 class LoadUserData : public detail::StoredProcedure
930 {
931 public:
932 LoadUserData();
933 LoadUserData(std::shared_ptr<nanodbc::connection> conn);
934
936 static const std::string& Query();
937
939 static modelUtil::DbType DbType();
940
943 std::weak_ptr<nanodbc::result> execute(
944 const char* AccountID, const char* id, int16_t* nRet) noexcept(false);
945
948 };
949
953 class LoadWebItemmall : public detail::StoredProcedure
954 {
955 public:
956 LoadWebItemmall();
957 LoadWebItemmall(std::shared_ptr<nanodbc::connection> conn);
958
960 static const std::string& Query();
961
963 static modelUtil::DbType DbType();
964
967 std::weak_ptr<nanodbc::result> execute(
968 const char* strCharID) noexcept(false);
969 };
970
974 class NationSelect : public detail::StoredProcedure
975 {
976 public:
977 NationSelect();
978 NationSelect(std::shared_ptr<nanodbc::connection> conn);
979
981 static const std::string& Query();
982
984 static modelUtil::DbType DbType();
985
988 std::weak_ptr<nanodbc::result> execute(
989 int16_t* nRet, const char* AccountID, const uint8_t Nation) noexcept(false);
990
993 };
994
998 class ProcInsertCurrentuser : public detail::StoredProcedure
999 {
1000 public:
1001 ProcInsertCurrentuser();
1002 ProcInsertCurrentuser(std::shared_ptr<nanodbc::connection> conn);
1003
1005 static const std::string& Query();
1006
1008 static modelUtil::DbType DbType();
1009
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);
1015
1018 };
1019
1023 class RankKnights : public detail::StoredProcedure
1024 {
1025 public:
1026 RankKnights();
1027 RankKnights(std::shared_ptr<nanodbc::connection> conn);
1028
1030 static const std::string& Query();
1031
1033 static modelUtil::DbType DbType();
1034
1037 std::weak_ptr<nanodbc::result> execute() noexcept(false);
1038 };
1039
1043 class RentalItemCancel : public detail::StoredProcedure
1044 {
1045 public:
1046 RentalItemCancel();
1047 RentalItemCancel(std::shared_ptr<nanodbc::connection> conn);
1048
1050 static const std::string& Query();
1051
1053 static modelUtil::DbType DbType();
1054
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);
1060
1063 };
1064
1068 class RentalItemDestory : public detail::StoredProcedure
1069 {
1070 public:
1071 RentalItemDestory();
1072 RentalItemDestory(std::shared_ptr<nanodbc::connection> conn);
1073
1075 static const std::string& Query();
1076
1078 static modelUtil::DbType DbType();
1079
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);
1085
1088 };
1089
1093 class RentalItemDurabilityUpdate : public detail::StoredProcedure
1094 {
1095 public:
1096 RentalItemDurabilityUpdate();
1097 RentalItemDurabilityUpdate(std::shared_ptr<nanodbc::connection> conn);
1098
1100 static const std::string& Query();
1101
1103 static modelUtil::DbType DbType();
1104
1107 std::weak_ptr<nanodbc::result> execute(
1108 const int32_t nRentalIndex, const int32_t nDurability) noexcept(false);
1109 };
1110
1114 class RentalItemLend : public detail::StoredProcedure
1115 {
1116 public:
1117 RentalItemLend();
1118 RentalItemLend(std::shared_ptr<nanodbc::connection> conn);
1119
1121 static const std::string& Query();
1122
1124 static modelUtil::DbType DbType();
1125
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);
1131
1134 };
1135
1139 class RentalItemRegister : public detail::StoredProcedure
1140 {
1141 public:
1142 RentalItemRegister();
1143 RentalItemRegister(std::shared_ptr<nanodbc::connection> conn);
1144
1146 static const std::string& Query();
1147
1149 static modelUtil::DbType DbType();
1150
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);
1158
1161 };
1162
1166 class ResetLoyaltyMonthly : public detail::StoredProcedure
1167 {
1168 public:
1169 ResetLoyaltyMonthly();
1170 ResetLoyaltyMonthly(std::shared_ptr<nanodbc::connection> conn);
1171
1173 static const std::string& Query();
1174
1176 static modelUtil::DbType DbType();
1177
1180 std::weak_ptr<nanodbc::result> execute() noexcept(false);
1181 };
1182
1186 class SkillshortcutLoad : public detail::StoredProcedure
1187 {
1188 public:
1189 SkillshortcutLoad();
1190 SkillshortcutLoad(std::shared_ptr<nanodbc::connection> conn);
1191
1193 static const std::string& Query();
1194
1196 static modelUtil::DbType DbType();
1197
1200 std::weak_ptr<nanodbc::result> execute(
1201 const char* strCharID) noexcept(false);
1202 };
1203
1207 class SkillshortcutSave : public detail::StoredProcedure
1208 {
1209 public:
1210 SkillshortcutSave();
1211 SkillshortcutSave(std::shared_ptr<nanodbc::connection> conn);
1212
1214 static const std::string& Query();
1215
1217 static modelUtil::DbType DbType();
1218
1221 std::weak_ptr<nanodbc::result> execute(
1222 const char* strCharID, const int16_t nCount, const char* strSkillData) noexcept(false);
1223 };
1224
1228 class UpdateBattleHero : public detail::StoredProcedure
1229 {
1230 public:
1231 UpdateBattleHero();
1232 UpdateBattleHero(std::shared_ptr<nanodbc::connection> conn);
1233
1235 static const std::string& Query();
1236
1238 static modelUtil::DbType DbType();
1239
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);
1245 };
1246
1250 class UpdateBattleResult : public detail::StoredProcedure
1251 {
1252 public:
1253 UpdateBattleResult();
1254 UpdateBattleResult(std::shared_ptr<nanodbc::connection> conn);
1255
1257 static const std::string& Query();
1258
1260 static modelUtil::DbType DbType();
1261
1264 std::weak_ptr<nanodbc::result> execute(
1265 const char* UserId, const uint8_t byNation, const int16_t index) noexcept(false);
1266 };
1267
1271 class UpdateEditorItemData : public detail::StoredProcedure
1272 {
1273 public:
1274 UpdateEditorItemData();
1275 UpdateEditorItemData(std::shared_ptr<nanodbc::connection> conn);
1276
1278 static const std::string& Query();
1279
1281 static modelUtil::DbType DbType();
1282
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);
1289 };
1290
1294 class UpdateKnights : public detail::StoredProcedure
1295 {
1296 public:
1297 UpdateKnights();
1298 UpdateKnights(std::shared_ptr<nanodbc::connection> conn);
1299
1301 static const std::string& Query();
1302
1304 static modelUtil::DbType DbType();
1305
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);
1311
1314 };
1315
1319 class UpdateKnightsAlliance : public detail::StoredProcedure
1320 {
1321 public:
1322 UpdateKnightsAlliance();
1323 UpdateKnightsAlliance(std::shared_ptr<nanodbc::connection> conn);
1324
1326 static const std::string& Query();
1327
1329 static modelUtil::DbType DbType();
1330
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);
1336 };
1337
1341 class UpdateKnightsMark : public detail::StoredProcedure
1342 {
1343 public:
1344 UpdateKnightsMark();
1345 UpdateKnightsMark(std::shared_ptr<nanodbc::connection> conn);
1346
1348 static const std::string& Query();
1349
1351 static modelUtil::DbType DbType();
1352
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);
1358
1361 };
1362
1366 class UpdateKnightsWar : public detail::StoredProcedure
1367 {
1368 public:
1369 UpdateKnightsWar();
1370 UpdateKnightsWar(std::shared_ptr<nanodbc::connection> conn);
1371
1373 static const std::string& Query();
1374
1376 static modelUtil::DbType DbType();
1377
1380 std::weak_ptr<nanodbc::result> execute(
1381 const uint8_t byType, const int16_t shWhite, const int16_t shBlue) noexcept(false);
1382 };
1383
1387 class UpdatePersonalRank : public detail::StoredProcedure
1388 {
1389 public:
1390 UpdatePersonalRank();
1391 UpdatePersonalRank(std::shared_ptr<nanodbc::connection> conn);
1392
1394 static const std::string& Query();
1395
1397 static modelUtil::DbType DbType();
1398
1401 std::weak_ptr<nanodbc::result> execute() noexcept(false);
1402 };
1403
1407 class UpdatePremiumServiceUser : public detail::StoredProcedure
1408 {
1409 public:
1410 UpdatePremiumServiceUser();
1411 UpdatePremiumServiceUser(std::shared_ptr<nanodbc::connection> conn);
1412
1414 static const std::string& Query();
1415
1417 static modelUtil::DbType DbType();
1418
1421 std::weak_ptr<nanodbc::result> execute(int* returnValue,
1422 const char* AccountID, const int16_t Days) noexcept(false);
1423
1426 };
1427
1431 class UpdateSavedMagic : public detail::StoredProcedure
1432 {
1433 public:
1434 UpdateSavedMagic();
1435 UpdateSavedMagic(std::shared_ptr<nanodbc::connection> conn);
1436
1438 static const std::string& Query();
1439
1441 static modelUtil::DbType DbType();
1442
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);
1453 };
1454
1458 class UpdateSiege : public detail::StoredProcedure
1459 {
1460 public:
1461 UpdateSiege();
1462 UpdateSiege(std::shared_ptr<nanodbc::connection> conn);
1463
1465 static const std::string& Query();
1466
1468 static modelUtil::DbType DbType();
1469
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);
1476 };
1477
1481 class UpdateSiegeChallenger : public detail::StoredProcedure
1482 {
1483 public:
1484 UpdateSiegeChallenger();
1485 UpdateSiegeChallenger(std::shared_ptr<nanodbc::connection> conn);
1486
1488 static const std::string& Query();
1489
1491 static modelUtil::DbType DbType();
1492
1495 std::weak_ptr<nanodbc::result> execute(
1496 const int16_t sCastleIndex, const char* strChallengerList) noexcept(false);
1497 };
1498
1502 class UpdateSiegeChallenger2 : public detail::StoredProcedure
1503 {
1504 public:
1505 UpdateSiegeChallenger2();
1506 UpdateSiegeChallenger2(std::shared_ptr<nanodbc::connection> conn);
1507
1509 static const std::string& Query();
1510
1512 static modelUtil::DbType DbType();
1513
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);
1521 };
1522
1526 class UpdateSiegeDecideChallenger : public detail::StoredProcedure
1527 {
1528 public:
1529 UpdateSiegeDecideChallenger();
1530 UpdateSiegeDecideChallenger(std::shared_ptr<nanodbc::connection> conn);
1531
1533 static const std::string& Query();
1534
1536 static modelUtil::DbType DbType();
1537
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);
1545 };
1546
1550 class UpdateUserData : public detail::StoredProcedure
1551 {
1552 public:
1553 UpdateUserData();
1554 UpdateUserData(std::shared_ptr<nanodbc::connection> conn);
1555
1557 static const std::string& Query();
1558
1560 static modelUtil::DbType DbType();
1561
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);
1578 };
1579
1583 class UpdateWarehouse : public detail::StoredProcedure
1584 {
1585 public:
1586 UpdateWarehouse();
1587 UpdateWarehouse(std::shared_ptr<nanodbc::connection> conn);
1588
1590 static const std::string& Query();
1591
1593 static modelUtil::DbType DbType();
1594
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);
1600 };
1601
1605 class UserKnightsRatingUpdate : public detail::StoredProcedure
1606 {
1607 public:
1608 UserKnightsRatingUpdate();
1609 UserKnightsRatingUpdate(std::shared_ptr<nanodbc::connection> conn);
1610
1612 static const std::string& Query();
1613
1615 static modelUtil::DbType DbType();
1616
1619 std::weak_ptr<nanodbc::result> execute() noexcept(false);
1620 };
1621}
1622
1623#endif // STOREDPROC_STOREDPROC_H
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 modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:673
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:667
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