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

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

Returns new list of all skills.
public GetList ( bool>.Func predicate = null ) : ICollection
predicate bool>.Func
Результат ICollection
		public ICollection<Skill> GetList(Func<Skill, bool> predicate = null)
		{
			lock (_skills)
			{
				// Return all or only the ones matching the predicate.
				var skills = (predicate == null ? _skills.Values : _skills.Values.Where(predicate));
				return skills.ToArray();
			}
		}