Files
BepInEx/BepInEx.Core/Contract/IPlugin.cs
T
2020-04-27 20:07:10 +10:00

29 lines
685 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BepInEx.Configuration;
using BepInEx.Logging;
namespace BepInEx.Contract
{
public interface IPlugin
{
/// <summary>
/// Information about this plugin as it was loaded.
/// </summary>
PluginInfo Info { get; }
/// <summary>
/// Logger instance tied to this plugin.
/// </summary>
ManualLogSource Logger { get; }
/// <summary>
/// Default config file tied to this plugin. The config file will not be created until
/// any settings are added and changed, or <see cref="ConfigFile.Save"/> is called.
/// </summary>
ConfigFile Config { get; }
}
}