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

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

Creates new PersonalShop instance. Does not actually create shop.
public PersonalShop ( Creature owner, Item bag, Item license ) : Aura.Channel.Network.Sending
owner Aura.Channel.World.Entities.Creature
bag Item
license Item
Результат Aura.Channel.Network.Sending
		public PersonalShop(Creature owner, Item bag, Item license)
		{
			this.LicenseData = AuraData.ShopLicenseDb.Find(license.Data.PersonalShopLicense);
			if (this.LicenseData == null)
				throw new NotSupportedException("Unknown license '" + license.Data.PersonalShopLicense + "'.");

			this.CustomerEntityIds = new HashSet<long>();

			this.Owner = owner;
			this.Bag = bag;
			this.LicenseItem = license;

			this.Region = this.Owner.Region;

			this.Owner.Temp.ActivePersonalShop = this;
		}