Esempio n. 1
0
        public CashShop()
        {
            CashShopItemTemplate t = new CashShopItemTemplate();

            t.ClientID = 1080001;
            t.Item     = ItemTable.getInstance().getItem(22000);
            t.Category = 5;
            CashShopItem item = new CashShopItem(t);

            item.Count = 1;
            item.Price = 250;
            _items.Add(item.Template.ClientID, item);

            CashShopItemTemplate t2 = new CashShopItemTemplate();

            t2.ClientID = 1080039;
            t2.Item     = ItemTable.getInstance().getItem(22057);
            t2.Category = 5;
            CashShopItem item2 = new CashShopItem(t2);

            item2.Count = 1;
            item2.Price = 600;

            _items.Add(item2.Template.ClientID, item2);
        }
Esempio n. 2
0
 public CashShopItem(CashShopItemTemplate t)
 {
     Template = t;
 }