| 2837 | } |
| 2838 | |
| 2839 | ParkLoadResult LoadFromStream( |
| 2840 | IStream* stream, bool isScenario, bool skipObjectCheck = false, const u8string& path = {}) override |
| 2841 | { |
| 2842 | _parkFile = std::make_unique<ParkFile>(); |
| 2843 | _parkFile->Load(*stream, skipObjectCheck); |
| 2844 | |
| 2845 | auto result = ParkLoadResult(std::move(_parkFile->RequiredObjects)); |
| 2846 | result.SemiCompatibleVersion = _parkFile->IsSemiCompatibleVersion(result.MinVersion, result.TargetVersion); |
| 2847 | return result; |
| 2848 | } |
| 2849 | |
| 2850 | void Import(GameState_t& gameState) override |
| 2851 | { |
nothing calls this directly
no test coverage detected