[Commands] Convert NPC Spawn Methods to Repositories (#3956)

* [Commands] Convert NPC Spawn Methods to Repositories

# Notes
- Convert `AddNewNPCSpawnGroupCommand()`, `AddNPCTypes()`, `AddSpawnFromSpawnGroup()`, `CreateNewNPCCommand()`, `DeleteSpawnLeaveInNPCTypeTable()`, `DeleteSpawnRemoveFromNPCTypeTable()`, `NPCSpawnDB()`, and `UpdateNPCTypeAppearance()`.

* Regenerate.

* Cleanup.
This commit is contained in:
Alex King authored and GitHub committed 2024-01-12 23:02:19 -06:00
1 parent 6968a70310
commit e182d685d3
4 files changed
+309 -248

No files matched your search

@@ -16,6 +16,7 @@
#include "../../strings.h"
#include <ctime>
class BaseSpawngroupRepository {
public:
struct Spawngroup {