Aego Русский

Modules

A module saves its own state with a section:

r.SaveSection("mygame.quests", questSection{})

A section has Version, Save(world, w), Load(world, r) and Migrate(node, from, to), which runs when a save was written by another version of the section. Sections of modules that are not loaded are kept and written back unchanged.