docs(travis): Update protocol.md - 1a99353 [skip ci]

This commit is contained in:
Travis CI 2019-04-22 17:00:15 +00:00
parent 1a99353559
commit 1d0e1143bf
2 changed files with 148 additions and 0 deletions

View File

@ -2261,6 +2261,116 @@
"lead": "",
"type": "class",
"examples": []
},
{
"subheads": [],
"description": "A scene item is selected.",
"return": [
"{String} `sceneName` Name of the scene.",
"{String} `itemName` Name of the item in the scene.",
"{int} `itemId` Name of the item in the scene."
],
"api": "events",
"name": "SceneItemSelected",
"category": "sources",
"since": "4.6.0",
"returns": [
{
"type": "String",
"name": "sceneName",
"description": "Name of the scene."
},
{
"type": "String",
"name": "itemName",
"description": "Name of the item in the scene."
},
{
"type": "int",
"name": "itemId",
"description": "Name of the item in the scene."
}
],
"names": [
{
"name": "",
"description": "SceneItemSelected"
}
],
"categories": [
{
"name": "",
"description": "sources"
}
],
"sinces": [
{
"name": "",
"description": "4.6.0"
}
],
"heading": {
"level": 2,
"text": "SceneItemSelected"
},
"lead": "",
"type": "class",
"examples": []
},
{
"subheads": [],
"description": "A scene item is deselected.",
"return": [
"{String} `sceneName` Name of the scene.",
"{String} `itemName` Name of the item in the scene.",
"{int} `itemId` Name of the item in the scene."
],
"api": "events",
"name": "SceneItemDeselected",
"category": "sources",
"since": "4.6.0",
"returns": [
{
"type": "String",
"name": "sceneName",
"description": "Name of the scene."
},
{
"type": "String",
"name": "itemName",
"description": "Name of the item in the scene."
},
{
"type": "int",
"name": "itemId",
"description": "Name of the item in the scene."
}
],
"names": [
{
"name": "",
"description": "SceneItemDeselected"
}
],
"categories": [
{
"name": "",
"description": "sources"
}
],
"sinces": [
{
"name": "",
"description": "4.6.0"
}
],
"heading": {
"level": 2,
"text": "SceneItemDeselected"
},
"lead": "",
"type": "class",
"examples": []
}
],
"studio mode": [

View File

@ -97,6 +97,8 @@ auth_response = base64_encode(auth_response_hash)
+ [SceneItemRemoved](#sceneitemremoved)
+ [SceneItemVisibilityChanged](#sceneitemvisibilitychanged)
+ [SceneItemTransformChanged](#sceneitemtransformchanged)
+ [SceneItemSelected](#sceneitemselected)
+ [SceneItemDeselected](#sceneitemdeselected)
* [Studio Mode](#studio-mode)
+ [PreviewSceneChanged](#previewscenechanged)
+ [StudioModeSwitched](#studiomodeswitched)
@ -937,6 +939,42 @@ An item's transform has been changed.
| `transform` | _SceneItemProperties_ | Scene item transform properties |
---
### SceneItemSelected
- Added in v4.6.0
A scene item is selected.
**Response Items:**
| Name | Type | Description |
| ---- | :---: | ------------|
| `sceneName` | _String_ | Name of the scene. |
| `itemName` | _String_ | Name of the item in the scene. |
| `itemId` | _int_ | Name of the item in the scene. |
---
### SceneItemDeselected
- Added in v4.6.0
A scene item is deselected.
**Response Items:**
| Name | Type | Description |
| ---- | :---: | ------------|
| `sceneName` | _String_ | Name of the scene. |
| `itemName` | _String_ | Name of the item in the scene. |
| `itemId` | _int_ | Name of the item in the scene. |
---
## Studio Mode