public static void Initialize(Mod mod, int siloCapacity)
 {
     UniqueID     = mod.ModManifest.UniqueID;
     Monitor      = mod.Monitor;
     SiloCapacity = siloCapacity;
     //wopc = new WopcSiloSize();
     harp = new HarmonyPatcherHelper(mod);
 }
Beispiel #2
0
 public static void Initialize(string uniqueID, IMonitor monitor)
 {
     Monitor = monitor;
     wopc    = new WantOpCache_24H();
     harp    = new HarmonyPatcherHelper(uniqueID, Monitor, typeof(Patcher));
 }
 public static void Cleanup()
 {
     //wopc = null;
     harp = null;
 }