Table of Contents

Method ChatMessage

Namespace
Pillars.Chat.Events
Assembly
Pillars.dll

ChatMessage(PiPlayer, string)

Raises the OnChatMessage event.

public void ChatMessage(PiPlayer player, string message)

Parameters

player PiPlayer

The player who sent the chat message.

message string

The chat message sent by the player.

Remarks

This method is used to trigger the OnChatMessage event, notifying all subscribers of the new chat message.