mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-03-23 11:33:33 +08:00
donet format
This commit is contained in:
@@ -30,7 +30,7 @@ public static class CombatPatch
|
||||
MechaInvincible.Enable(false);
|
||||
}
|
||||
|
||||
private class MechaInvincible: PatchImpl<MechaInvincible>
|
||||
private class MechaInvincible : PatchImpl<MechaInvincible>
|
||||
{
|
||||
[HarmonyTranspiler]
|
||||
[HarmonyPatch(typeof(Player), nameof(Player.invincible), MethodType.Getter)]
|
||||
@@ -65,7 +65,7 @@ public static class CombatPatch
|
||||
}
|
||||
}
|
||||
|
||||
private class BuildingsInvincible: PatchImpl<BuildingsInvincible>
|
||||
private class BuildingsInvincible : PatchImpl<BuildingsInvincible>
|
||||
{
|
||||
[HarmonyTranspiler]
|
||||
[HarmonyPatch(typeof(SkillSystem), nameof(SkillSystem.DamageGroundObjectByLocalCaster))]
|
||||
|
||||
@@ -187,7 +187,7 @@ public static class GamePatch
|
||||
}
|
||||
}
|
||||
|
||||
public class UnlockTech: PatchImpl<UnlockTech>
|
||||
public class UnlockTech : PatchImpl<UnlockTech>
|
||||
{
|
||||
private static void UnlockTechRecursive(GameHistoryData history, [NotNull] TechProto techProto, int maxLevel = 10000)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ public static class PlanetPatch
|
||||
TerraformAnyway.Enable(false);
|
||||
}
|
||||
|
||||
private class WaterPumperPatch: PatchImpl<WaterPumperPatch>
|
||||
private class WaterPumperPatch : PatchImpl<WaterPumperPatch>
|
||||
{
|
||||
[HarmonyTranspiler]
|
||||
[HarmonyPatch(typeof(BuildTool_BlueprintPaste), nameof(BuildTool_BlueprintPaste.CheckBuildConditions))]
|
||||
@@ -51,7 +51,7 @@ public static class PlanetPatch
|
||||
}
|
||||
}
|
||||
|
||||
private class TerraformAnyway: PatchImpl<TerraformAnyway>
|
||||
private class TerraformAnyway : PatchImpl<TerraformAnyway>
|
||||
{
|
||||
[HarmonyTranspiler]
|
||||
[HarmonyPatch(typeof(BuildTool_Reform), nameof(BuildTool_Reform.ReformAction))]
|
||||
|
||||
@@ -33,7 +33,7 @@ public static class PlayerPatch
|
||||
WarpWithoutSpaceWarpers.Enable(false);
|
||||
}
|
||||
|
||||
private class InstantHandCraft: PatchImpl<InstantHandCraft>
|
||||
private class InstantHandCraft : PatchImpl<InstantHandCraft>
|
||||
{
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(ForgeTask), MethodType.Constructor, typeof(int), typeof(int))]
|
||||
@@ -43,7 +43,7 @@ public static class PlayerPatch
|
||||
}
|
||||
}
|
||||
|
||||
private class InstantTeleport: PatchImpl<InstantTeleport>
|
||||
private class InstantTeleport : PatchImpl<InstantTeleport>
|
||||
{
|
||||
[HarmonyTranspiler]
|
||||
[HarmonyPatch(typeof(UIGlobemap), nameof(UIGlobemap._OnUpdate))]
|
||||
@@ -66,7 +66,7 @@ public static class PlayerPatch
|
||||
}
|
||||
}
|
||||
|
||||
private class WarpWithoutSpaceWarpers: PatchImpl<WarpWithoutSpaceWarpers>
|
||||
private class WarpWithoutSpaceWarpers : PatchImpl<WarpWithoutSpaceWarpers>
|
||||
{
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(Mecha), nameof(Mecha.HasWarper))]
|
||||
@@ -75,7 +75,7 @@ public static class PlayerPatch
|
||||
__result = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(Mecha), nameof(Mecha.UseWarper))]
|
||||
private static void Mecha_UseWarper_Postfix(ref bool __result)
|
||||
|
||||
@@ -29,7 +29,7 @@ public static class ResourcePatch
|
||||
FastMining.Enable(false);
|
||||
}
|
||||
|
||||
private class InfiniteResource: PatchImpl<InfiniteResource>
|
||||
private class InfiniteResource : PatchImpl<InfiniteResource>
|
||||
{
|
||||
[HarmonyTranspiler]
|
||||
[HarmonyPatch(typeof(FactorySystem), nameof(FactorySystem.GameTick), typeof(long), typeof(bool))]
|
||||
@@ -59,7 +59,7 @@ public static class ResourcePatch
|
||||
}
|
||||
}
|
||||
|
||||
private class FastMining: PatchImpl<FastMining>
|
||||
private class FastMining : PatchImpl<FastMining>
|
||||
{
|
||||
[HarmonyTranspiler]
|
||||
[HarmonyPatch(typeof(FactorySystem), "GameTick", typeof(long), typeof(bool))]
|
||||
|
||||
Reference in New Issue
Block a user