[Commands] Cleanup #spawnstatus Command. (#2144)

* [Commands] Cleanup #spawnstatus Command.
- Cleanup messages and logic.

* Further cleanup and consolidation, add inline GetTimer() as timer is protected.
This commit is contained in:
Kinglykrab
2022-05-06 19:12:29 -04:00
committed by GitHub
parent 04f3d6286c
commit 8dcc810b43
5 changed files with 127 additions and 117 deletions
-4
View File
@@ -287,11 +287,7 @@ public:
void SetStaticZone(bool sz) { staticzone = sz; }
void SetTime(uint8 hour, uint8 minute, bool update_world = true);
void SetUCSServerAvailable(bool ucss_available, uint32 update_timestamp);
void ShowDisabledSpawnStatus(Mob *client);
void ShowEnabledSpawnStatus(Mob *client);
void ShowSpawnStatusByID(Mob *client, uint32 spawnid);
void SpawnConditionChanged(const SpawnCondition &c, int16 old_value);
void SpawnStatus(Mob *client);
void StartShutdownTimer(uint32 set_time = (RuleI(Zone, AutoShutdownDelay)));
void UpdateQGlobal(uint32 qid, QGlobal newGlobal);
void weatherSend(Client *client = nullptr);