diff --git a/docs/generated/protocol.json b/docs/generated/protocol.json index 9fe6f91f..12c9a0f8 100644 --- a/docs/generated/protocol.json +++ b/docs/generated/protocol.json @@ -1084,26 +1084,6 @@ } ] }, - { - "description": "Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed.", - "requestType": "BroadcastCustomEvent", - "complexity": 1, - "rpcVersion": "1", - "deprecated": false, - "initialVersion": "5.0.0", - "category": "general", - "requestFields": [ - { - "valueName": "eventData", - "valueType": "Object", - "valueDescription": "Data payload to emit to all receivers", - "valueRestrictions": null, - "valueOptional": false, - "valueOptionalBehavior": null - } - ], - "responseFields": [] - }, { "description": "Gets statistics about OBS, obs-websocket, and the current session.", "requestType": "GetStats", @@ -1171,6 +1151,26 @@ } ] }, + { + "description": "Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed.", + "requestType": "BroadcastCustomEvent", + "complexity": 1, + "rpcVersion": "1", + "deprecated": false, + "initialVersion": "5.0.0", + "category": "general", + "requestFields": [ + { + "valueName": "eventData", + "valueType": "Object", + "valueDescription": "Data payload to emit to all receivers", + "valueRestrictions": null, + "valueOptional": false, + "valueOptionalBehavior": null + } + ], + "responseFields": [] + }, { "description": "Gets an array of all hotkey names in OBS", "requestType": "GetHotkeyList", diff --git a/docs/generated/protocol.md b/docs/generated/protocol.md index 67c3bc27..537baf8c 100644 --- a/docs/generated/protocol.md +++ b/docs/generated/protocol.md @@ -1368,8 +1368,8 @@ The profile list has changed. ### Requests Table of Contents - [General](#general-1) - [GetVersion](#getversion) - - [BroadcastCustomEvent](#broadcastcustomevent) - [GetStats](#getstats) + - [BroadcastCustomEvent](#broadcastcustomevent) - [GetHotkeyList](#gethotkeylist) - [TriggerHotkeyByName](#triggerhotkeybyname) - [TriggerHotkeyByKeySequence](#triggerhotkeybykeysequence) @@ -1450,23 +1450,6 @@ Gets data about the current plugin and RPC version. --- -### BroadcastCustomEvent - -Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed. - -- Complexity Rating: `1/5` -- Latest Supported RPC Version: `1` -- Added in v5.0.0 - - -**Request Fields:** - -| Name | Type | Description | Value Restrictions | ?Default Behavior | -| ---- | :---: | ----------- | :----------------: | ----------------- | -| eventData | Object | Data payload to emit to all receivers | None | N/A | - ---- - ### GetStats Gets statistics about OBS, obs-websocket, and the current session. @@ -1494,6 +1477,23 @@ Gets statistics about OBS, obs-websocket, and the current session. --- +### BroadcastCustomEvent + +Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed. + +- Complexity Rating: `1/5` +- Latest Supported RPC Version: `1` +- Added in v5.0.0 + + +**Request Fields:** + +| Name | Type | Description | Value Restrictions | ?Default Behavior | +| ---- | :---: | ----------- | :----------------: | ----------------- | +| eventData | Object | Data payload to emit to all receivers | None | N/A | + +--- + ### GetHotkeyList Gets an array of all hotkey names in OBS