private void onLatestPostTimeReceived(GetLatestPostTimeOperation operation, HttpResponse httpResponse) { Service.Get <EventDispatcher>().DispatchEvent(new NewsfeedServiceEvents.LatestPostTime(operation.LatestPostTimeResponse.timestamp)); }
public APICall <GetLatestPostTimeOperation> GetLatestPostTime(string language) { GetLatestPostTimeOperation operation = new GetLatestPostTimeOperation(language); return(new APICall <GetLatestPostTimeOperation>(clubPenguinClient, operation)); }