ChatToGameRoom
public void ChatToGameRoom(MatchChatModeType matchChatModeType, string message);
Parameters
Value | Type | Description |
---|---|---|
matchChatModeType | MatchChatModeType | Whether it's an all-user message or team message - MatchChatModeType.Team(team) or MatchChatModeType.All(all) |
message | string | string to be sent |
Description
Sends the chat message to the server.
The server broadcasts the received message to all clients.
Clients that sent the data are included in 'all clients'.
Example
Backend.Match.ChatToGameRoom(matchChatModeType, message);