Esempio n. 1
0
 public override void Entry(IModHelper helper)
 {
     ModHelper                      = Helper;
     config                         = Helper.ReadConfig <SConfig>();
     SaveEvents.AfterLoad          += SaveEvents_AfterLoad;
     SaveEvents.AfterReturnToTitle += SaveEvents_AfterReturnToTitle;
 }
Esempio n. 2
0
        public override void Entry(IModHelper helper)
        {
            ModHelper = Helper;
            config    = helper.ReadConfig <SConfig>();

            helper.Events.GameLoop.SaveLoaded      += OnSaveLoaded;
            helper.Events.GameLoop.ReturnedToTitle += OnReturnedToTitle;
        }