This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
events_scenes.go
48 lines (43 loc) · 1.61 KB
/
events_scenes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package obsws
// This file is automatically generated.
// https://github.com/christopher-dG/go-obs-websocket/blob/master/codegen/protocol.py
// SwitchScenesEvent : Indicates a scene change.
//
// Since obs-websocket version: 0.3.
//
// https://github.com/Palakis/obs-websocket/blob/4.x-current/docs/generated/protocol.md#switchscenes
type SwitchScenesEvent struct {
// The new scene.
// Required: Yes.
SceneName string `json:"scene-name"`
// List of scene items in the new scene.
// Same specification as [`GetCurrentScene`](#getcurrentscene).
// Required: Yes.
Sources []*SceneItem `json:"sources"`
_event `json:",squash"`
}
// ScenesChangedEvent : The scene list has been modified.
// Scenes have been added, removed, or renamed.
//
// Since obs-websocket version: 0.3.
//
// https://github.com/Palakis/obs-websocket/blob/4.x-current/docs/generated/protocol.md#sceneschanged
type ScenesChangedEvent struct {
_event `json:",squash"`
}
// SceneCollectionChangedEvent : Triggered when switching to another scene collection or when renaming the current scene collection.
//
// Since obs-websocket version: 4.0.0.
//
// https://github.com/Palakis/obs-websocket/blob/4.x-current/docs/generated/protocol.md#scenecollectionchanged
type SceneCollectionChangedEvent struct {
_event `json:",squash"`
}
// SceneCollectionListChangedEvent : Triggered when a scene collection is created, added, renamed, or removed.
//
// Since obs-websocket version: 4.0.0.
//
// https://github.com/Palakis/obs-websocket/blob/4.x-current/docs/generated/protocol.md#scenecollectionlistchanged
type SceneCollectionListChangedEvent struct {
_event `json:",squash"`
}