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 VoidCoinsToLunarCoins v1.0.0
VoidCoinsToLunarCoins.dll
Decompiled 5 hours agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using BubbetsItems; using HarmonyLib; using Microsoft.CodeAnalysis; using RoR2; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyCompany("VoidLunarLunarCoins")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("VoidLunarLunarCoins")] [assembly: AssemblyTitle("VoidLunarLunarCoins")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace VoidLunarLunarCoins { [BepInPlugin("com.yourname.voidlunarcoins", "Void Lunar Coins", "1.0.0")] public class Plugin : BaseUnityPlugin { private void Awake() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) new Harmony("com.yourname.voidlunarcoins").PatchAll(); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Void Lunar Coins loaded!"); } } [HarmonyPatch(typeof(VoidLunarShopController), "SceneLoaded")] public static class ShopPatch { private static void Postfix() { if (!((Object)(object)VoidLunarShopController.ShopInstance == (Object)null)) { PurchaseInteraction[] componentsInChildren = VoidLunarShopController.ShopInstance.GetComponentsInChildren<PurchaseInteraction>(true); PurchaseInteraction[] array = componentsInChildren; foreach (PurchaseInteraction val in array) { val.cost = 1; val.NetworkcostType = (CostTypeIndex)3; } } } } }