Aura.Channel.World.Entities.Creatures.CreatureSkills.RemoveSilent C# (CSharp) Метод

RemoveSilent() публичный Метод

Removes skill with given id and its bonuses, without updating the client.
If we want a non-silent version of this, we need to know the skill removal packet.
public RemoveSilent ( SkillId skillId ) : bool
skillId SkillId
Результат bool
		public bool RemoveSilent(SkillId skillId)
		{
			if (!this.Has(skillId))
				return false;

			lock (_skills)
			{
				var skill = _skills[skillId];
				this.RemoveBonuses(skill);
				_skills.Remove(skillId);
			}

			return true;
		}