ESCMigrationManager
Extends: Reference
Description
Class that handles migrations between different game or escoria versions
Constants Descriptions
VERSION_REGEX
const VERSION_REGEX: String = "^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
Regular expression that matches a simple semver version string
Property Descriptions
version_regex
var version_regex: RegEx
Compiled regex
Method Descriptions
migrate
func migrate(savegame: ESCSaveGame, from: String, to: String, versions_directory: String) -> ESCSaveGame