Modules - Prodigy-Hacking/ProdigyMathGameHacking GitHub Wiki

List of game modules.

Access them at hack.modules[IDHERE]

0️⃣ Instance Module

This module contains the game instance and the prodigy instance.

Export: a

Uses:

[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.instance // { game: [GAME](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/GAME), prodigy: [PRODIGY](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/PRODIGY) }
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.instance.prodigy;
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.instance.game;

1️⃣ Polyfill Module

This module contains internal typescript polyfills and methods.

Export: Module class.

Uses:

[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).__assign;

2️⃣ Unknown Module

This module has a lot of properties. Some are functions, and others are objects.

Export: A-Za-z, (a-j)b

Uses: N/A

3️⃣ Transformation Utility Module

The a half of the module is an enum containing UserID, ClassID, Grade.

The b half of the module is a collection of utilities, such as [module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).b.convertItemToIcon

Export: a, b

Uses:

[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).b.convertRarityToText(4); // "Legendary"
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).b.getObject("{}"); // {}

4️⃣ Game Container Object Keys Module

This module contains an enum of the gameContainer accessible objects.

Export: a

Uses:

[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.AssetLoader; // "AssetLoader"
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.Items; // "Items"
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.JWTAuthenticationProvider; // "JWTAuthProvider"

5️⃣ Constants

Some constants. These aren't the game constants.

Export: a

Uses:

[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.DIALOGUE_LETS_GET_TO_WORK; // 928
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.DROP_BLOCK; // "droppingaBlock"

6️⃣ Lodash

This is literally lodash.

Export: Lodash

Uses:

[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).eq(1, 1); // true
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).zip([1, 3], [2, 4]); // [1, 2], [3, 4](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/1,-2],-[3,-4)

7️⃣ Phaser Easing Module

This module contains easing functions for phaser.

Export: a

Uses:

[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.Power0(10); // 10
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.Power1(10); // -80
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.Bounce.Out(10); // 2108.2798
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.Elastic.InOut(-10); // -3.0385816786431356e-64

8️⃣ Game Data Module

This module contains the game data, and many functions that use the game data.

Export: a

Uses:

[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.data; // the game data
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.getItem("outfit", 10); // returns the outfit with id 10
[module](/Prodigy-Hacking/ProdigyMathGameHacking/wiki/module).a.drops; // array of item drops

9️⃣ Unknown Module

We aren't sure what this module does yet.

Export: A-C, a-z

Uses: N/A