Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of Tiareference v1.0.2
ClassLibrary2.dll
Decompiled 18 hours agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("ClassLibrary2")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ClassLibrary2")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("1bc8cc7e-5447-46d3-90e3-1e12ddecff00")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace ZmianaNazwyHeadgraba; [BepInPlugin("com.twojanazwa.zmieniaheadgraba", "Zmieniacz Nazwy Headgraba", "1.0.0")] public class KlasaModa : BaseUnityPlugin { private void Awake() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Expected O, but got Unknown Harmony val = new Harmony("com.twojanazwa.zmieniaheadgraba"); val.PatchAll(); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Mod na zmianie nazwy Headgraba gotowy!"); } } [HarmonyPatch] public static class PatcheGry { [HarmonyPostfix] [HarmonyPatch(typeof(Enemy), "Start")] public static void ZmienNazwePoStarcie(Enemy __instance) { if ((Object)(object)__instance != (Object)null && ((Object)((Component)__instance).gameObject).name.Contains("Headgrab")) { ((Object)((Component)__instance).gameObject).name = "Tia The Little gremlin"; } } }