[Character] Convert Delete/Load/Save of Character Spells to Repositories (#3842)

* [Character] Convert Delete/Load/Save of Character Spells to Repositories

- Converts `DeleteCharacterSpell`, `LoadCharacterSpellBook`, and `SaveCharacterSpell` to repositories.

* Update zonedb.cpp
This commit is contained in:
Alex King
2024-01-07 00:12:40 -05:00
committed by GitHub
parent bc4bebb4a9
commit eb5eb0ca30
5 changed files with 112 additions and 36 deletions
+1 -1
View File
@@ -428,7 +428,7 @@ public:
bool DeleteCharacterMaterialColor(uint32 character_id);
bool DeleteCharacterLeadershipAbilities(uint32 character_id);
bool DeleteCharacterMemorizedSpell(uint32 character_id, uint32 slot_id);
bool DeleteCharacterSpell(uint32 character_id, uint32 spell_id, uint32 slot_id);
bool DeleteCharacterSpell(uint32 character_id, uint32 slot_id);
bool LoadCharacterBandolier(uint32 character_id, PlayerProfile_Struct* pp);
bool LoadCharacterBindPoint(uint32 character_id, PlayerProfile_Struct* pp);