fn load_schema(
schema: &mut Option<Schema>,
packs: &mut BTreeMap<String, Pack>,
game: &GameInfo,
disable_uuid_regeneration: bool,
)Expand description
Loads the schema of a game, re-decoding the tables of every open pack with it.
§Arguments
schema- Schema to replace. Set toNoneif the game’s schema can’t be loaded.packs- Open packs whose tables need re-decoding.game- Game whose schema to load.disable_uuid_regeneration- If tables keep their GUID when encoded before the switch.