Esempio n. 1
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(MeshMakerPlanes);
            Type patched  = typeof(MeshMakerPlanes_Patch);

            RimThreadedHarmony.Prefix(original, patched, "NewPlaneMesh", new Type[] { typeof(Vector2), typeof(bool), typeof(bool), typeof(bool) });
        }
Esempio n. 2
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(PawnUtility);
            Type patched  = typeof(PawnUtility_Patch);

            RimThreadedHarmony.Prefix(original, patched, "IsInvisible");
        }
        internal static void RunDestructivePatches()
        {
            Type original = typeof(ListerBuildingsRepairable);
            Type patched  = typeof(ListerBuildingsRepairable_Patch);

            RimThreadedHarmony.Prefix(original, patched, nameof(UpdateBuilding));
        }
        internal static void RunDestructivePatches()
        {
            Type original = typeof(UniqueIDsManager);
            Type patched  = typeof(UniqueIDsManager_Patch);

            RimThreadedHarmony.Prefix(original, patched, nameof(GetNextID));
        }
        internal static void RunDestructivePatches()
        {
            Type original = typeof(RegionCostCalculatorWrapper);
            Type patched  = typeof(RegionCostCalculatorWrapper_Patch);

            RimThreadedHarmony.Prefix(original, patched, "Init");
        }
Esempio n. 6
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(LightningBoltMeshMaker);
            Type patched  = typeof(LightningBoltMeshMaker_Patch);

            RimThreadedHarmony.Prefix(original, patched, "NewBoltMesh");
        }
        internal static void RunDestructivePatches()
        {
            Type original = typeof(Toils_Haul);
            Type patched  = typeof(Toils_Haul_Patch);

            RimThreadedHarmony.Prefix(original, patched, "ErrorCheckForCarry");
        }
Esempio n. 8
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(RulePackDef);
            Type patched  = typeof(RulePackDef_Patch);

            RimThreadedHarmony.Prefix(original, patched, nameof(get_RulesPlusIncludes));
        }
        internal static void RunDestructivePatches()
        {
            Type original = typeof(JobGiver_AnimalFlee);
            Type patched  = typeof(JobGiver_AnimalFlee_Patch);

            RimThreadedHarmony.Prefix(original, patched, "FleeLargeFireJob");
        }
Esempio n. 10
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(SeasonUtility);
            Type patched  = typeof(SeasonUtility_Patch);

            RimThreadedHarmony.Prefix(original, patched, "GetReportedSeason");
        }
        internal static void RunDestructivePatches()
        {
            Type original = typeof(GraphicDatabaseHeadRecords);
            Type patched  = typeof(GraphicDatabaseHeadRecords_Patch);

            RimThreadedHarmony.Prefix(original, patched, "BuildDatabaseIfNecessary");
        }
Esempio n. 12
0
        public static void RunNonDestructivePatches()
        {
            Type original = typeof(LongEventHandler);
            Type patched  = typeof(LongEventHandler_Patch);

            RimThreadedHarmony.Prefix(original, patched, "RunEventFromAnotherThread", null, false);
        }
Esempio n. 13
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(Medicine);
            Type patched  = typeof(Medicine_Patch);

            RimThreadedHarmony.Prefix(original, patched, "GetMedicineCountToFullyHeal");
        }
Esempio n. 14
0
        internal static void RunNonDestructivePatches()
        {
            Type original = typeof(CellFinder);
            Type patched  = typeof(CellFinder_Patch);

            RimThreadedHarmony.Prefix(original, patched, nameof(TryFindRandomCellNear), null, false);
        }
Esempio n. 15
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(GrammarResolver);
            Type patched  = typeof(GrammarResolver_Patch);

            RimThreadedHarmony.Prefix(original, patched, "ResolveUnsafe", new[] { typeof(string), typeof(GrammarRequest), typeof(bool).MakeByRefType(), typeof(string), typeof(bool), typeof(bool), typeof(List <string>), typeof(List <string>), typeof(bool) });
        }
Esempio n. 16
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(GenClosest);
            Type patched  = typeof(GenClosest_Patch);

            RimThreadedHarmony.Prefix(original, patched, "RegionwiseBFSWorker");
        }
Esempio n. 17
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(RegionGrid);
            Type patched  = typeof(RegionGrid_Patch);

            RimThreadedHarmony.Prefix(original, patched, "GetValidRegionAt");
        }
Esempio n. 18
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(BeautyUtility);
            Type patched  = typeof(BeautyUtility_Patch);

            RimThreadedHarmony.Prefix(original, patched, "AverageBeautyPerceptible");
        }
Esempio n. 19
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(AudioSourceMaker);
            Type patched  = typeof(AudioSourceMaker_Patch);

            RimThreadedHarmony.Prefix(original, patched, "NewAudioSourceOn");
        }
Esempio n. 20
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(AudioSource);
            Type patched  = typeof(AudioSource_Patch);

            RimThreadedHarmony.Prefix(original, patched, "Stop", Type.EmptyTypes);
        }
Esempio n. 21
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(MaterialPool);
            Type patched  = typeof(MaterialPool_Patch);

            RimThreadedHarmony.Prefix(original, patched, "MatFrom", new Type[] { typeof(MaterialRequest) });
        }
Esempio n. 22
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(SampleSustainer);
            Type patched  = typeof(SampleSustainer_Patch);

            RimThreadedHarmony.Prefix(original, patched, "TryMakeAndPlay");
        }
Esempio n. 23
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(Pawn_PlayerSettings);
            Type patched  = typeof(Pawn_PlayerSettings_Patch);

            RimThreadedHarmony.Prefix(original, patched, "set_Master");
        }
Esempio n. 24
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(Thing);
            Type patched  = typeof(Thing_Patch);

            RimThreadedHarmony.Prefix(original, patched, "get_FlammableNow");
        }
Esempio n. 25
0
        public static void RunDestructivePatches()
        {
            Type original = typeof(Reachability);
            Type patched  = typeof(Reachability_Patch);

            RimThreadedHarmony.Prefix(original, patched, nameof(CanReach), new Type[] { typeof(IntVec3), typeof(LocalTargetInfo), typeof(PathEndMode), typeof(TraverseParms) });
        }
Esempio n. 26
0
        //Class was largely overhauled to allow multithreaded ticking for WorldPawns.Tick()
        internal static void RunDestructivePatches()
        {
            Type original = typeof(WorldObjectsHolder);
            Type patched  = typeof(WorldObjectsHolder_Patch);

            RimThreadedHarmony.Prefix(original, patched, "WorldObjectsHolderTick");
        }
        public static void RunDestructivePatches()
        {
            Type original = typeof(Alert_MinorBreakRisk);
            Type patched  = typeof(Alert_MinorBreakRisk_Patch);

            RimThreadedHarmony.Prefix(original, patched, "GetReport");
        }
Esempio n. 28
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(ReservationUtility);
            Type patched  = typeof(ReservationUtility_Patch);

            RimThreadedHarmony.Prefix(original, patched, "CanReserve");
        }
        public static void RunDestructivePatches()
        {
            Type original = typeof(ContentFinder <Texture2D>);
            Type patched  = typeof(ContentFinder_Texture2D_Patch);

            RimThreadedHarmony.Prefix(original, patched, "Get");
        }
Esempio n. 30
0
        internal static void RunDestructivePatches()
        {
            Type original = typeof(TendUtility);
            Type patched  = typeof(TendUtility_Patch);

            RimThreadedHarmony.Prefix(original, patched, "GetOptimalHediffsToTendWithSingleTreatment");
        }