mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	
		
			
	
	
		
			96 lines
		
	
	
	
		
			2.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			96 lines
		
	
	
	
		
			2.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
|   | <?xml version="1.0" encoding="UTF-8" ?> | ||
|  | <class name="JSONRPC" inherits="Object" category="Core" version="3.2"> | ||
|  | 	<brief_description> | ||
|  | 	</brief_description> | ||
|  | 	<description> | ||
|  | 	</description> | ||
|  | 	<tutorials> | ||
|  | 	</tutorials> | ||
|  | 	<methods> | ||
|  | 		<method name="make_notification"> | ||
|  | 			<return type="Dictionary"> | ||
|  | 			</return> | ||
|  | 			<argument index="0" name="method" type="String"> | ||
|  | 			</argument> | ||
|  | 			<argument index="1" name="params" type="Variant"> | ||
|  | 			</argument> | ||
|  | 			<description> | ||
|  | 			</description> | ||
|  | 		</method> | ||
|  | 		<method name="make_request"> | ||
|  | 			<return type="Dictionary"> | ||
|  | 			</return> | ||
|  | 			<argument index="0" name="method" type="String"> | ||
|  | 			</argument> | ||
|  | 			<argument index="1" name="params" type="Variant"> | ||
|  | 			</argument> | ||
|  | 			<argument index="2" name="id" type="Variant"> | ||
|  | 			</argument> | ||
|  | 			<description> | ||
|  | 			</description> | ||
|  | 		</method> | ||
|  | 		<method name="make_response"> | ||
|  | 			<return type="Dictionary"> | ||
|  | 			</return> | ||
|  | 			<argument index="0" name="result" type="Variant"> | ||
|  | 			</argument> | ||
|  | 			<argument index="1" name="id" type="Variant"> | ||
|  | 			</argument> | ||
|  | 			<description> | ||
|  | 			</description> | ||
|  | 		</method> | ||
|  | 		<method name="make_response_error" qualifiers="const"> | ||
|  | 			<return type="Dictionary"> | ||
|  | 			</return> | ||
|  | 			<argument index="0" name="code" type="int"> | ||
|  | 			</argument> | ||
|  | 			<argument index="1" name="message" type="String"> | ||
|  | 			</argument> | ||
|  | 			<argument index="2" name="id" type="Variant" default="null"> | ||
|  | 			</argument> | ||
|  | 			<description> | ||
|  | 			</description> | ||
|  | 		</method> | ||
|  | 		<method name="process_action"> | ||
|  | 			<return type="Variant"> | ||
|  | 			</return> | ||
|  | 			<argument index="0" name="action" type="Variant"> | ||
|  | 			</argument> | ||
|  | 			<argument index="1" name="recurse" type="bool" default="false"> | ||
|  | 			</argument> | ||
|  | 			<description> | ||
|  | 			</description> | ||
|  | 		</method> | ||
|  | 		<method name="process_string"> | ||
|  | 			<return type="String"> | ||
|  | 			</return> | ||
|  | 			<argument index="0" name="action" type="String"> | ||
|  | 			</argument> | ||
|  | 			<description> | ||
|  | 			</description> | ||
|  | 		</method> | ||
|  | 		<method name="set_scope"> | ||
|  | 			<return type="void"> | ||
|  | 			</return> | ||
|  | 			<argument index="0" name="scope" type="String"> | ||
|  | 			</argument> | ||
|  | 			<argument index="1" name="target" type="Object"> | ||
|  | 			</argument> | ||
|  | 			<description> | ||
|  | 			</description> | ||
|  | 		</method> | ||
|  | 	</methods> | ||
|  | 	<constants> | ||
|  | 		<constant name="ParseError" value="-32700" enum="ErrorCode"> | ||
|  | 		</constant> | ||
|  | 		<constant name="InvalidRequest" value="-32600" enum="ErrorCode"> | ||
|  | 		</constant> | ||
|  | 		<constant name="MethodNotFound" value="-32601" enum="ErrorCode"> | ||
|  | 		</constant> | ||
|  | 		<constant name="InvalidParams" value="-32602" enum="ErrorCode"> | ||
|  | 		</constant> | ||
|  | 		<constant name="InternalError" value="-32603" enum="ErrorCode"> | ||
|  | 		</constant> | ||
|  | 	</constants> | ||
|  | </class> |