mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
protocol
update names to snake case
This commit is contained in:
+7
-6
@@ -2,7 +2,7 @@
|
|||||||
"commands":
|
"commands":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "GetUIElement",
|
"name": "get_UI_element",
|
||||||
"description": "Get the UI element by id",
|
"description": "Get the UI element by id",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
@@ -12,13 +12,13 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": {
|
"response": {
|
||||||
"name": "UIElement",
|
"name": "UI_element",
|
||||||
"type": "UIElements",
|
"type": "UIElements",
|
||||||
"description": "The UI element"
|
"description": "The UI element"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetUIElements",
|
"name": "get_UI_elements",
|
||||||
"description": "Get the UI elements",
|
"description": "Get the UI elements",
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"response": {
|
"response": {
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "SwitchSimulator",
|
"name": "switch_simulator",
|
||||||
"description": "Switch the simulator",
|
"description": "Switch the simulator",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetActiveSimulatorName",
|
"name": "get_active_simulator_name",
|
||||||
"description": "Get the name of the active simulator",
|
"description": "Get the name of the active simulator",
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"response": {
|
"response": {
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetSimulators",
|
"name": "get_simulators",
|
||||||
"description": "Get the list of simulators",
|
"description": "Get the list of simulators",
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"response": {
|
"response": {
|
||||||
@@ -83,6 +83,7 @@
|
|||||||
"item": "name"
|
"item": "name"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
// Server to client
|
||||||
"type": "ui_changed",
|
"type": "ui_changed",
|
||||||
"UI_elements": [
|
"UI_elements": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user