A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
362B

  1. using System;
  2. using RobocraftX.SaveAndLoad;
  3. using Svelto.ECS;
  4. using Harmony;
  5. namespace GamecraftModdingAPI.Persistence
  6. {
  7. [HarmonyPatch(typeof(SaveAndLoadCompositionRoot), "Compose")]
  8. class SaveAndLoadCompositionRootPatch
  9. {
  10. public static void Prefix(EnginesRoot enginesRoot)
  11. {
  12. SerializerManager.RegisterSerializers(enginesRoot);
  13. }
  14. }
  15. }