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

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

Creatures new NpcShopTab
public NpcShopTab ( string title, int order, bool randomizeColors, Func display ) : System
title string Tab title display in-game.
order int
randomizeColors bool
display Func Function that determines whether tab should be displayed, set null if not used.
Результат System
		public NpcShopTab(string title, int order, bool randomizeColors, Func<Creature, NPC, bool> display)
		{
			_items = new Dictionary<long, Item>();
			this.Title = title;
			this.Order = order;
			this.RandomizeColorsEnabled = randomizeColors;
			this.ShouldDisplay = display ?? ((c, n) => true);
		}