forked from Prodigy-Hacking/Redirector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.d.ts
35 lines (35 loc) · 1009 Bytes
/
global.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { PIXI } from "./typings/pixi";
import { BackpackData } from "./typings/backpack";
import { Player } from "./typings/player";
import { Prodigy } from "./typings/prodigy";
import { Game } from "./typings/game"
export declare interface HackFunctions {
completeTutorial(): void;
getAllPets(): void;
getAllItemsInCategory(category: keyof BackpackData): void;
escapeBattle(): void;
}
export declare interface HackVariables {
loc: { [index: string]: number; [index: number]: string };
menuTxt: { [index: string]: number; [index: number]: string };
menuObj: { [index: string]: { INTRO: { menu: number; ID: number } } };
}
export declare interface Chat {
_localizer: unknown;
J: string[];
}
export declare interface Hack {
instance: { prodigy: Prodigy; game: Game };
constants: unknown;
modules: unknown;
functions: HackFunctions;
variables: HackVariables;
gameData: GameData;
localizer: TODO;
dialogue: TODO;
network: TODO;
hack: Hack;
player: Player;
chat: Chat
hackMainframe(): void;
}