Aura.Channel.World.Shops.PersonalShop.TakeDown C# (CSharp) Метод

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

Closes the shop for all customers and takes it down, removing the prop.
public TakeDown ( ) : void
Результат void
		public void TakeDown()
		{
			// Remove prop
			if (this.Prop != null)
			{
				this.Prop.Region.RemoveProp(this.Prop);
				this.Prop = null;
			}

			// Remove overseer
			this.SetOverseer(null, 0);

			// Close for everybody
			this.ForAllCustomers(creature => Send.PersonalShopCloseWindow(creature));

			// Reset item prices
			var items = this.GetPricedItems();
			foreach (var item in items)
				item.PersonalShopPrice = 0;

			this.Owner.Temp.ActivePersonalShop = null;
		}