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 ClearRemainUsers : public detail::StoredProcedure
174 {
175 public:
176 ClearRemainUsers();
177 ClearRemainUsers(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 const char* strServerIP) noexcept(false);
189 };
190
194 class CreateKnights : public detail::StoredProcedure
195 {
196 public:
197 CreateKnights();
198 CreateKnights(std::shared_ptr<nanodbc::connection> conn);
199
201 static const std::string& Query();
202
204 static modelUtil::DbType DbType();
205
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);
211
214 };
215
219 class CreateKnights2 : public detail::StoredProcedure
220 {
221 public:
222 CreateKnights2();
223 CreateKnights2(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, 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 CreateNewChar : public detail::StoredProcedure
245 {
246 public:
247 CreateNewChar();
248 CreateNewChar(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, 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);
264
267 };
268
272 class DeleteFriendList : public detail::StoredProcedure
273 {
274 public:
275 DeleteFriendList();
276 DeleteFriendList(std::shared_ptr<nanodbc::connection> conn);
277
279 static const std::string& Query();
280
282 static modelUtil::DbType DbType();
283
286 std::weak_ptr<nanodbc::result> execute(
287 const char* strUserID, const char* strFriend, int16_t* nRet) noexcept(false);
288
291 };
292
296 class DeleteKnights : public detail::StoredProcedure
297 {
298 public:
299 DeleteKnights();
300 DeleteKnights(std::shared_ptr<nanodbc::connection> conn);
301
303 static const std::string& Query();
304
306 static modelUtil::DbType DbType();
307
310 std::weak_ptr<nanodbc::result> execute(
311 int16_t* nRet, const int16_t knightsindex) noexcept(false);
312
315 };
316
320 class EditerKnights : public detail::StoredProcedure
321 {
322 public:
323 EditerKnights();
324 EditerKnights(std::shared_ptr<nanodbc::connection> conn);
325
327 static const std::string& Query();
328
330 static modelUtil::DbType DbType();
331
334 std::weak_ptr<nanodbc::result> execute() noexcept(false);
335 };
336
340 class ExecKnightsUser : public detail::StoredProcedure
341 {
342 public:
343 ExecKnightsUser();
344 ExecKnightsUser(std::shared_ptr<nanodbc::connection> conn);
345
347 static const std::string& Query();
348
350 static modelUtil::DbType DbType();
351
354 std::weak_ptr<nanodbc::result> execute() noexcept(false);
355 };
356
360 class GivePremium : public detail::StoredProcedure
361 {
362 public:
363 GivePremium();
364 GivePremium(std::shared_ptr<nanodbc::connection> conn);
365
367 static const std::string& Query();
368
370 static modelUtil::DbType DbType();
371
374 std::weak_ptr<nanodbc::result> execute(
375 const char* strAccountID, const char* strUserID, const int32_t days) noexcept(false);
376 };
377
381 class InsertFriendList : public detail::StoredProcedure
382 {
383 public:
384 InsertFriendList();
385 InsertFriendList(std::shared_ptr<nanodbc::connection> conn);
386
388 static const std::string& Query();
389
391 static modelUtil::DbType DbType();
392
395 std::weak_ptr<nanodbc::result> execute(
396 const char* strUserID, const char* strFriend, int16_t* nRet) noexcept(false);
397
400 };
401
405 class InsertHacktoolUser : public detail::StoredProcedure
406 {
407 public:
408 InsertHacktoolUser();
409 InsertHacktoolUser(std::shared_ptr<nanodbc::connection> conn);
410
412 static const std::string& Query();
413
415 static modelUtil::DbType DbType();
416
419 std::weak_ptr<nanodbc::result> execute(
420 const char* AccountID, const char* CharID, const char* HackToolName) noexcept(false);
421 };
422
426 class InsertProgramCheckUser : public detail::StoredProcedure
427 {
428 public:
429 InsertProgramCheckUser();
430 InsertProgramCheckUser(std::shared_ptr<nanodbc::connection> conn);
431
433 static const std::string& Query();
434
436 static modelUtil::DbType DbType();
437
440 std::weak_ptr<nanodbc::result> execute(
441 const char* strAccountID, const char* strCharID, const char* HackToolName) noexcept(false);
442 };
443
447 class KingCandidacyNoticeBoardProc : public detail::StoredProcedure
448 {
449 public:
450 KingCandidacyNoticeBoardProc();
451 KingCandidacyNoticeBoardProc(std::shared_ptr<nanodbc::connection> conn);
452
454 static const std::string& Query();
455
457 static modelUtil::DbType DbType();
458
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);
464 };
465
469 class KingCandidacyRecommend : public detail::StoredProcedure
470 {
471 public:
472 KingCandidacyRecommend();
473 KingCandidacyRecommend(std::shared_ptr<nanodbc::connection> conn);
474
476 static const std::string& Query();
477
479 static modelUtil::DbType DbType();
480
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);
486
489 };
490
494 class KingChangeTax : public detail::StoredProcedure
495 {
496 public:
497 KingChangeTax();
498 KingChangeTax(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 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);
512 };
513
517 class KingElectionProc : public detail::StoredProcedure
518 {
519 public:
520 KingElectionProc();
521 KingElectionProc(std::shared_ptr<nanodbc::connection> conn);
522
524 static const std::string& Query();
525
527 static modelUtil::DbType DbType();
528
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);
534
537 };
538
542 class KingImpeachmentElection : public detail::StoredProcedure
543 {
544 public:
545 KingImpeachmentElection();
546 KingImpeachmentElection(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 uint8_t byResult, const uint8_t byNation, const char* strAccountID,
558 const char* strCharID, int16_t* nRet) noexcept(false);
559
562 };
563
567 class KingImpeachmentRequestElection : public detail::StoredProcedure
568 {
569 public:
570 KingImpeachmentRequestElection();
571 KingImpeachmentRequestElection(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 int16_t byType, const uint8_t byNation, const char* strUserID) noexcept(false);
583 };
584
588 class KingImpeachmentResult : public detail::StoredProcedure
589 {
590 public:
591 KingImpeachmentResult();
592 KingImpeachmentResult(std::shared_ptr<nanodbc::connection> conn);
593
595 static const std::string& Query();
596
598 static modelUtil::DbType DbType();
599
602 std::weak_ptr<nanodbc::result> execute(
603 const uint8_t byNation, int16_t* nTotalMan, int16_t* nAgreeMan) noexcept(false);
604
607 };
608
612 class KingInsertPrizeEvent : public detail::StoredProcedure
613 {
614 public:
615 KingInsertPrizeEvent();
616 KingInsertPrizeEvent(std::shared_ptr<nanodbc::connection> conn);
617
619 static const std::string& Query();
620
622 static modelUtil::DbType DbType();
623
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);
629 };
630
634 class KingUpdateElectionList : public detail::StoredProcedure
635 {
636 public:
637 KingUpdateElectionList();
638 KingUpdateElectionList(std::shared_ptr<nanodbc::connection> conn);
639
641 static const std::string& Query();
642
644 static modelUtil::DbType DbType();
645
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);
651 };
652
656 class KingUpdateElectionSchdule : public detail::StoredProcedure
657 {
658 public:
659 KingUpdateElectionSchdule();
660 KingUpdateElectionSchdule(std::shared_ptr<nanodbc::connection> conn);
661
663 static const std::string& Query();
664
666 static modelUtil::DbType DbType();
667
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);
674 };
675
679 class KingUpdateElectionStatus : public detail::StoredProcedure
680 {
681 public:
682 KingUpdateElectionStatus();
683 KingUpdateElectionStatus(std::shared_ptr<nanodbc::connection> conn);
684
686 static const std::string& Query();
687
689 static modelUtil::DbType DbType();
690
693 std::weak_ptr<nanodbc::result> execute(
694 const uint8_t byType, const uint8_t byNation) noexcept(false);
695 };
696
700 class KingUpdateImpeachmentStatus : public detail::StoredProcedure
701 {
702 public:
703 KingUpdateImpeachmentStatus();
704 KingUpdateImpeachmentStatus(std::shared_ptr<nanodbc::connection> conn);
705
707 static const std::string& Query();
708
710 static modelUtil::DbType DbType();
711
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);
718 };
719
723 class KingUpdateNoahOrExpEvent : public detail::StoredProcedure
724 {
725 public:
726 KingUpdateNoahOrExpEvent();
727 KingUpdateNoahOrExpEvent(std::shared_ptr<nanodbc::connection> conn);
728
730 static const std::string& Query();
731
733 static modelUtil::DbType DbType();
734
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);
741 };
742
746 class KnightsRatingUpdate : public detail::StoredProcedure
747 {
748 public:
749 KnightsRatingUpdate();
750 KnightsRatingUpdate(std::shared_ptr<nanodbc::connection> conn);
751
753 static const std::string& Query();
754
756 static modelUtil::DbType DbType();
757
760 std::weak_ptr<nanodbc::result> execute() noexcept(false);
761 };
762
766 class LoadAccountCharid : public detail::StoredProcedure
767 {
768 public:
769 LoadAccountCharid();
770 LoadAccountCharid(std::shared_ptr<nanodbc::connection> conn);
771
773 static const std::string& Query();
774
776 static modelUtil::DbType DbType();
777
780 std::weak_ptr<nanodbc::result> execute(int* returnValue,
781 const char* Accountid) noexcept(false);
782
785 };
786
790 class LoadCharInfo : public detail::StoredProcedure
791 {
792 public:
793 LoadCharInfo();
794 LoadCharInfo(std::shared_ptr<nanodbc::connection> conn);
795
797 static const std::string& Query();
798
800 static modelUtil::DbType DbType();
801
804 std::weak_ptr<nanodbc::result> execute(
805 const char* CharId, int16_t* nRet) noexcept(false);
806
809 };
810
814 class LoadKnightsMembers : public detail::StoredProcedure
815 {
816 public:
817 LoadKnightsMembers();
818 LoadKnightsMembers(std::shared_ptr<nanodbc::connection> conn);
819
821 static const std::string& Query();
822
824 static modelUtil::DbType DbType();
825
828 std::weak_ptr<nanodbc::result> execute(
829 const int16_t knightsindex) noexcept(false);
830 };
831
835 class LoadPremiumServiceUser : public detail::StoredProcedure
836 {
837 public:
838 LoadPremiumServiceUser();
839 LoadPremiumServiceUser(std::shared_ptr<nanodbc::connection> conn);
840
842 static const std::string& Query();
843
845 static modelUtil::DbType DbType();
846
849 std::weak_ptr<nanodbc::result> execute(
850 const char* AccountID, int32_t* type, int32_t* days) noexcept(false);
851
854 };
855
859 class LoadRentalData : public detail::StoredProcedure
860 {
861 public:
862 LoadRentalData();
863 LoadRentalData(std::shared_ptr<nanodbc::connection> conn);
864
866 static const std::string& Query();
867
869 static modelUtil::DbType DbType();
870
873 std::weak_ptr<nanodbc::result> execute(
874 const char* strAccountID) noexcept(false);
875 };
876
880 class LoadSavedMagic : public detail::StoredProcedure
881 {
882 public:
883 LoadSavedMagic();
884 LoadSavedMagic(std::shared_ptr<nanodbc::connection> conn);
885
887 static const std::string& Query();
888
890 static modelUtil::DbType DbType();
891
894 std::weak_ptr<nanodbc::result> execute(
895 const char* CharId, int16_t* nRet) noexcept(false);
896
899 };
900
904 class LoadUserData : public detail::StoredProcedure
905 {
906 public:
907 LoadUserData();
908 LoadUserData(std::shared_ptr<nanodbc::connection> conn);
909
911 static const std::string& Query();
912
914 static modelUtil::DbType DbType();
915
918 std::weak_ptr<nanodbc::result> execute(
919 const char* AccountID, const char* id, int16_t* nRet) noexcept(false);
920
923 };
924
928 class LoadWebItemmall : public detail::StoredProcedure
929 {
930 public:
931 LoadWebItemmall();
932 LoadWebItemmall(std::shared_ptr<nanodbc::connection> conn);
933
935 static const std::string& Query();
936
938 static modelUtil::DbType DbType();
939
942 std::weak_ptr<nanodbc::result> execute(
943 const char* strCharID) noexcept(false);
944 };
945
949 class NationSelect : public detail::StoredProcedure
950 {
951 public:
952 NationSelect();
953 NationSelect(std::shared_ptr<nanodbc::connection> conn);
954
956 static const std::string& Query();
957
959 static modelUtil::DbType DbType();
960
963 std::weak_ptr<nanodbc::result> execute(
964 int16_t* nRet, const char* AccountID, const uint8_t Nation) noexcept(false);
965
968 };
969
973 class ProcInsertCurrentuser : public detail::StoredProcedure
974 {
975 public:
976 ProcInsertCurrentuser();
977 ProcInsertCurrentuser(std::shared_ptr<nanodbc::connection> conn);
978
980 static const std::string& Query();
981
983 static modelUtil::DbType DbType();
984
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);
990
993 };
994
998 class RankKnights : public detail::StoredProcedure
999 {
1000 public:
1001 RankKnights();
1002 RankKnights(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() noexcept(false);
1013 };
1014
1018 class RentalItemCancel : public detail::StoredProcedure
1019 {
1020 public:
1021 RentalItemCancel();
1022 RentalItemCancel(std::shared_ptr<nanodbc::connection> conn);
1023
1025 static const std::string& Query();
1026
1028 static modelUtil::DbType DbType();
1029
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);
1035
1038 };
1039
1043 class RentalItemDestory : public detail::StoredProcedure
1044 {
1045 public:
1046 RentalItemDestory();
1047 RentalItemDestory(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 nItemNumber,
1059 const int32_t nRentalIndex, const int16_t nDurability, int16_t* nRet) noexcept(false);
1060
1063 };
1064
1068 class RentalItemDurabilityUpdate : public detail::StoredProcedure
1069 {
1070 public:
1071 RentalItemDurabilityUpdate();
1072 RentalItemDurabilityUpdate(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 int32_t nRentalIndex, const int32_t nDurability) noexcept(false);
1084 };
1085
1089 class RentalItemLend : public detail::StoredProcedure
1090 {
1091 public:
1092 RentalItemLend();
1093 RentalItemLend(std::shared_ptr<nanodbc::connection> conn);
1094
1096 static const std::string& Query();
1097
1099 static modelUtil::DbType DbType();
1100
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);
1106
1109 };
1110
1114 class RentalItemRegister : public detail::StoredProcedure
1115 {
1116 public:
1117 RentalItemRegister();
1118 RentalItemRegister(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* 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);
1133
1136 };
1137
1141 class ResetLoyaltyMonthly : public detail::StoredProcedure
1142 {
1143 public:
1144 ResetLoyaltyMonthly();
1145 ResetLoyaltyMonthly(std::shared_ptr<nanodbc::connection> conn);
1146
1148 static const std::string& Query();
1149
1151 static modelUtil::DbType DbType();
1152
1155 std::weak_ptr<nanodbc::result> execute() noexcept(false);
1156 };
1157
1161 class SkillshortcutLoad : public detail::StoredProcedure
1162 {
1163 public:
1164 SkillshortcutLoad();
1165 SkillshortcutLoad(std::shared_ptr<nanodbc::connection> conn);
1166
1168 static const std::string& Query();
1169
1171 static modelUtil::DbType DbType();
1172
1175 std::weak_ptr<nanodbc::result> execute(
1176 const char* strCharID) noexcept(false);
1177 };
1178
1182 class SkillshortcutSave : public detail::StoredProcedure
1183 {
1184 public:
1185 SkillshortcutSave();
1186 SkillshortcutSave(std::shared_ptr<nanodbc::connection> conn);
1187
1189 static const std::string& Query();
1190
1192 static modelUtil::DbType DbType();
1193
1196 std::weak_ptr<nanodbc::result> execute(
1197 const char* strCharID, const int16_t nCount, const char* strSkillData) noexcept(false);
1198 };
1199
1203 class UpdateBattleHero : public detail::StoredProcedure
1204 {
1205 public:
1206 UpdateBattleHero();
1207 UpdateBattleHero(std::shared_ptr<nanodbc::connection> conn);
1208
1210 static const std::string& Query();
1211
1213 static modelUtil::DbType DbType();
1214
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);
1220 };
1221
1225 class UpdateBattleResult : public detail::StoredProcedure
1226 {
1227 public:
1228 UpdateBattleResult();
1229 UpdateBattleResult(std::shared_ptr<nanodbc::connection> conn);
1230
1232 static const std::string& Query();
1233
1235 static modelUtil::DbType DbType();
1236
1239 std::weak_ptr<nanodbc::result> execute(
1240 const char* UserId, const uint8_t byNation, const int16_t index) noexcept(false);
1241 };
1242
1246 class UpdateEditorItemData : public detail::StoredProcedure
1247 {
1248 public:
1249 UpdateEditorItemData();
1250 UpdateEditorItemData(std::shared_ptr<nanodbc::connection> conn);
1251
1253 static const std::string& Query();
1254
1256 static modelUtil::DbType DbType();
1257
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);
1264 };
1265
1269 class UpdateKnights : public detail::StoredProcedure
1270 {
1271 public:
1272 UpdateKnights();
1273 UpdateKnights(std::shared_ptr<nanodbc::connection> conn);
1274
1276 static const std::string& Query();
1277
1279 static modelUtil::DbType DbType();
1280
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);
1286
1289 };
1290
1294 class UpdateKnightsAlliance : public detail::StoredProcedure
1295 {
1296 public:
1297 UpdateKnightsAlliance();
1298 UpdateKnightsAlliance(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 const uint8_t byType, const int16_t shAlliancIndex, const int16_t shKnightsIndex,
1310 const uint8_t byEmptyIndex, const uint8_t bySiegeFlag) noexcept(false);
1311 };
1312
1316 class UpdateKnightsMark : public detail::StoredProcedure
1317 {
1318 public:
1319 UpdateKnightsMark();
1320 UpdateKnightsMark(std::shared_ptr<nanodbc::connection> conn);
1321
1323 static const std::string& Query();
1324
1326 static modelUtil::DbType DbType();
1327
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);
1333
1336 };
1337
1341 class UpdateKnightsWar : public detail::StoredProcedure
1342 {
1343 public:
1344 UpdateKnightsWar();
1345 UpdateKnightsWar(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 const uint8_t byType, const int16_t shWhite, const int16_t shBlue) noexcept(false);
1357 };
1358
1362 class UpdatePersonalRank : public detail::StoredProcedure
1363 {
1364 public:
1365 UpdatePersonalRank();
1366 UpdatePersonalRank(std::shared_ptr<nanodbc::connection> conn);
1367
1369 static const std::string& Query();
1370
1372 static modelUtil::DbType DbType();
1373
1376 std::weak_ptr<nanodbc::result> execute() noexcept(false);
1377 };
1378
1382 class UpdatePremiumServiceUser : public detail::StoredProcedure
1383 {
1384 public:
1385 UpdatePremiumServiceUser();
1386 UpdatePremiumServiceUser(std::shared_ptr<nanodbc::connection> conn);
1387
1389 static const std::string& Query();
1390
1392 static modelUtil::DbType DbType();
1393
1396 std::weak_ptr<nanodbc::result> execute(int* returnValue,
1397 const char* AccountID, const int16_t Days) noexcept(false);
1398
1401 };
1402
1406 class UpdateSavedMagic : public detail::StoredProcedure
1407 {
1408 public:
1409 UpdateSavedMagic();
1410 UpdateSavedMagic(std::shared_ptr<nanodbc::connection> conn);
1411
1413 static const std::string& Query();
1414
1416 static modelUtil::DbType DbType();
1417
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);
1428 };
1429
1433 class UpdateSiege : public detail::StoredProcedure
1434 {
1435 public:
1436 UpdateSiege();
1437 UpdateSiege(std::shared_ptr<nanodbc::connection> conn);
1438
1440 static const std::string& Query();
1441
1443 static modelUtil::DbType DbType();
1444
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);
1451 };
1452
1456 class UpdateSiegeChallenger : public detail::StoredProcedure
1457 {
1458 public:
1459 UpdateSiegeChallenger();
1460 UpdateSiegeChallenger(std::shared_ptr<nanodbc::connection> conn);
1461
1463 static const std::string& Query();
1464
1466 static modelUtil::DbType DbType();
1467
1470 std::weak_ptr<nanodbc::result> execute(
1471 const int16_t sCastleIndex, const char* strChallengerList) noexcept(false);
1472 };
1473
1477 class UpdateSiegeChallenger2 : public detail::StoredProcedure
1478 {
1479 public:
1480 UpdateSiegeChallenger2();
1481 UpdateSiegeChallenger2(std::shared_ptr<nanodbc::connection> conn);
1482
1484 static const std::string& Query();
1485
1487 static modelUtil::DbType DbType();
1488
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);
1496 };
1497
1501 class UpdateSiegeDecideChallenger : public detail::StoredProcedure
1502 {
1503 public:
1504 UpdateSiegeDecideChallenger();
1505 UpdateSiegeDecideChallenger(std::shared_ptr<nanodbc::connection> conn);
1506
1508 static const std::string& Query();
1509
1511 static modelUtil::DbType DbType();
1512
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);
1520 };
1521
1525 class UpdateUserData : public detail::StoredProcedure
1526 {
1527 public:
1528 UpdateUserData();
1529 UpdateUserData(std::shared_ptr<nanodbc::connection> conn);
1530
1532 static const std::string& Query();
1533
1535 static modelUtil::DbType DbType();
1536
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);
1553 };
1554
1558 class UpdateWarehouse : public detail::StoredProcedure
1559 {
1560 public:
1561 UpdateWarehouse();
1562 UpdateWarehouse(std::shared_ptr<nanodbc::connection> conn);
1563
1565 static const std::string& Query();
1566
1568 static modelUtil::DbType DbType();
1569
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);
1575 };
1576
1580 class UserKnightsRatingUpdate : public detail::StoredProcedure
1581 {
1582 public:
1583 UserKnightsRatingUpdate();
1584 UserKnightsRatingUpdate(std::shared_ptr<nanodbc::connection> conn);
1585
1587 static const std::string& Query();
1588
1590 static modelUtil::DbType DbType();
1591
1594 std::weak_ptr<nanodbc::result> execute() noexcept(false);
1595 };
1596}
1597
1598#endif // STOREDPROC_STOREDPROC_H
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 modelUtil::DbType DbType()
Returns the associated database type for the table.
Definition StoredProc.cpp:709
static const std::string & Query()
Returns the query associated with preparing this statement.
Definition StoredProc.cpp:702
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