[Character] Convert Delete/Save of Character Memmed Spells to Repositories (#3841)

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

- Converts `DeleteCharacterMemorizedSpell` and `LoadCharacterMemmedSpells` to repositories.

* Update zonedb.cpp

* Update zonedb.cpp
This commit is contained in:
Alex King
2024-01-07 00:09:12 -05:00
committed by GitHub
parent 05f09b56e6
commit bc4bebb4a9
4 changed files with 106 additions and 29 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ public:
bool DeleteCharacterDisc(uint32 character_id, uint32 slot_id);
bool DeleteCharacterMaterialColor(uint32 character_id);
bool DeleteCharacterLeadershipAbilities(uint32 character_id);
bool DeleteCharacterMemorizedSpell(uint32 character_id, uint32 spell_id, uint32 slot_id);
bool DeleteCharacterMemorizedSpell(uint32 character_id, uint32 slot_id);
bool DeleteCharacterSpell(uint32 character_id, uint32 spell_id, uint32 slot_id);
bool LoadCharacterBandolier(uint32 character_id, PlayerProfile_Struct* pp);