public APICall <GetIglooPopulationsByZoneIdsOperation> GetIglooPopulationsByZoneIds(string language, IList <ZoneId> zoneIds, List <DataEntityHandle> handles) { GetIglooPopulationsByZoneIdsOperation operation = new GetIglooPopulationsByZoneIdsOperation(language, zoneIds, handles); return(new APICall <GetIglooPopulationsByZoneIdsOperation>(clubPenguinClient, operation)); }
private void onGetIglooPopulationsByZoneIds(GetIglooPopulationsByZoneIdsOperation operation, HttpResponse httpResponse) { IglooServiceEvents.IgloosFromZoneIdsLoaded evt = new IglooServiceEvents.IgloosFromZoneIdsLoaded(operation.RoomPopulations, operation.Handles); Service.Get <EventDispatcher>().DispatchEvent(evt); }