diff --git a/src/CompatibilityApi.cpp b/src/CompatibilityApi.cpp index a572e22..6298871 100644 --- a/src/CompatibilityApi.cpp +++ b/src/CompatibilityApi.cpp @@ -13,4 +13,14 @@ void Export_Compatibility_API() { RemoteCall::exportAs("GMLIB_API", "getAllPlayerUuids", []() -> std::vector { return GMLIB_Player::getAllUuids(); }); + RemoteCall::exportAs("GMLIB_API", "getAllExperiments", []() -> std::vector { + return {6, 7, 8, 9, 10, 13, 16, 17, 18}; + }); + RemoteCall::exportAs("GMLIB_API", "getExperimentTranslatedName", [](int id) -> std::string { + auto map = GMLIB_Level::getAllExperimentsTranslateKeys(); + if (map.count(id)) { + return map[id]; + } + return ""; + }); } \ No newline at end of file