Aura.Channel.World.Inventory.CreatureInventory.OnCreatureLeveledUp C# (CSharp) Method

OnCreatureLeveledUp() private method

Raised when inventory's creature leveled up.
private OnCreatureLeveledUp ( Creature creature, int levelBefore ) : void
creature Aura.Channel.World.Entities.Creature
levelBefore int
return void
		private void OnCreatureLeveledUp(Creature creature, int levelBefore)
		{
			// Would it be more efficient to check if updating is actually
			// necessary? Or maybe even to filter out the items that need it?
			// but then we'd be iterating over all items and upgrade effects
			// *multiple* times...

			this.UpdateStatBonuses();
		}