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