MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / isUsingClassic

Function isUsingClassic

src/openrct2/object/ObjectFactory.cpp:524–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522 }
523
524 static bool isUsingClassic()
525 {
526 auto& env = GetContext()->GetPlatformEnvironment();
527 return env.IsUsingClassic();
528 }
529
530 std::unique_ptr<Object> CreateObjectFromJson(
531 json_t& jRoot, const IFileDataRetriever* fileRetriever, bool loadImageTable, const std::string_view path)

Callers 1

CreateObjectFromJsonFunction · 0.85

Calls 2

GetContextFunction · 0.85
IsUsingClassicMethod · 0.80

Tested by

no test coverage detected