mooball
    Preparing search index...

    Class KickBanPlayerEvent

    The event message structure that is created when a player leaves the room or is kicked/banned by the host.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    ban: boolean

    Whether the player is banned or not.

    byId: number

    Id of the player who triggered this event.

    eventType: OperationType

    Type of the event. Should not be modified.

    id: number

    Id of the player who left the room.

    reason: string | null

    The reason of kick/ban. ( max length = 100 ) Interpreted as leaving by himself/herself if this value is null.

    Methods