Notice: Wrestling Empire is now using Steam Workshop for official mod support. This page is going to remain accessible, but it's likely the content is not going to be kept up to date.
Decompiled source of WrestlingEmpireRosterLock v1.4.0
plugins/WrestlingEmpireRosterLock.dll
Decompiled a year agousing System; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using BepInEx.Logging; using HarmonyLib; using Microsoft.CodeAnalysis; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = "")] [assembly: AssemblyCompany("WrestlingEmpireRosterLock")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("WrestlingEmpireRosterLock")] [assembly: AssemblyTitle("WrestlingEmpireRosterLock")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [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.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace WrestlingEmpireRosterLock { [BepInPlugin("IngoH.WrestlingEmpire.WrestlingEmpireRosterLock", "WrestlingEmpireRosterLock", "1.4.0")] [HarmonyPatch] public class Plugin : BaseUnityPlugin { public const string PluginGuid = "IngoH.WrestlingEmpire.WrestlingEmpireRosterLock"; public const string PluginName = "WrestlingEmpireRosterLock"; public const string PluginVer = "1.4.0"; internal static ManualLogSource Log; internal static readonly Harmony Harmony = new Harmony("IngoH.WrestlingEmpire.WrestlingEmpireRosterLock"); internal static string PluginPath; private void Awake() { Log = ((BaseUnityPlugin)this).Logger; PluginPath = Path.GetDirectoryName(((BaseUnityPlugin)this).Info.Location); } private void OnEnable() { Harmony.PatchAll(); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Loaded WrestlingEmpireRosterLock!"); } private void OnDisable() { Harmony.UnpatchSelf(); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Unloaded WrestlingEmpireRosterLock!"); } [HarmonyPatch(typeof(IMNHOCBFGHJ), "KGCDOLKIFDE")] [HarmonyPrefix] private static bool IMNHOCBFGHJ_KGCDOLKIFDE(int CCFJBGHCFHL) { if (CCFJBGHCFHL >= 23 && CCFJBGHCFHL <= 26) { return false; } return true; } } }