Aura.Channel.Scripting.Scripts.GameEventScript.RemoveEventItemsFromShop C# (CSharp) Method

RemoveEventItemsFromShop() protected method

Removes all event items from the given shop.
protected RemoveEventItemsFromShop ( string shopName ) : void
shopName string
return 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"));
		}
	}