Example #1
0
        public override void ExposeData()
        {
            base.ExposeData();

            MinSearchRadius.ExposeSettings();

            RetainingLWM.ExposeSettings();
        }
Example #2
0
        public RWPatchesMod(ModContentPack content) : base(content)
        {
            Instance = this;
            var settings = Settings.Instance; //kick rw to read settings

            harmony = new Harmony("thghca.RWPatches");
            MinSearchRadius.Patch(harmony);
            RetainingLWM.Patch(harmony);
        }
Example #3
0
        public void DoSettingsWindowContents(Rect rect)
        {
            Listing_Standard options = new Listing_Standard();

            options.Begin(rect);
            {
                options.Gap(20f);
                MinSearchRadius.DoSettings(options);
                options.Gap(20f);
                RetainingLWM.DoSettings(options);
            }
            options.End();
        }