diff options
| author | RblSb <msrblsb@gmail.com> | 2020-02-24 01:19:30 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-02-24 01:19:30 +0300 |
| commit | c561fb9e2e42e4968f2b48cd535f208e90f8c12c (patch) | |
| tree | 0c7e1ffc99744aabbb240864b371b9555a611d92 /src/Types.hx | |
| parent | 113b06e895f5dc752e8393c2a4f3f1669a7d0aab (diff) | |
More playlist and video control
Diffstat (limited to 'src/Types.hx')
| -rw-r--r-- | src/Types.hx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Types.hx b/src/Types.hx index 643fd4f..f2b506f 100644 --- a/src/Types.hx +++ b/src/Types.hx @@ -66,7 +66,8 @@ typedef WsEvent = { clients:Array<ClientData>, }, ?addVideo:{ - item:VideoItem + item:VideoItem, + atEnd:Bool }, ?removeVideo:{ url:String @@ -89,6 +90,9 @@ typedef WsEvent = { }, ?setLeader:{ clientName:String + }, + ?updatePlaylist:{ + videoList:Array<VideoItem> } } @@ -111,4 +115,7 @@ enum abstract WsEventType(String) { var Rewind; var SetLeader; var ClearChat; + var ClearPlaylist; + var ShufflePlaylist; + var UpdatePlaylist; } |
