public APICall <GetRoomPopulationForWorldsOperation> GetRoomPopulationForWorlds(string room, string language)
    {
        GetRoomPopulationForWorldsOperation operation = new GetRoomPopulationForWorldsOperation(room, language);

        return(new APICall <GetRoomPopulationForWorldsOperation>(clubPenguinClient, operation));
    }
Beispiel #2
0
 private void worldsWithRoomPopulationFound(GetRoomPopulationForWorldsOperation operation, HttpResponse response)
 {
     handleCPResponse(operation.Response);
     Service.Get <EventDispatcher>().DispatchEvent(new WorldServiceEvents.WorldsWithRoomPopulationReceivedEvent(operation.Response.worldRoomPopulations));
 }