1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

[Plugin API] Feat: Expose staff statistics (#22184)

This commit is contained in:
Arnold Zhou
2024-07-25 09:10:34 +10:00
committed by GitHub
parent 725f2c9576
commit a749698566
7 changed files with 346 additions and 5 deletions

View File

@@ -450,6 +450,9 @@ void ScriptEngine::Initialise()
ScScenarioObjective::Register(ctx);
ScPatrolArea::Register(ctx);
ScStaff::Register(ctx);
ScHandyman::Register(ctx);
ScMechanic::Register(ctx);
ScSecurity::Register(ctx);
ScPlugin::Register(ctx);
dukglue_register_global(ctx, std::make_shared<ScCheats>(), "cheats");