Skip to main content
Version: SDK-5.10.2

ChatToGameRoom

public void ChatToGameRoom(MatchChatModeType matchChatModeType, string message);

파라미터

ValueTypeDescription
matchChatModeTypeMatchChatModeType전체 메시지, 팀 메시지 여부 MatchChatModeType.Team(팀) 혹은 MatchChatModeType.All(전체)
messagestring전송할 문자열

설명

채팅 메시지를 서버로 전송합니다.
서버에 송신된 메시지는 서버에서 모든 클라이언트에게 브로드캐스팅합니다.

모든 클라이언트에서는 데이터를 송신한 클라이언트를 포함합니다.

Example

Backend.Match.ChatToGameRoom(matchChatModeType, message);