gtavjs-trainer-mod
Version:
GTAVJS Trainer Mod
56 lines (49 loc) • 1.27 kB
TypeScript
declare module "gtavjs-trainer-mod/scripts/main" {
export {};
}
declare module "gtavjs-trainer-mod/scripts/settings" {
/// <reference types="gtavjs-typing" />
export class Settings {
private static instance;
private static savePath;
/**
* Get the trainer enabled state
*/
static get Enabled(): boolean;
/**
* Set the trainer enabled state
*/
static set Enabled(value: boolean);
private enabled;
/**
* Get the key to toggle the trainer menu
*/
static get ToggleKey(): Keys;
/**
* Get the key to toggle the trainer menu
*/
static set ToggleKey(key: Keys);
private toggleKey;
/**
* Initialize settings
*/
static Init(): void;
/**
* Save settings
*/
static Save(): void;
/**
* Load settings
*/
static Load(): void;
}
}
declare module "gtavjs-trainer-mod/scripts/trainer/menu" {
export class TrainerMenu {
private pool;
private menu;
constructor();
toggle(): void;
update(): void;
}
}