private void onPurchaseItemError(ItemPurchaseOperation operation, HttpResponse response) { CatalogServiceEvents.ItemPurchaseErrorEvent evt = new CatalogServiceEvents.ItemPurchaseErrorEvent(response); Service.Get <EventDispatcher>().DispatchEvent(evt); }
private bool onPurchaseError(CatalogServiceEvents.ItemPurchaseErrorEvent e) { Service.Get <PromptManager>().ShowPrompt("CataogPurchaseErrorPrompt", null); CloseBuyPanel(); return(false); }