diff options
| author | RblSb <msrblsb@gmail.com> | 2020-02-28 10:40:53 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-02-28 10:40:53 +0300 |
| commit | c5903d5670dad72c840c30a302f8238c8cff9f8a (patch) | |
| tree | 212eae2d7638e7393121ae2c79a4ba68846a64ec /src/Types.hx | |
| parent | 8c739fa43946ba8cc5bc6c6226032154b9481a40 (diff) | |
Implement video item buttons
Diffstat (limited to 'src/Types.hx')
| -rw-r--r-- | src/Types.hx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Types.hx b/src/Types.hx index b98a6c2..17b010b 100644 --- a/src/Types.hx +++ b/src/Types.hx @@ -97,6 +97,15 @@ typedef WsEvent = { ?setLeader:{ clientName:String }, + ?playItem:{ + pos:Int + }, + ?setNextItem:{ + pos:Int + }, + ?toggleItemType:{ + pos:Int + }, ?updatePlaylist:{ videoList:Array<VideoItem> } @@ -121,6 +130,9 @@ enum abstract WsEventType(String) { var SetTime; var Rewind; var SetLeader; + var PlayItem; + var SetNextItem; + var ToggleItemType; var ClearChat; var ClearPlaylist; var ShufflePlaylist; |
