private Dictionary <int, Item> NewPresents; //key = sprite id public CatalogManager() { this.MarketplaceManager = new MarketplaceManager(); this.CatalogPages = new Dictionary <int, CatalogPage>(); this.CatalogItems = new Dictionary <uint, CatalogItem>(); this.PetRaces = new Dictionary <int, List <PetRace> >(); this.OldPresents = new Dictionary <int, Item>(); this.NewPresents = new Dictionary <int, Item>(); }
private void Initialize() { VirtualMachines = new VirtualMachinesManager(requestManager); Network = new NetworkManager(requestManager); Billing = new BillingManager(requestManager); Marketplace = new MarketplaceManager(requestManager); Account = new AccountManager(requestManager); Users = new UsersManager(requestManager); Vpn = new VpnManager(requestManager); }
protected void ConfirmProductButton_Click(object sender, EventArgs e) { int ipnId = Convert.ToInt32(((Button)sender).CommandArgument); MarketplaceManager.TryConfirmIPN(ipnId); ConfirmProductButton.Visible = false; AlreadyConfirmedLiteral.Visible = true; AlreadyConfirmedLiteral.Text = string.Format("<div class='whitebox' style='width:220px'>{0}<div>", U5006.PRODUCTCONFIRMED); }
public CatalogManager() { this._marketplace = new MarketplaceManager(); this._petRaceManager = new PetRaceManager(); this._voucherManager = new VoucherManager(); this._clothingManager = new ClothingManager(); this._itemOffers = new Dictionary <int, int>(); this._pages = new Dictionary <int, CatalogPage>(); this._botPresets = new Dictionary <int, CatalogBot>(); this._items = new Dictionary <int, Dictionary <int, CatalogItem> >(); this._deals = new Dictionary <int, Dictionary <int, CatalogDeal> >(); }
public CatalogManager() { this._marketplace = new MarketplaceManager(); this._petRaceManager = new PetRaceManager(); this._voucherManager = new VoucherManager(); this._voucherManager.Init(); this._pages = new Dictionary <int, CatalogPage>(); this._botPresets = new Dictionary <int, CatalogBot>(); this._items = new Dictionary <int, Dictionary <int, CatalogItem> >(); this._promotions = new Dictionary <int, CatalogPromotion>(); this._itemsPage = new Dictionary <int, int>(); }
protected void PurchasedProductsGridView_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName != "Sort" && e.CommandName != "Page") { if (e.CommandName == "ConfirmIPNCommand") { var ipnId = Convert.ToInt32(PurchasedProductsGridView.Rows[Convert.ToInt32(e.CommandArgument)].Cells[0].Text); MarketplaceManager.TryConfirmIPN(ipnId); PurchasedProductsGridView.DataBind(); } } }
public CatalogManager() { _marketplace = new MarketplaceManager(); _petRaceManager = new PetRaceManager(); _voucherManager = new VoucherManager(); _voucherManager.Init(); _clothingManager = new ClothingManager(); _clothingManager.Init(); _itemOffers = new Dictionary <int, int>(); _pages = new Dictionary <int, CatalogPage>(); _botPresets = new Dictionary <int, CatalogBot>(); _items = new Dictionary <int, Dictionary <int, CatalogItem> >(); _deals = new Dictionary <int, CatalogDeal>(); _promotions = new Dictionary <int, CatalogPromotion>(); }
public CatalogManager() { _marketplace = new MarketplaceManager(); _petRaceManager = new PetRaceManager(); _voucherManager = new VoucherManager(); _clothingManager = new ClothingManager(); _predesignedManager = new PredesignedRoomsManager(); _predesignedManager.Initialize(); _itemOffers = new Dictionary <int, int>(); _pages = new Dictionary <int, CatalogPage>(); _botPresets = new Dictionary <int, CatalogBot>(); _items = new Dictionary <int, Dictionary <int, CatalogItem> >(); _deals = new Dictionary <int, Dictionary <int, CatalogDeal> >(); _predesignedItems = new Dictionary <int, PredesignedContent>(); _recyclerLevels = new List <int>(); }
public CatalogManager() { this._marketplace = new MarketplaceManager(); this._petRaceManager = new PetRaceManager(); this._voucherManager = new VoucherManager(); this._clothingManager = new ClothingManager(); this._predesignedManager = new PredesignedRoomsManager(); this._predesignedManager.Initialize(); this._itemOffers = new Dictionary <int, int>(); this._pages = new Dictionary <int, CatalogPage>(); this._botPresets = new Dictionary <int, CatalogBot>(); this._items = new Dictionary <int, Dictionary <int, CatalogItem> >(); this._deals = new Dictionary <int, Dictionary <int, CatalogDeal> >(); this._predesignedItems = new Dictionary <int, PredesignedContent>(); this._televisions = new Dictionary <int, TelevisionItem>(); }
public void Shutdown() { if (this.CatalogPages != null) { this.CatalogPages.Clear(); } this.CatalogPages = null; if (this.CatalogItems != null) { this.CatalogItems.Clear(); } this.CatalogItems = null; if (this.PetRaces != null) { this.PetRaces.Clear(); } this.PetRaces = null; if (this.OldPresents != null) { this.OldPresents.Clear(); } this.OldPresents = null; if (this.NewPresents != null) { this.NewPresents.Clear(); } this.NewPresents = null; if (this.MarketplaceManager != null) { this.MarketplaceManager.Shutdown(); } this.MarketplaceManager = null; }
public MarketplaceController() { manager = new MarketplaceManager(); audienceChannelManager = new AudienceChannelManager(); audienceManager = new AudienceManager(); }