示例#1
0
    public APICall <GetPopularIgloosOperation> GetPopularIgloos(string language)
    {
        GetPopularIgloosOperation operation = new GetPopularIgloosOperation(language);

        return(new APICall <GetPopularIgloosOperation>(clubPenguinClient, operation));
    }
示例#2
0
        private void onGetPopularIgloos(GetPopularIgloosOperation operation, HttpResponse httpResponse)
        {
            List <IglooListItem> iglooListItems = operation.IglooListItems;

            Service.Get <EventDispatcher>().DispatchEvent(new IglooServiceEvents.PopularIgloosListLoaded(iglooListItems));
        }