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 SystemMessageMod v2.0.0
ror2sysmsg.dll
Decompiled 11 months agousing System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using HG.Reflection; using RoR2; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: OptIn] [assembly: AssemblyTitle("ror2sysmsg")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ror2sysmsg")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("6f18e8d4-eaa3-4b97-bd1b-5b250cceadfc")] [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 SystemMessageMod; [BepInPlugin("com.DaltonGoesFast.systemmessagemod", "System Message Mod", "2.0.0")] public class SystemMessage : BaseUnityPlugin { [ConCommand(/*Could not decode attribute arguments.*/)] private static void EchoCommand(ConCommandArgs args) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Expected O, but got Unknown if (((ConCommandArgs)(ref args)).Count >= 2) { string text = args.userArgs[0]; string text2 = string.Join(" ", args.userArgs.Skip(1)); SimpleChatMessage val = new SimpleChatMessage(); val.baseToken = "<color=" + text + ">" + text2 + "</color>"; Chat.SendBroadcastChat((ChatMessageBase)(object)val); } else { Debug.Log((object)"Invalid arguments. Usage: sys_msg <color> <message>"); } } }