public APICall <CreateIglooLayoutOperation> CreateIglooLayout(MutableSceneLayout sceneLayout) { CreateIglooLayoutOperation operation = new CreateIglooLayoutOperation(sceneLayout); return(new APICall <CreateIglooLayoutOperation>(clubPenguinClient, operation)); }
private void onCreateIglooLayout(CreateIglooLayoutOperation operation, HttpResponse httpResponse) { SavedSceneLayout responseBody = operation.ResponseBody; Service.Get <EventDispatcher>().DispatchEvent(new IglooServiceEvents.IglooLayoutCreated(responseBody)); }