| 444 | } |
| 445 | |
| 446 | class LoadException : public std::runtime_error |
| 447 | { |
| 448 | private: |
| 449 | StringId _localisedMessage; |
| 450 | |
| 451 | public: |
| 452 | LoadException(const char* message, StringId localisedMessage) |
| 453 | : std::runtime_error(message) |
| 454 | , _localisedMessage(localisedMessage) |
| 455 | { |
| 456 | } |
| 457 | |
| 458 | StringId getLocalisedMessage() const |
| 459 | { |
| 460 | return _localisedMessage; |
| 461 | } |
| 462 | }; |
| 463 | |
| 464 | // 0x00441FA7 |
| 465 | bool importSaveToGameState(const fs::path& path, LoadFlags flags) |
no outgoing calls
no test coverage detected