35 lines
723 B
C#
35 lines
723 B
C#
using IPA;
|
|
using IPALogger = IPA.Logging.Logger;
|
|
|
|
namespace Setlist
|
|
{
|
|
[Plugin(RuntimeOptions.SingleStartInit)]
|
|
public class Plugin
|
|
{
|
|
internal static Plugin Instance { get; private set; }
|
|
|
|
/// <summary>
|
|
/// BSIPA logger (shows in BSIPA console / game logs when verbose).
|
|
/// </summary>
|
|
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()
|
|
{
|
|
}
|
|
}
|
|
}
|