Exemplo n.º 1
0
        static Start()
        {
            var pawnSkillTimerCache = new PawnSkillTimerCache(25);
            var levelEventMaker     = new LevelEventMaker(pawnSkillTimerCache);

            SkillRecordLearnPatch.InitializePatch(new Harmony("Krafs.LevelUp"), levelEventMaker);
        }
Exemplo n.º 2
0
        static Start()
        {
            var pawnSkillTimerCache = new PawnSkillTimerCache(25);
            var modSettings         = LoadedModManager.GetMod <ModHandler>().GetSettings <Settings>();
            var levelEventMaker     = new LevelEventMaker(pawnSkillTimerCache, modSettings);

            SkillRecordLearnPatch.InitializePatch(new Harmony("Krafs.LevelUp"), levelEventMaker);
        }