public APICall <GetPopularIgloosOperation> GetPopularIgloos(string language) { GetPopularIgloosOperation operation = new GetPopularIgloosOperation(language); return(new APICall <GetPopularIgloosOperation>(clubPenguinClient, operation)); }
private void onGetPopularIgloos(GetPopularIgloosOperation operation, HttpResponse httpResponse) { List <IglooListItem> iglooListItems = operation.IglooListItems; Service.Get <EventDispatcher>().DispatchEvent(new IglooServiceEvents.PopularIgloosListLoaded(iglooListItems)); }