public APICall <GetCFCDonationsOperation> GetCFCDonations() { GetCFCDonationsOperation operation = new GetCFCDonationsOperation(); return(new APICall <GetCFCDonationsOperation>(clubPenguinClient, operation)); }
private void onGetCFCDonations(GetCFCDonationsOperation operation, HttpResponse httpResponse) { CFCDonations responseBody = operation.ResponseBody; Service.Get <EventDispatcher>().DispatchEvent(new ScheduledEventServiceEvents.CFCDonationsLoaded(responseBody)); }