diff options
| author | RblSb <msrblsb@gmail.com> | 2020-03-04 20:41:43 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-03-04 20:41:43 +0300 |
| commit | 6e28381de77265f8b6a24cdd9c583d1d27d8d7b2 (patch) | |
| tree | 4a960040204580999774bfffea23634c19d02c9c /src/Types.hx | |
| parent | 4155b95cce55e1176aecb1531b9c06344a2e81b5 (diff) | |
Playlist config limits
Diffstat (limited to 'src/Types.hx')
| -rw-r--r-- | src/Types.hx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Types.hx b/src/Types.hx index 5dbc07a..e5b467a 100644 --- a/src/Types.hx +++ b/src/Types.hx @@ -12,7 +12,8 @@ typedef Config = { maxLoginLength:Int, maxMessageLength:Int, serverChatHistory:Int, - videoLimit:Int, + totalVideoLimit:Int, + userVideoLimit:Int, leaderRequest:String, emotes:Array<Emote>, filters:Array<Filter>, @@ -84,6 +85,9 @@ typedef WsEvent = { clientName:String, text:String }, + ?serverMessage:{ + textId:String + }, ?updateClients:{ clients:Array<ClientData>, }, @@ -140,6 +144,7 @@ enum abstract WsEventType(String) { var LoginError; var Logout; var Message; + var ServerMessage; var UpdateClients; // var AddClient; // var RemoveClient; |
