aboutsummaryrefslogtreecommitdiffstats
path: root/src/Types.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Types.hx')
-rw-r--r--src/Types.hx9
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;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage