internal static void RunDestructivePatches()
        {
            Type original = typeof(GlobalControlsUtility);
            Type patched  = typeof(GlobalControlsUtility_Patch);

            RimThreadedHarmony.Postfix(original, patched, "DoTimespeedControls");
        }
Beispiel #2
0
        internal static void RunNonDestructivePatches()
        {
            Type original = typeof(Thing);
            Type patched  = typeof(Thing_Patch);

            RimThreadedHarmony.Postfix(original, patched, "SpawnSetup", "SpawnSetupPostFix");
        }
        internal static void RunNonDestructivePatches()
        {
            Type original = typeof(Zone_Growing);
            Type patched  = typeof(Zone_Growing_Patch);

            RimThreadedHarmony.Postfix(original, patched, nameof(SetPlantDefToGrow));
        }
Beispiel #4
0
        internal static void RunNonDestructivePatches()
        {
            Type original = typeof(Area);
            Type patched  = typeof(Area_Patch);

            RimThreadedHarmony.Postfix(original, patched, "Set"); //TODO need code to check on shrinking of area
        }
Beispiel #5
0
        internal static void RunNonDestructivePatches()
        {
            Type original = typeof(Zone);
            Type patched  = typeof(Zone_Patch);

            RimThreadedHarmony.Postfix(original, patched, "CheckAddHaulDestination");
        }
Beispiel #6
0
        internal static void RunNonDestructivePatches()
        {
            Type original = typeof(HediffSet);
            Type patched  = typeof(HediffSet_Patch);

            RimThreadedHarmony.Postfix(original, patched, "DirtyCache", "DirtyCacheSetInvisbility");
        }
Beispiel #7
0
        internal static void RunNonDestructivePatches()
        {
            Type original = typeof(ZoneManager);
            Type patched  = typeof(ZoneManager_Patch);

            RimThreadedHarmony.Postfix(original, patched, "AddZoneGridCell");
        }
Beispiel #8
0
        internal static void RunNonDestructivePatches()
        {
            Type original = typeof(Plant);
            Type patched  = typeof(Plant_Patch);

            RimThreadedHarmony.Postfix(original, patched, nameof(set_Growth));
            RimThreadedHarmony.Transpile(original, patched, nameof(TickLong));
        }
        public static void RunNonDestructivePatches()
        {
            Type original = typeof(TickList);
            Type patched  = typeof(TickList_Patch);

            RimThreadedHarmony.TranspileMethodLock(original, "RegisterThing");
            RimThreadedHarmony.TranspileMethodLock(original, "DeregisterThing");
            RimThreadedHarmony.Transpile(original, patched, "Tick");
            RimThreadedHarmony.Postfix(original, patched, "Tick", "TickPostfix");
        }
 public static void RunNonDestructivePatches()
 {
     RimThreadedHarmony.Postfix(Original, Patched, "set_Forbidden");
 }
 public static void RunNonDestructivePatches()
 {
     RimThreadedHarmony.Postfix(Original, Patched, "DesignateThing");
 }
Beispiel #12
0
 public static void RunNonDestructivePatches()
 {
     RimThreadedHarmony.Postfix(Original, Patched, "ClearAllMapsAndWorld");
 }