[Commands] Cleanup #advnpcspawn and #npcspawn Commands. (#1754)

* [Commands] Cleanup #advnpcspawn and #npcspawn Commands.
- Cleanup messages and logic.
- Add enum for spawn types to remove magic numbers.
- Cleanup messages that were improper/unused.

* Cleanup.

* Cleanup.

* Cleanup.

* Typo.

* Update command.cpp
This commit is contained in:
Kinglykrab
2021-11-14 20:58:55 -05:00
committed by GitHub
parent 6400e2f8bc
commit 5d75b7b365
4 changed files with 601 additions and 303 deletions
+12
View File
@@ -257,6 +257,18 @@ namespace BeastlordPetData {
};
}
namespace NPCSpawnTypes {
enum : uint8 {
CreateNewSpawn,
AddNewSpawngroup,
UpdateAppearance,
RemoveSpawn,
DeleteSpawn,
AddSpawnFromSpawngroup,
CreateNewNPC
};
}
namespace RaidLootTypes {
enum : uint32 {
RaidLeader = 1,