C# Class UnityEditor.RestService.AssetRestHandler.AssetHandler

Inheritance: Handler
Exibir arquivo Open project: CarlosHBC/UnityDecompiled

Protected Methods

Method Description
HandleDelete ( UnityEditor.RestService.Request request, UnityEditorInternal.JSONValue payload ) : UnityEditorInternal.JSONValue
HandleGet ( UnityEditor.RestService.Request request, UnityEditorInternal.JSONValue payload ) : UnityEditorInternal.JSONValue
HandlePost ( UnityEditor.RestService.Request request, UnityEditorInternal.JSONValue payload ) : UnityEditorInternal.JSONValue

Private Methods

Method Description
CreateAsset ( string assetPath, string contents ) : void
GetAssetText ( string assetPath ) : UnityEditorInternal.JSONValue
MoveAsset ( string from, string to ) : bool

Method Details

HandleDelete() protected method

protected HandleDelete ( UnityEditor.RestService.Request request, UnityEditorInternal.JSONValue payload ) : UnityEditorInternal.JSONValue
request UnityEditor.RestService.Request
payload UnityEditorInternal.JSONValue
return UnityEditorInternal.JSONValue

HandleGet() protected method

protected HandleGet ( UnityEditor.RestService.Request request, UnityEditorInternal.JSONValue payload ) : UnityEditorInternal.JSONValue
request UnityEditor.RestService.Request
payload UnityEditorInternal.JSONValue
return UnityEditorInternal.JSONValue

HandlePost() protected method

protected HandlePost ( UnityEditor.RestService.Request request, UnityEditorInternal.JSONValue payload ) : UnityEditorInternal.JSONValue
request UnityEditor.RestService.Request
payload UnityEditorInternal.JSONValue
return UnityEditorInternal.JSONValue