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

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

Opens shop for player.
protected OpenShop ( string typeName ) : void
typeName string
Результат void
		protected void OpenShop(string typeName)
		{
			var shop = ChannelServer.Instance.ScriptManager.NpcShopScripts.Get(typeName);
			if (shop == null)
			{
				Log.Unimplemented("Missing shop: {0}", typeName);
				this.Close("(Missing shop.)");
				return;
			}

			shop.OpenFor(this.Player, this.NPC);
		}