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 CNJoinSteamGroup v1.0.0
joinsteam.dll
Decompiled a year agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using HarmonyLib; using Steamworks; 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("joinsteam")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("P R C")] [assembly: AssemblyProduct("joinsteam")] [assembly: AssemblyCopyright("Copyright © P R C 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("43b4e02c-1495-4063-b13f-c90c2afada04")] [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 joinsteam; [BepInPlugin("joinsteam_apeng", "Steam群组跳转插件", "1.0.0")] public class jointsteam_group : BaseUnityPlugin { [HarmonyPatch(typeof(MenuPageMain))] private class MenuPageMain_Patches { [HarmonyPrefix] [HarmonyPatch("ButtonEventJoinGame")] private static bool OverrideJoinGame() { if (SteamClient.IsValid) { SteamFriends.OpenWebOverlay("https://steamcommunity.com/chat/invite/ZkINOO4Y", false); Cursor.lockState = (CursorLockMode)0; Cursor.visible = true; } else { Application.OpenURL("https://steamcommunity.com/chat/invite/ZkINOO4Y"); } return false; } } private void Awake() { Harmony.CreateAndPatchAll(typeof(MenuPageMain_Patches), (string)null); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Steam群组跳转插件已加载!"); } }