[Commands] Cleanup #shownpcgloballoot and #showzonegloballoot Commands (#3440)

# Notes
- Cleanup messages and logic.
- Utilize Dialogue Window tables.
This commit is contained in:
Alex King
2023-06-24 14:03:37 -04:00
committed by GitHub
parent 64ae7e4529
commit 4330494f57
4 changed files with 61 additions and 63 deletions
+2 -2
View File
@@ -177,8 +177,8 @@ public:
inline Timer *GetInstanceTimer() { return Instance_Timer; }
inline void AddGlobalLootEntry(GlobalLootEntry &in) { return m_global_loot.AddEntry(in); }
inline void SetZoneHasCurrentTime(bool time) { zone_has_current_time = time; }
inline void ShowNPCGlobalLoot(Client *to, NPC *who) { m_global_loot.ShowNPCGlobalLoot(to, who); }
inline void ShowZoneGlobalLoot(Client *to) { m_global_loot.ShowZoneGlobalLoot(to); }
inline void ShowNPCGlobalLoot(Client *c, NPC *t) { m_global_loot.ShowNPCGlobalLoot(c, t); }
inline void ShowZoneGlobalLoot(Client *c) { m_global_loot.ShowZoneGlobalLoot(c); }
int GetZoneTotalBlockedSpells() { return zone_total_blocked_spells; }
int SaveTempItem(uint32 merchantid, uint32 npcid, uint32 item, int32 charges, bool sold = false);
int32 MobsAggroCount() { return aggroedmobs; }