mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
[Mercenaries] Convert Mercenaries to Repositories (#3947)
* [Mercenaries] Convert Mercenaries to Repositories - Convert all Mercenary methods to repositories aside from inner join queries that cannot be converted. * Update base_merc_subtypes_repository.h * Update base_merc_subtypes_repository.h * Regenerate repositories
This commit is contained in:
+8
-8
@@ -581,14 +581,14 @@ public:
|
||||
void ClearBotSpells() { bot_spells_cache.clear(); bot_spells_loadtried.clear(); }
|
||||
|
||||
/* Mercs */
|
||||
const NPCType* GetMercType(uint32 id, uint16 raceid, uint32 clientlevel);
|
||||
void LoadMercEquipment(Merc *merc);
|
||||
void SaveMercBuffs(Merc *merc);
|
||||
void LoadMercBuffs(Merc *merc);
|
||||
bool LoadMercInfo(Client *c);
|
||||
bool LoadCurrentMerc(Client *c);
|
||||
bool SaveMerc(Merc *merc);
|
||||
bool DeleteMerc(uint32 merc_id);
|
||||
const NPCType* GetMercenaryType(uint32 id, uint16 race_id, uint32 owner_level);
|
||||
void LoadMercenaryEquipment(Merc* m);
|
||||
void SaveMercenaryBuffs(Merc* m);
|
||||
void LoadMercenaryBuffs(Merc* m);
|
||||
bool LoadMercenaryInfo(Client* c);
|
||||
bool LoadCurrentMercenary(Client* c);
|
||||
bool SaveMercenary(Merc* m);
|
||||
bool DeleteMercenary(uint32 mercenary_id);
|
||||
|
||||
/* Petitions */
|
||||
void DeletePetitionFromDB(Petition* wpet);
|
||||
|
||||
Reference in New Issue
Block a user