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

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

Sends OpenNpcShop for creature and this shop.
public OpenFor ( Creature creature, NPC owner ) : void
creature Aura.Channel.World.Entities.Creature Creature opening the shop
owner Aura.Channel.World.Entities.NPC NPC owning the shop
Результат void
		public void OpenFor(Creature creature, NPC owner)
		{
			// Shops without tabs are weird.
			if (_tabs.Count == 0)
				this.Add("Empty");

			creature.Temp.CurrentShop = this;
			creature.Temp.CurrentShopOwner = owner;

			Send.OpenNpcShop(creature, this.GetTabs(creature, owner));
		}