예제 #1
0
 internal void Clear()
 {
     lock (this)
     {
         ActiveFights.Clear();
         LifetimeFights.Clear();
         AllDeathBlocks.Clear();
         AllMiscBlocks.Clear();
         AllSpellCastBlocks.Clear();
         AllUniqueSpellCasts.Clear();
         AllUniqueSpellsCache.Clear();
         AllReceivedSpellBlocks.Clear();
         AllResistBlocks.Clear();
         AllHealBlocks.Clear();
         AllLootBlocks.Clear();
         AllSpecialActions.Clear();
         EventsClearedActiveData?.Invoke(this, true);
     }
 }
예제 #2
0
 internal void Clear()
 {
     lock (this)
     {
         LastSpellIndex = -1;
         ActiveFights.Clear();
         LifetimeFights.Clear();
         AllDeathBlocks.Clear();
         AllMiscBlocks.Clear();
         AllSpellCastBlocks.Clear();
         AllReceivedSpellBlocks.Clear();
         AllResistBlocks.Clear();
         AllHealBlocks.Clear();
         AllLootBlocks.Clear();
         AllSpecialActions.Clear();
         SpellAbbrvCache.Clear();
         NpcTotalSpellCounts.Clear();
         NpcResistStats.Clear();
         ClearActiveAdps();
         EventsClearedActiveData?.Invoke(this, true);
     }
 }