diff options
Diffstat (limited to 'src/Types.hx')
| -rw-r--r-- | src/Types.hx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Types.hx b/src/Types.hx index 5706111..b98a6c2 100644 --- a/src/Types.hx +++ b/src/Types.hx @@ -35,7 +35,8 @@ typedef VideoItem = { url:String, title:String, author:String, - duration:Float + duration:Float, + isTemp:Bool } typedef WsEvent = { @@ -47,6 +48,7 @@ typedef WsEvent = { isUnknownClient:Bool, clientName:String, videoList:Array<VideoItem>, + itemPos:Int, globalIp:String }, ?login:{ @@ -73,6 +75,9 @@ typedef WsEvent = { ?removeVideo:{ url:String }, + ?skipVideo:{ + url:String + }, ?pause:{ time:Float }, @@ -108,6 +113,7 @@ enum abstract WsEventType(String) { // var RemoveClient; var AddVideo; var RemoveVideo; + var SkipVideo; var VideoLoaded; var Pause; var Play; |
