コード例 #1
0
    public APICall <GetIglooLayoutOperation> GetIglooLayout(long sceneLayoutId)
    {
        GetIglooLayoutOperation operation = new GetIglooLayoutOperation(sceneLayoutId);

        return(new APICall <GetIglooLayoutOperation>(clubPenguinClient, operation));
    }
コード例 #2
0
        private void onGetIglooLayout(GetIglooLayoutOperation operation, HttpResponse httpResponse)
        {
            SavedSceneLayout responseBody = operation.ResponseBody;

            Service.Get <EventDispatcher>().DispatchEvent(new IglooServiceEvents.IglooLayoutLoaded(responseBody));
        }