Example #1
0
        public void TestModDefaultSettingsGeneration()
        {
            dynamic test = new List <int>()
            {
                1
            };

            System.Console.Write($"Count = [{test.Count}]");

            var settings = File.ReadAllText(TestContext.CurrentContext.TestDirectory + @"/res/test-settings.json");
            var mod      = new ProcGenStoresMod(HarmonyInstance.Create("vf-test"), Directory.GetCurrentDirectory(), settings,
                                                nameof(ProcGenStoresMod));
            var default_settings = mod.GenerateDefaultModSettings();
        }
        public static void Init(string directory, string settings)
        {
            var harmonyInstance = HarmonyInstance.Create(@"vengefire.procgenstores");

            ProcGenStoresMod = new ProcGenStoresMod(harmonyInstance, directory, settings, nameof(ProcGenStoresMod));
        }