public APICall <PostCFCDonationOperation> PostCFCDonation(int coins) { PostCFCDonationOperation operation = new PostCFCDonationOperation(coins); return(new APICall <PostCFCDonationOperation>(clubPenguinClient, operation)); }
private void onPostCFCDonation(PostCFCDonationOperation operation, HttpResponse httpResponse) { DonationResult responseBody = operation.ResponseBody; Service.Get <EventDispatcher>().DispatchEvent(new ScheduledEventServiceEvents.CFCDonationPosted(responseBody)); }