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 PressUToRelocate v1.0.3
PressUToRelocate.dll
Decompiled 2 months agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using Microsoft.CodeAnalysis; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyCompany("PressUToRelocate")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.3.0")] [assembly: AssemblyInformationalVersion("1.0.3")] [assembly: AssemblyProduct("PressUToRelocate")] [assembly: AssemblyTitle("PressUToRelocate")] [assembly: AssemblyVersion("1.0.3.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 PressUToRelocate.Stub { [BepInPlugin("dev.modded.pressutorelocate", "Press U To Relocate", "1.0.3")] public class StubPlugin : BaseUnityPlugin { public const string GUID = "dev.modded.pressutorelocate"; public const string NAME = "Press U To Relocate"; public const string VERSION = "1.0.3"; private void Awake() { //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Expected O, but got Unknown ((BaseUnityPlugin)this).Logger.LogWarning((object)"Press U To Relocate has moved to Easy Relocate. This package only redirects existing installs."); GameObject val = new GameObject("PressUToRelocate_StubNotifier"); val.AddComponent<StubNotifier>(); Object.DontDestroyOnLoad((Object)val); } } internal class StubNotifier : MonoBehaviour { private bool _shown; private void Update() { if (!_shown && !((Object)(object)MessageHud.instance == (Object)null)) { _shown = true; MessageHud.instance.ShowMessage((MessageType)2, "Press U To Relocate moved to Easy Relocate — install the new mod.", 0, (Sprite)null, false); Object.Destroy((Object)(object)this); } } } }