Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr

Port From (https://github.com/TrinityCore/TrinityCore/commit/9b924522d0549dd67b10e2cbdfc20297dd21e182)
This commit is contained in:
hondacrx
2022-10-04 10:57:04 -04:00
parent 793cf91a24
commit 66c7047a29
27 changed files with 186 additions and 1545 deletions
+3 -1
View File
@@ -65,8 +65,9 @@ namespace Game.Scenarios
Criteria criteria = Global.CriteriaMgr.GetCriteria(iter.Key);
switch (criteria.Entry.Type)
{
// Blizzard only appears to store creature kills
// Blizzard only appears to store creature kills and dungeon encounters
case CriteriaType.KillCreature:
case CriteriaType.DefeatDungeonEncounter:
break;
default:
continue;
@@ -131,6 +132,7 @@ namespace Game.Scenarios
{
// Blizzard appears to only stores creatures killed progress for unknown reasons. Either technical shortcoming or intentional
case CriteriaType.KillCreature:
case CriteriaType.DefeatDungeonEncounter:
break;
default:
continue;