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 DeepSpaceTerminalMessage v1.0.1
DeepSpaceOverhaulTerminalMod.dll
Decompiled 10 months agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using HarmonyLib; 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("DeepSpaceOverhaulTerminalMod")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("DeepSpaceOverhaulTerminalMod")] [assembly: AssemblyTitle("DeepSpaceOverhaulTerminalMod")] [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 DeepSpaceTerminalMessage { [BepInPlugin("OnlyMe-DeepSpaceTerminalMessage", "DeepSpaceTerminalMessage", "1.0.0")] public class DeepSpaceOverhaulTerminalMod : BaseUnityPlugin { public static class PluginInfo { public const string PLUGIN_GUID = "OnlyMe-DeepSpaceTerminalMessage"; public const string PLUGIN_NAME = "DeepSpaceTerminalMessage"; public const string PLUGIN_VERSION = "1.0.0"; } private readonly Harmony harmony = new Harmony("OnlyMe-DeepSpaceTerminalMessage"); private static DeepSpaceOverhaulTerminalMod Instance; private const string ModGUID = "OnlyMe-DeepSpaceTerminalMessage"; private const string ModName = "DeepSpaceTerminalMessage"; private const string ModVersion = "1.0.0"; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } ((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin OnlyMe-DeepSpaceTerminalMessage is loaded!"); harmony.PatchAll(typeof(DeepSpaceOverhaulTerminalMod)); harmony.PatchAll(typeof(TerminalPatch)); } } [HarmonyPatch(typeof(Terminal))] [HarmonyPatch("Start")] public static class TerminalPatch { [HarmonyPostfix] private static void Postfix(ref TerminalNode ___terminalIntro) { if ((Object)(object)___terminalIntro != (Object)null) { ___terminalIntro.displayText = "Welcome to the Deep Space Overhaul Initiative!\n\nThis Mod Was Made For The Mod Pack Deep Space Overhaul. For updated information, please consult the nearest Company data log.\n\nType 'help' for a list of commands.\n\n\n"; } } } }