Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClientDisconnectEvent

Emitted when client disconnects from the server.

Hierarchy

  • ClientEvent
    • ClientDisconnectEvent

Index

Properties

Static eventName

eventName: string

Static eventNamee

eventNamee: "client.disconnect" = ...

canceled

canceled: boolean

client

eventName

eventName: "client.disconnect" = ...

Optional message

message: string

The message for the reason, if the reason is custom.

reason

The reason why the client disconnected.

Methods

cancel

  • cancel(): void

Constructors

constructor

Generated using TypeDoc