Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }