Method ChatMessage
ChatMessage(PiPlayer, string)
Raises the OnChatMessage event.
public void ChatMessage(PiPlayer player, string message)
Parameters
playerPiPlayerThe player who sent the chat message.
messagestringThe chat message sent by the player.
Remarks
This method is used to trigger the OnChatMessage event, notifying all subscribers of the new chat message.