You've already forked rimworld-font-replacer
Initial commit
This commit is contained in:
27
Source/Main.cs
Normal file
27
Source/Main.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using HarmonyLib;
|
||||
using System.Reflection;
|
||||
using Verse;
|
||||
using UnityEngine;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace raptureparty.RimWorldFontReplacer
|
||||
{
|
||||
[StaticConstructorOnStartup]
|
||||
class RimWorldFontReplacer : Mod
|
||||
{
|
||||
public RimWorldFontReplacer(ModContentPack content) : base(content)
|
||||
{
|
||||
base.GetSettings<Settings>();
|
||||
var inst = new Harmony("rimworld.raptureparty.RimWorldFontReplacer");
|
||||
inst.PatchAll();
|
||||
}
|
||||
|
||||
public void Save() => LoadedModManager.GetMod<RimWorldFontReplacer>().GetSettings<Settings>().Write();
|
||||
|
||||
public override string SettingsCategory() => "RimWorld Font Replacer";
|
||||
|
||||
public override void DoSettingsWindowContents(Rect inRect) => Settings.Build(inRect);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user