Scripts/Commands: New utility command: .list spawnpoints.

Port From (https://github.com/TrinityCore/TrinityCore/commit/703910d71baa3182c956494465cdd335f5de1d3d)
This commit is contained in:
hondacrx
2020-08-23 22:02:52 -04:00
parent 1fb15f31c7
commit 5bc078060f
6 changed files with 63 additions and 13 deletions
+2
View File
@@ -3538,6 +3538,7 @@ namespace Game
{
return _creatureTemplateStorage;
}
public Dictionary<ulong, CreatureData> GetAllCreatureData() { return creatureDataStorage; }
public CreatureData GetCreatureData(ulong guid)
{
return creatureDataStorage.LookupByKey(guid);
@@ -4381,6 +4382,7 @@ namespace Game
return _gameObjectQuestItemStorage.LookupByKey(id);
}
MultiMap<uint, uint> GetGameObjectQuestItemMap() { return _gameObjectQuestItemStorage; }
public Dictionary<ulong, GameObjectData> GetAllGameObjectData() { return gameObjectDataStorage; }
public GameObjectData GetGameObjectData(ulong guid)
{
return gameObjectDataStorage.LookupByKey(guid);