chat messages are now sent and relayed. server: handling host client leaving correctly
This commit is contained in:
@@ -27,3 +27,15 @@ func leave_lobby(
|
||||
"lobby_id": lobby_id,
|
||||
"client_id": client_id,
|
||||
})
|
||||
|
||||
func send_chat_message(
|
||||
lobby_id: String,
|
||||
client_id: String,
|
||||
message: String,
|
||||
) -> String:
|
||||
return JSON.stringify({
|
||||
"response": "send_chat_message",
|
||||
"lobby_id": lobby_id,
|
||||
"client_id": client_id,
|
||||
"message": message,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user