Aura.Channel.Scripting.Scripts.NpcShopScript.GetTabs C# (CSharp) Метод

GetTabs() защищенный Метод

Returns thread-safe list of visible tabs, or all tabs if one of the parameters is null.
TODO: This could be cached.
protected GetTabs ( Creature creature, NPC owner ) : IList
creature Aura.Channel.World.Entities.Creature Creature opening the shop
owner Aura.Channel.World.Entities.NPC NPC owning the shop
Результат IList
		protected IList<NpcShopTab> GetTabs(Creature creature, NPC owner)
		{
			lock (_tabs)
				return creature == null || owner == null
					? _tabs.Values.ToList()
					: _tabs.Values.Where(t => t.ShouldDisplay(creature, owner)).ToList();
		}

Same methods

NpcShopScript::GetTabs ( ) : IList