Interface GobanHooks

Hierarchy

  • GobanHooks

Properties

addCoordinatesToChatInput?: ((coordinates: string) => void)

Type declaration

    • (coordinates: string): void
    • Parameters

      • coordinates: string

      Returns void

canvasAllocationErrorHandler?: ((note: null | string, total_allocations_made: number, error?: Error) => void)

Type declaration

    • (note: null | string, total_allocations_made: number, error?: Error): void
    • Parameters

      • note: null | string
      • total_allocations_made: number
      • Optional error: Error

      Returns void

defaultConfig?: (() => any)

Type declaration

    • (): any
    • Returns any

discBlackStoneColor?: (() => string)

Type declaration

    • (): string
    • Returns string

discBlackTextColor?: (() => string)

Type declaration

    • (): string
    • Returns string

discWhiteStoneColor?: (() => string)

Type declaration

    • (): string
    • Returns string

discWhiteTextColor?: (() => string)

Type declaration

    • (): string
    • Returns string

getCDNReleaseBase?: (() => string)

Type declaration

    • (): string
    • Returns string

getClockDrift?: (() => number)

Type declaration

    • (): number
    • Returns number

getCoordinateDisplaySystem?: (() => "A1" | "1-1")

Type declaration

    • (): "A1" | "1-1"
    • Returns "A1" | "1-1"

getLocation?: (() => string)

Type declaration

    • (): string
    • Returns string

getMoveTreeNumbering?: (() => "none" | "move-coordinates" | "move-number")

Type declaration

    • (): "none" | "move-coordinates" | "move-number"
    • Returns "none" | "move-coordinates" | "move-number"

getNetworkLatency?: (() => number)

Type declaration

    • (): number
    • Returns number

getSelectedThemes?: (() => GobanSelectedThemes)

Type declaration

getShowMoveNumbers?: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

getShowVariationMoveNumbers?: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

getSoundEnabled?: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

getSoundVolume?: (() => number)

Type declaration

    • (): number
    • Returns number

isAnalysisDisabled?: ((goban: GobanCore, perGameSettingAppliesToNonPlayers: boolean) => boolean)

Type declaration

    • (goban: GobanCore, perGameSettingAppliesToNonPlayers: boolean): boolean
    • Parameters

      • goban: GobanCore
      • perGameSettingAppliesToNonPlayers: boolean

      Returns boolean

plainBoardColor?: (() => string)

Type declaration

    • (): string
    • Returns string

plainBoardLineColor?: (() => string)

Type declaration

    • (): string
    • Returns string

plainBoardUrl?: (() => string)

Type declaration

    • (): string
    • Returns string

updateScoreEstimation?: ((est_winning_color: "black" | "white", number_of_points: number) => void)

Type declaration

    • (est_winning_color: "black" | "white", number_of_points: number): void
    • Parameters

      • est_winning_color: "black" | "white"
      • number_of_points: number

      Returns void

watchSelectedThemes?: ((cb: ((themes: GobanSelectedThemes) => void)) => {
    remove: (() => any);
})

Type declaration

Generated using TypeDoc