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 REPO Cosmetics v0.0.2
REPO.Cosmetics/REPO.Cosmetics.dll
Decompiled 8 hours agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyTitle("REPO.Cosmetics")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("REPO.Cosmetics")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("a2f9d251-8718-4b0c-a048-172af591bb0d")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace REPO.Cosmetics; [BepInPlugin("REPO.Cosmetics.Awesome.Cool", "REPO.Cosmetics", "0.0.1")] public class Plugin : BaseUnityPlugin { internal static ManualLogSource Log; public const string Version = "0.0.1"; public const string Name = "REPO.Cosmetics"; public const string Guid = "REPO.Cosmetics.Awesome.Cool"; private void Awake() { //IL_0010: Unknown result type (might be due to invalid IL or missing references) Log = ((BaseUnityPlugin)this).Logger; new Harmony("REPO.Cosmetics.Awesome.Cool").PatchAll(); Log.LogInfo((object)"Loaded."); } } [HarmonyPatch(typeof(MetaManager), "Load")] internal static class Unlock { private static void Postfix(MetaManager __instance) { if (!((Object)(object)__instance == (Object)null)) { if (__instance.CosmeticUnlockAll()) { Plugin.Log.LogInfo((object)$"Unlocked cosmetics -> ({__instance.cosmeticAssets.Count} total)"); } else { Plugin.Log.LogInfo((object)"Already unlocked."); } } } }