Aura.Channel.Scripting.Scripts.NpcShopScript.GetOrCreateTab C# (CSharp) 메소드

GetOrCreateTab() 보호된 메소드

Returns the given tab, after creating if necessary.
protected GetOrCreateTab ( string tabTitle ) : NpcShopTab
tabTitle string
리턴 NpcShopTab
		protected NpcShopTab GetOrCreateTab(string tabTitle)
		{
			NpcShopTab tab;
			lock (_tabs)
				_tabs.TryGetValue(tabTitle, out tab);

			if (tab == null)
				tab = this.Add(tabTitle);

			return tab;
		}