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

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

Removes all event items from the given shop.
protected RemoveEventItemsFromShop ( string shopName ) : void
shopName string
Результат void
		protected void RemoveEventItemsFromShop(string shopName)
		{
			var shop = ChannelServer.Instance.ScriptManager.NpcShopScripts.Get(shopName);
			if (shop == null)
			{
				Log.Error("{0}.RemoveEventItemsFromShop: Shop '{1}' not found.", this.GetType().Name, shopName);
				return;
			}

			shop.ClearTab(Localization.Get("Event"));
		}
	}