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
CTime: (this: void) => CTime Methods
active_tutorial_name
- active_tutorial_name(this: void): string
Returns string
get_game_time
- get_game_time(this: void): CTime
has_active_tutorial
- has_active_tutorial(this: void): boolean
Returns boolean
jump_to_level
- jump_to_level(this: void, level_name: string): void
Parameters
- this: void
- level_name: string
Returns void
- jump_to_level(this: void, position: vector, lvi: number, gvi: number): void
Parameters
- this: void
- position: vector
- lvi: number
- gvi: number
Returns void
- jump_to_level(
this: void,
position: vector,
lvi: number,
gvi: number,
direction: vector,
): void Parameters
- this: void
- position: vector
- lvi: number
- gvi: number
- direction: vector
Returns void
log_stack_trace
- log_stack_trace(this: void): void
Returns void
reload_language
- reload_language(this: void): void
Returns void
start_tutorial
- start_tutorial(this: void, tutorial_id: string): void
Parameters
- this: void
- tutorial_id: string
Returns void
stop_tutorial
- stop_tutorial(this: void): void
Returns void
time
- time(this: void): number
Returns number
translate_string
- translate_string(this: void, translation_key: string): string
Parameters
- this: void
- translation_key: string
Returns string
Source
namespace game