ESCMigration

Extends: Object

Description

Base class for all migration version scripts. Extending scripts should be named like the version they migrate the savegame to. (e.g. 1.0.0.gd, 1.0.1.gd)

Method Descriptions

set_savegame

func set_savegame(savegame: ESCSaveGame)

Set the savegame

Parameters

  • savegame: Savegame to modify

get_savegame

func get_savegame()

Get the savegame Returns Savegame

migrate

func migrate()

Override this function in the version script with the things that need to be applied to the savegame