Exemplo n.º 1
0
        /// <summary>
        /// Creates a new shop.
        /// </summary>
        /// <param name="npcId">The npc id.</param>
        /// <param name="shopType">The shop type.</param>
        public Shop(uint npcId, Enums.ShopType shopType)
        {
            _npcId   = npcId;
            ShopType = shopType;

            Items = new ConcurrentHashSet <uint>();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of Shop.
 /// </summary>
 /// <param name="npcid">The npcid associated with the shop. This is also the shop id.</param>
 /// <param name="amount">The amount of items in the shop.</param>
 /// <param name="shoptype">The type of shop.</param>
 public Shop(uint npcid, int amount, Enums.ShopType shoptype)
 {
     ShopItems  = new uint[amount];
     ShopType   = shoptype;
     this.npcid = npcid;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new instance of Shop.
 /// </summary>
 /// <param name="npcid">The npcid associated with the shop. This is also the shop id.</param>
 /// <param name="amount">The amount of items in the shop.</param>
 /// <param name="shoptype">The type of shop.</param>
 public Shop(uint npcid, int amount, Enums.ShopType shoptype)
 {
     ShopItems = new uint[amount];
     ShopType = shoptype;
     this.npcid = npcid;
 }