using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("GoodTemplate")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("GoodTemplate")]
[assembly: AssemblyTitle("GoodTemplate")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace GoodTemplate;
[BepInPlugin("GoodTeam.GoodTemplate", "GoodTemplate", "1.0.1")]
public class GoodPlugin : BaseUnityPlugin
{
[HarmonyPatch(typeof(GameLoader), "Start")]
public class StartPatch
{
[HarmonyPostfix]
public static void Postfix()
{
Debug.Log((object)"A good debug log!");
}
}
private const string modGUID = "GoodTeam.GoodTemplate";
private const string modName = "GoodTemplate";
private const string modVersion = "1.0.1";
private readonly Harmony harmony = new Harmony("GoodTeam.GoodTemplate");
public static bool UseAPI = true;
private void Awake()
{
harmony.PatchAll();
((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin GoodTeam.GoodTemplate is loaded!");
}
}