using IPA; using IPALogger = IPA.Logging.Logger; namespace Setlist { [Plugin(RuntimeOptions.SingleStartInit)] public class Plugin { internal static Plugin Instance { get; private set; } /// /// BSIPA logger (shows in BSIPA console / game logs when verbose). /// internal static IPALogger Log { get; private set; } [Init] public Plugin(IPALogger logger) { Instance = this; Log = logger; } [OnStart] public void OnApplicationStart() { Log.Info("Hello World"); } [OnExit] public void OnApplicationQuit() { } } }