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 RestoreGrandparentRock v1.0.1
plugins/viliger-RandyBobandyBrokeMyGamandy/RandyBobandyBrokeMyGamandy.dll
Decompiled 6 months agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using HG.Reflection; using UnityEngine; using UnityEngine.AddressableAssets; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: OptIn] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("RandyBobandyBrokeMyGamandy")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("RandyBobandyBrokeMyGamandy")] [assembly: AssemblyTitle("RandyBobandyBrokeMyGamandy")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] namespace RoR_RandyBobandyBrokeMyGamendy; [BepInPlugin("com.Viliger.RandyBobandyBrokeMyGamandy", "RandyBobandyBrokeMyGamandy", "1.0.1")] [BepInIncompatibility("com.Wolfo.WolfFixes")] public class RandyBobandyBrokeMyGamandy : BaseUnityPlugin { public void Awake() { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) GameObject val = Addressables.LoadAssetAsync<GameObject>((object)"RoR2/Base/Grandparent/GrandparentMiniBoulderGhost.prefab").WaitForCompletion(); MeshFilter componentInChildren = val.GetComponentInChildren<MeshFilter>(); if (Object.op_Implicit((Object)(object)componentInChildren)) { componentInChildren.mesh = Addressables.LoadAssetAsync<Mesh>((object)"RoR2/Base/blackbeach/mdlBBBoulderMediumRound1.fbx").WaitForCompletion(); Transform transform = ((Component)val.transform.Find("Rotator/RockMesh")).transform; transform.localScale *= 2.5f; } } }