Interface PlayerEventsMap

interface PlayerEventsMap {
    asap: (() => void);
    change_world: (() => void);
    connected: (() => void);
    disconnected: ((reason?) => void);
    kicked: ((kicker, reason) => void);
    loadingStatus: ((status) => void);
    modpe: ((data) => void);
    move: (() => void);
    spawned: (() => void);
}

Hierarchy

  • PlayerEvents
    • PlayerEventsMap

Properties

asap: (() => void)

Type declaration

    • (): void
    • Returns void

change_world: (() => void)

Type declaration

    • (): void
    • Returns void

connected: (() => void)

Type declaration

    • (): void
    • Returns void

disconnected: ((reason?) => void)

Type declaration

    • (reason?): void
    • Parameters

      • Optional reason: string

      Returns void

kicked: ((kicker, reason) => void)

Type declaration

    • (kicker, reason): void
    • Parameters

      • kicker: Player
      • reason: string

      Returns void

loadingStatus: ((status) => void)

Type declaration

    • (status): void
    • Parameters

      • status: string

      Returns void

modpe: ((data) => void)

Type declaration

    • (data): void
    • Parameters

      • data: string

      Returns void

move: (() => void)

Type declaration

    • (): void
    • Returns void

spawned: (() => void)

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc