From 6818a178fde08d124a3d08a6e6b4a7818ee8dc50 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Sat, 6 Jul 2024 12:05:40 -0700 Subject: [PATCH] update --- dDatabase/GameDatabase/TestSQL/TestSQLDatabase.cpp | 4 ++++ dDatabase/GameDatabase/TestSQL/TestSQLDatabase.h | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dDatabase/GameDatabase/TestSQL/TestSQLDatabase.cpp b/dDatabase/GameDatabase/TestSQL/TestSQLDatabase.cpp index 064f857bd..e44cd1f7c 100644 --- a/dDatabase/GameDatabase/TestSQL/TestSQLDatabase.cpp +++ b/dDatabase/GameDatabase/TestSQL/TestSQLDatabase.cpp @@ -300,3 +300,7 @@ void TestSQLDatabase::RemoveBehavior(const int32_t behaviorId) { } +void TestSQLDatabase::UpdateAccountGmLevel(const uint32_t accountId, const eGameMasterLevel gmLevel) { + +} + diff --git a/dDatabase/GameDatabase/TestSQL/TestSQLDatabase.h b/dDatabase/GameDatabase/TestSQL/TestSQLDatabase.h index c7591942a..6fbdf879f 100644 --- a/dDatabase/GameDatabase/TestSQL/TestSQLDatabase.h +++ b/dDatabase/GameDatabase/TestSQL/TestSQLDatabase.h @@ -86,9 +86,10 @@ class TestSQLDatabase : public GameDatabase { std::vector GetIgnoreList(const uint32_t playerId) override; void InsertRewardCode(const uint32_t account_id, const uint32_t reward_code) override; std::vector GetRewardCodesByAccountID(const uint32_t account_id) override; - virtual void AddBehavior(const IBehaviors::Info& info); - virtual std::string GetBehavior(const int32_t behaviorId); - virtual void RemoveBehavior(const int32_t behaviorId); + void AddBehavior(const IBehaviors::Info& info) override; + std::string GetBehavior(const int32_t behaviorId) override; + void RemoveBehavior(const int32_t behaviorId) override; + void UpdateAccountGmLevel(const uint32_t accountId, const eGameMasterLevel gmLevel) override; }; #endif //!TESTSQLDATABASE_H