Options
All
  • Public
  • Public/Protected
  • All
Menu

This debugger client connects to a websocket server, exchanging and receiving messages with this server.

Hierarchy

Index

Methods

  • call(path: string[], args: any[]): boolean
  • Call a method, specified by a path starting from the RuntimeGame instance.

    Parameters

    • path: string[]

      The path to the method, starting from RuntimeGame.

    • args: any[]

      The arguments to pass the method.

    Returns boolean

    Was the operation successful?

  • log(group: string, message: string, type: "info" | "warning" | "error", internal: boolean): void
  • Send a message (a log) to debugger server.

    Parameters

    • group: string
    • message: string
    • type: "info" | "warning" | "error"
    • internal: boolean

    Returns void

  • sendGamePaused(): void
  • sendGameResumed(): void
  • sendProfilerStarted(): void
  • sendProfilerStopped(): void
  • sendRuntimeGameDump(): void
  • set(path: string[], newValue: any): boolean
  • Update a value, specified by a path starting from the RuntimeGame instance.

    Parameters

    • path: string[]

      The path to the variable, starting from RuntimeGame.

    • newValue: any

      The new value.

    Returns boolean

    Was the operation successful?

  • handleCommand(data: any): void
  • Should be called by derived class to handle a command received from the debugger server.

    Parameters

    • data: any

      An object containing the command to do.

    Returns void

Constructors

Generated using TypeDoc