using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using BepInEx.Unity.IL2CPP;
using HarmonyLib;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Microsoft.CodeAnalysis;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyFileVersion("0.0.2")]
[assembly: AssemblyInformationalVersion("0.0.2")]
[assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
[assembly: AssemblyVersion("0.0.2.0")]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
[CompilerGenerated]
[Embedded]
internal sealed class EmbeddedAttribute : Attribute
{
}
}
namespace System.Runtime.CompilerServices
{
[CompilerGenerated]
[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;
}
}
}
internal class ManifestInfo
{
internal const string TSName = "_67mod";
internal const string TSDescription = "Every terminal IP is 67.67.67.67";
internal const string TSVersion = "0.0.2";
internal const string TSAuthor = "Tgb03";
internal const string TSWebsite = "https://github.com/Tgb03/67mod";
}
namespace _67mod
{
[BepInPlugin("dev.Tgb03.gtfo._67mod", "_67mod", "0.0.2")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Plugin : BasePlugin
{
public const string GUID = "dev.Tgb03.gtfo._67mod";
public const string MOD_NAME = "_67mod";
public const string VERSION = "0.0.2";
internal static ManualLogSource L;
private static readonly Harmony _harmony = new Harmony("dev.Tgb03.gtfo._67mod");
public override void Load()
{
L = ((BasePlugin)this).Log;
_harmony.PatchAll(Assembly.GetExecutingAssembly());
L.LogInfo((object)"Plugin loaded!");
}
}
[HarmonyPatch(typeof(SerialGenerator), "Setup")]
internal class NewIPLinks
{
[HarmonyPostfix]
public static void Postfix()
{
SerialGenerator.m_ips = Il2CppStringArray.op_Implicit(new string[1]);
((Il2CppArrayBase<string>)(object)SerialGenerator.m_ips)[0] = "67.67.67.67";
}
}
}