Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add some save data tests #1623

Merged
merged 15 commits into from
Nov 18, 2024
4 changes: 4 additions & 0 deletions dDatabase/GameDatabase/TestSQL/TestSQLDatabase.cpp
DarwinAnim8or marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,7 @@ void TestSQLDatabase::RemoveBehavior(const int32_t behaviorId) {

}

void TestSQLDatabase::UpdateAccountGmLevel(const uint32_t accountId, const eGameMasterLevel gmLevel) {

}

7 changes: 4 additions & 3 deletions dDatabase/GameDatabase/TestSQL/TestSQLDatabase.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ class TestSQLDatabase : public GameDatabase {
std::vector<IIgnoreList::Info> GetIgnoreList(const uint32_t playerId) override;
void InsertRewardCode(const uint32_t account_id, const uint32_t reward_code) override;
std::vector<uint32_t> 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
Loading