Method SendMessage
SendMessage(PiPlayer, string)
Sends a message to a specific player by forwarding it to the world actor's ReceiveMsg method.
public Task SendMessage(PiPlayer target, string message)
Parameters
Returns
SendMessage(IEnumerable<PiPlayer>, string)
Sends a message to a set of players by forwarding it to the world actor's ReceiveMsg method.
public Task SendMessage(IEnumerable<PiPlayer> targets, string message)
Parameters
targetsIEnumerable<PiPlayer>The players to whom the message is sent.
messagestringThe message to send.