[Account] Convert Get/Update Account Karma to Repositories (#3858)

* [Account] Convert Get/Update Account Karma to Repositories

- Convert `GetKarma` and `UpdateKarma` to repositories.

* Update zonedb.cpp
This commit is contained in:
Alex King
2024-01-07 01:23:18 -05:00
committed by GitHub
parent a724e92638
commit b288202c96
3 changed files with 121 additions and 17 deletions
+2 -2
View File
@@ -653,8 +653,8 @@ public:
* PLEASE DO NOT ADD TO THIS COLLECTION OF CRAP UNLESS YOUR METHOD
* REALLY HAS NO BETTER SECTION
*/
uint32 GetKarma(uint32 acct_id);
void UpdateKarma(uint32 acct_id, uint32 amount);
uint32 GetKarma(uint32 account_id);
void UpdateKarma(uint32 account_id, uint32 amount);
// bot database add-on to eliminate the need for a second database connection
BotDatabase botdb;