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 SnowysBattleRoyaleIntro v1.2.0
BepInEx/plugins/SnowysBattleRoyaleIntro.dll
Decompiled 2 years agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using TerminalApi; using TerminalApi.Classes; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("SnowysBattleRoyaleIntro")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SnowysBattleRoyaleIntro")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("37cc295e-2f4e-4b34-aa5a-17efb1c5db06")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace SnowysBattleRoyaleIntro; [BepInPlugin("Snowlance.SnowysBattleRoyaleIntro", "SnowysBattleRoyaleIntro", "1.0.1")] [BepInDependency(/*Could not decode attribute arguments.*/)] public class ForceTeleportAllBase : BaseUnityPlugin { private const string modGUID = "Snowlance.SnowysBattleRoyaleIntro"; private const string modName = "SnowysBattleRoyaleIntro"; private const string modVersion = "1.0.1"; public static ForceTeleportAllBase PluginInstance; public static ManualLogSource LoggerInstance { get; private set; } private void Awake() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Expected O, but got Unknown if ((Object)(object)PluginInstance == (Object)null) { PluginInstance = this; } LoggerInstance = ((BaseUnityPlugin)PluginInstance).Logger; LoggerInstance.LogDebug((object)"Plugin SnowysBattleRoyaleIntro loaded successfully."); TerminalApi.AddCommand("playintro", new CommandInfo { DisplayTextSupplier = delegate { StartOfRound.Instance.speakerAudioSource.PlayOneShot(StartOfRound.Instance.shipIntroSpeechSFX); return "Playing intro again"; }, Category = "Other" }, (string)null, true); } }