public APICall <PostCFCDonationOperation> PostCFCDonation(int coins)
    {
        PostCFCDonationOperation operation = new PostCFCDonationOperation(coins);

        return(new APICall <PostCFCDonationOperation>(clubPenguinClient, operation));
    }
Пример #2
0
        private void onPostCFCDonation(PostCFCDonationOperation operation, HttpResponse httpResponse)
        {
            DonationResult responseBody = operation.ResponseBody;

            Service.Get <EventDispatcher>().DispatchEvent(new ScheduledEventServiceEvents.CFCDonationPosted(responseBody));
        }