Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IClientEvent

Hierarchy

  • IClientEvent

Index

Properties

anyResourceError

anyResourceError: (resourceName: string) => void

Type declaration

    • (resourceName: string): void
    • Parameters

      • resourceName: string

      Returns void

anyResourceStart

anyResourceStart: (resourceName: string) => void

Type declaration

    • (resourceName: string): void
    • Parameters

      • resourceName: string

      Returns void

anyResourceStop

anyResourceStop: (resourceName: string) => void

Type declaration

    • (resourceName: string): void
    • Parameters

      • resourceName: string

      Returns void

changedVehicleSeat

changedVehicleSeat: (vehicle: Vehicle, oldSeat: number, seat: number) => void
beta

Type declaration

    • (vehicle: Vehicle, oldSeat: number, seat: number): void
    • Parameters

      • vehicle: Vehicle
      • oldSeat: number
      • seat: number

      Returns void

connectionComplete

connectionComplete: () => void

Type declaration

    • (): void
    • Returns void

consoleCommand

consoleCommand: (name: string, ...args: string[]) => void

Type declaration

    • (name: string, ...args: string[]): void
    • Parameters

      • name: string
      • Rest ...args: string[]

      Returns void

disconnect

disconnect: () => void

Type declaration

    • (): void
    • Returns void

enteredVehicle

enteredVehicle: (vehicle: Vehicle, seat: number) => void
beta

Type declaration

    • (vehicle: Vehicle, seat: number): void
    • Parameters

      Returns void

gameEntityCreate

gameEntityCreate: (entity: Entity) => void

Type declaration

    • Parameters

      Returns void

gameEntityDestroy

gameEntityDestroy: (entity: Entity) => void

Type declaration

    • Parameters

      Returns void

globalMetaChange

globalMetaChange: (key: string, value: any, oldValue: any) => void

Type declaration

    • (key: string, value: any, oldValue: any): void
    • Parameters

      • key: string
      • value: any
      • oldValue: any

      Returns void

globalSyncedMetaChange

globalSyncedMetaChange: (key: string, value: any, oldValue: any) => void

Type declaration

    • (key: string, value: any, oldValue: any): void
    • Parameters

      • key: string
      • value: any
      • oldValue: any

      Returns void

keydown

keydown: (key: number) => void

Type declaration

    • (key: number): void
    • Parameters

      • key: number

      Returns void

keyup

keyup: (key: number) => void

Type declaration

    • (key: number): void
    • Parameters

      • key: number

      Returns void

leftVehicle

leftVehicle: (vehicle: Vehicle, seat: number) => void
beta

Type declaration

    • (vehicle: Vehicle, seat: number): void
    • Parameters

      Returns void

removeEntity

removeEntity: (object: BaseObject) => void

Type declaration

render

render: () => void

No particular usage for now, stick to everyTick instead.

beta

Type declaration

    • (): void
    • Returns void

resourceStart

resourceStart: (errored: boolean) => void

Type declaration

    • (errored: boolean): void
    • Parameters

      • errored: boolean

      Returns void

resourceStop

resourceStop: () => void

Type declaration

    • (): void
    • Returns void

streamSyncedMetaChange

streamSyncedMetaChange: (entity: Entity, key: string, value: any, oldValue: any) => void

Type declaration

    • (entity: Entity, key: string, value: any, oldValue: any): void
    • Parameters

      • entity: Entity
      • key: string
      • value: any
      • oldValue: any

      Returns void

syncedMetaChange

syncedMetaChange: (entity: Entity, key: string, value: any, oldValue: any) => void

Type declaration

    • (entity: Entity, key: string, value: any, oldValue: any): void
    • Parameters

      • entity: Entity
      • key: string
      • value: any
      • oldValue: any

      Returns void