public void Initialize() { menu = new MenuLayout(this, 450, 34); store = new SonyNpCommerceStore(); inGameStore = new SonyNpCommerceInGameStore(); entitlements = new SonyNpCommerceEntitlements(); Commerce.OnError += OnCommerceError; Commerce.OnDownloadListStarted += OnSomeEvent; Commerce.OnDownloadListFinished += OnSomeEvent; }
public void Initialize() { this.menu = new MenuLayout(this, 450, 34); this.store = new SonyNpCommerceStore(); this.inGameStore = new SonyNpCommerceInGameStore(); this.entitlements = new SonyNpCommerceEntitlements(); Commerce.add_OnError(new Messages.EventHandler(this.OnCommerceError)); Commerce.add_OnDownloadListStarted(new Messages.EventHandler(this.OnSomeEvent)); Commerce.add_OnDownloadListFinished(new Messages.EventHandler(this.OnSomeEvent)); }