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

Method IsSemiCompatibleVersion

src/openrct2/park/ParkFile.cpp:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130 public:
131 bool IsSemiCompatibleVersion(uint32_t& minVersion, uint32_t& targetVersion)
132 {
133 const auto& header = _os->getHeader();
134 minVersion = header.minVersion;
135 targetVersion = header.targetVersion;
136 return targetVersion > kParkFileCurrentVersion;
137 }
138
139 void Load(const std::string_view path, const bool skipObjectCheck)
140 {

Callers 2

LoadMethod · 0.80
LoadFromStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected