public override void ExposeData() { base.ExposeData(); MinSearchRadius.ExposeSettings(); RetainingLWM.ExposeSettings(); }
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); }
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(); }