Table of Contents

SendMessage

Methods
public void SendMessage(List<string> messages, Action<RequestResponse<bool>> onRequestFinished, List<Player> targets = null)

Send a message to other Players of the current Lobby.

Parameters
Type Name Description
List<string> messages

List of messages to be sent to other Players.

Action<RequestResponse<bool>> onRequestFinished

Callback that will be invoked when the request finished.

List<Player> targets

Optional list of Players to send the messages to. If left empty, it will be send to everyone.