Class ChatActor
public sealed class ChatActor : PiActor<BpPiChat>
- Inheritance
-
ChatActor
- Inherited Members
Constructors
Methods
- BroadcastMessage(string)
Broadcasts a message to all players by forwarding it to the world actor's ReceiveMsg method.
- InitializeChat(PiPlayer, ChatSettings?)
Initializes the chat for the target with the given chat settings
- PlayerMessageReceived(Player, string)
Handles a received message from a player and forwards it to the chat events system.
- SavePlayerSettings(Player, float, float, float)
Saves the settings of the player into the database
- SendMessage(PiPlayer, string)
Sends a message to a specific player by forwarding it to the world actor's ReceiveMsg method.
- SendMessage(IEnumerable<PiPlayer>, string)
Sends a message to a set of players by forwarding it to the world actor's ReceiveMsg method.