Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClientConnectEvent

Emitted when the client connects to a server, before it identifies.

Hierarchy

  • ClientEvent
    • ClientConnectEvent

Index

Properties

Static eventName

eventName: string

Static eventNamee

eventNamee: "client.connect" = ...

canceled

canceled: boolean

client

eventName

eventName: "client.connect" = ...

ip

ip: string

The IP of the server that the client connected to.

port

port: number

The port of the server that the client connected to.

Methods

cancel

  • cancel(): void

Constructors

constructor

  • new ClientConnectEvent(client: SkeldjsClient, ip: string, port: number): ClientConnectEvent

Generated using TypeDoc