using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using GorillaLibrary.Utilities; using MelonLoader; using Microsoft.CodeAnalysis; using ModTemplate; using Monke_Mod_Panel; using Monke_Mod_Panel.Attributes; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: MelonInfo(typeof(Mod), "Beta Slides", "1.0.0", "Estatic", null)] [assembly: MelonGame("Another Axiom", "Gorilla Tag")] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("BetaSlides")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0+c083b4d8590c0f6cf3ad64b1ab53ceec5f601b35")] [assembly: AssemblyProduct("BetaSlides")] [assembly: AssemblyTitle("BetaSlides")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)] internal sealed class NullableAttribute : Attribute { public readonly byte[] NullableFlags; public NullableAttribute(byte P_0) { NullableFlags = new byte[1] { P_0 }; } public NullableAttribute(byte[] P_0) { NullableFlags = P_0; } } [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)] internal sealed class NullableContextAttribute : Attribute { public readonly byte Flag; public NullableContextAttribute(byte P_0) { Flag = P_0; } } [CompilerGenerated] [Microsoft.CodeAnalysis.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 ModTemplate { [Toggleable] public class BetaSlides : Mod { public AssetBundle Bundle; public bool enabled = false; public GameObject slides; public GameObject slide1 = null; public GameObject slide2 = null; public GameObject slide3 = null; public GameObject slidet1 = null; public GameObject slidet2 = null; public GameObject slidet3 = null; public override string Name => "Beta Slides"; public override void OnModdedJoin() { //IL_004b: Unknown result type (might be due to invalid IL or missing references) Bundle = AssetBundleUtility.LoadBundle(Assembly.GetExecutingAssembly(), "ModTemplate.Resources.talkingslidethatdog"); slides = Object.Instantiate(Bundle.LoadAsset("messy")); slides.transform.position = new Vector3(-67.0938f, 11.7505f, -82.6406f); slide1 = GameObject.Find("bigslidespiralslide"); slide2 = GameObject.Find("bigslideslide"); slide3 = GameObject.Find("bigslideslide2"); slide1.AddComponent().overrideIndex = 59; slide2.AddComponent().overrideIndex = 59; slide3.AddComponent().overrideIndex = 59; slidet1 = GameObject.Find("bigslidestructurespiral"); slidet2 = GameObject.Find("bigslidestructure"); slidet3 = GameObject.Find("bigslidestructure2"); slidet1.AddComponent().overrideIndex = 26; slidet2.AddComponent().overrideIndex = 26; slidet3.AddComponent().overrideIndex = 26; slides.SetActive(false); MelonLogger.Msg("this WORKED on load bundle"); } public override void OnEnable() { enabled = true; slides.SetActive(true); } public override void OnDisable() { enabled = false; slides.SetActive(false); } public override void OnModdedLeave() { slides.SetActive(false); } } public class Mod : MelonMod { } }