Interface IXR_game

namespace game

interface IXR_game {
    active_tutorial_name(this: void): string;
    CTime: (this: void) => CTime;
    get_game_time(this: void): CTime;
    has_active_tutorial(this: void): boolean;
    jump_to_level(this: void, level_name: string): void;
    jump_to_level(this: void, position: vector, lvi: number, gvi: number): void;
    jump_to_level(
        this: void,
        position: vector,
        lvi: number,
        gvi: number,
        direction: vector,
    ): void;
    log_stack_trace(this: void): void;
    reload_language(this: void): void;
    start_tutorial(this: void, tutorial_id: string): void;
    stop_tutorial(this: void): void;
    time(this: void): number;
    translate_string(this: void, translation_key: string): string;
}

Properties

CTime: (this: void) => CTime

Methods

  • Parameters

    • this: void
    • level_name: string

    Returns void

  • Parameters

    • this: void
    • position: vector
    • lvi: number
    • gvi: number

    Returns void

  • Parameters

    • this: void
    • position: vector
    • lvi: number
    • gvi: number
    • direction: vector

    Returns void

  • Parameters

    • this: void
    • tutorial_id: string

    Returns void

  • Parameters

    • this: void
    • translation_key: string

    Returns string