Search Results for

    Show / Hide Table of Contents

    Class PlayerChatEvent

    Dispatched whenever an OpenPlayer says something in chat

    Inheritance
    System.Object
    Event
    PlayerEvent
    PlayerChatEvent
    Inherited Members
    PlayerEvent.Player
    Event.IsCancelled
    Event.SetCancelled(Boolean)
    Namespace: OpenAPI.Events.Player
    Assembly: OpenAPI.dll
    Syntax
    public class PlayerChatEvent : PlayerEvent

    Constructors

    | Improve this Doc View Source

    PlayerChatEvent(OpenPlayer, String)

    Declaration
    public PlayerChatEvent(OpenPlayer player, string message)
    Parameters
    Type Name Description
    OpenPlayer player
    System.String message

    Properties

    | Improve this Doc View Source

    Message

    The message sent by the player

    Declaration
    public string Message { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX