Aura.Channel.World.Dungeons.Dungeon.OnBossDeath C# (CSharp) Метод

OnBossDeath() приватный Метод

Raised when one of the bosses dies.
private OnBossDeath ( Creature creature, Creature killer ) : void
creature Aura.Channel.World.Entities.Creature
killer Aura.Channel.World.Entities.Creature
Результат void
		private void OnBossDeath(Creature creature, Creature killer)
		{
			Interlocked.Add(ref _bossesRemaining, -1);

			// Call OnBossDeath
			if (this.Script != null)
				this.Script.OnBossDeath(this, creature, killer);

			// Complete dungeon when all bosses were killed
			if (_bossesRemaining == 0 && !_manualCompletion)
				this.Complete();
		}