Migrator4647

Extends: Node

Description

Constants

UPGRADE_4_7

const UPGRADE_4_7 = 0 # enum "MigrationAction"

DOWNGRADE_4_6

const DOWNGRADE_4_6 = 1 # enum "MigrationAction"

DO_NOTHING

const DO_NOTHING = 2 # enum "MigrationAction"

MIGRATION_DONE

const MIGRATION_DONE = "migration_done"

GODOT_4_7_HEX

const GODOT_4_7_HEX = 263936

Methods


check_need_upgrade_or_downgrade_scripts

func check_need_upgrade_or_downgrade_scripts(engine_version: Dictionary) -> int

prepare_specific_godot_version

func prepare_specific_godot_version(target_hex: int) -> void

save_migration_file

func save_migration_file(migration_done: bool) -> void

read_migration_file

func read_migration_file() -> Dictionary