예제 #1
0
        internal void Dispose()
        {
            SpellState = SpellState.Disposed;

            SpellInfo = null;
            Caster    = OriginalCaster = null;
            appliedModifierAuras.Clear();
            chargeDroppedModifierAuras.Clear();

            ImplicitTargets.Dispose();
            ExplicitTargets.Dispose();
        }
예제 #2
0
        internal void Dispose()
        {
            SpellState = SpellState.Disposed;

            SpellInfo = null;
            Caster    = OriginalCaster = null;
            appliedModifierAuras.Clear();
            chargeDroppedModifierAuras.Clear();
            appliedModifiers.Clear();
            unappliedModifiers.Clear();

            ListPoolContainer <(SpellPowerType, int)> .Return(powerCosts);

            powerCosts = null;

            ImplicitTargets.Dispose();
            ExplicitTargets.Dispose();
        }