public static void PatchAll() { HarmonyHolder.Harmony.Patch( typeof(EntityMod).Method("ProcessPropertyOperationsFromEntityMod"), transpiler: HarmonyHolder.Wrap("Transpiler") ); }
public static void PatchAll() { HarmonyHolder.Harmony.Patch( typeof(AbstractEntity <Legacy>).Method("PopAllUnknownProperties"), HarmonyHolder.Wrap("Replacement") ); }
public static void PatchAll() { HarmonyHolder.Harmony.Patch( typeof(ModManager).Method("GetSprite"), HarmonyHolder.Wrap("Prefix") ); }
public static void PatchAll() { HarmonyHolder.Harmony.Patch( typeof(Registry).Method("Register").MakeGenericMethod(typeof(object)), HarmonyHolder.Wrap("Prefix") ); }
private static void Patch <T>(string methodName) { HarmonyHolder.Harmony.Patch( typeof(T).Method(methodName), HarmonyHolder.Wrap <T>("Prefix"), HarmonyHolder.Wrap <T>("Postfix") ); }
public static void PatchAll() { HarmonyHolder.Harmony.Patch( typeof(ModManager).Method("GetSprite"), HarmonyHolder.Wrap("Prefix") ); HarmonyHolder.Harmony.Patch( typeof(ModManager).Method("TryLoadAllImages"), transpiler: HarmonyHolder.Wrap("DirFixer") ); }
public static void PatchAll() { HarmonyHolder.Harmony.Patch( typeof(Mod).Method("PopulateFromSynopsis"), transpiler: HarmonyHolder.Wrap("PopulateFromSynopsisTranspile") ); HarmonyHolder.Harmony.Patch( typeof(SteamworksStorefrontClientProvider).Method("StartItemUpdate"), transpiler: HarmonyHolder.Wrap("StartItemUpdateTranspile") ); }
public static void PatchAll() { HarmonyHolder.Harmony.Patch( typeof(TokenDetailsWindow).Method("SetElementCard"), transpiler: HarmonyHolder.Wrap("RefineElementDescription") ); HarmonyHolder.Harmony.Patch( typeof(TextRefiner).Method("RefineString"), transpiler: HarmonyHolder.Wrap("RefinementByCount") ); }
public static void PatchAll() { HarmonyHolder.Harmony.Patch( typeof(CompendiumLoader).Method("PopulateCompendium"), HarmonyHolder.Wrap("Prefix"), HarmonyHolder.Wrap("Postfix"), HarmonyHolder.Wrap("Transpiler") ); HarmonyHolder.Harmony.Patch( typeof(ModManager).Method("GetCataloguedMods"), HarmonyHolder.Wrap("GetCataloguedMods") ); }