mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
29 lines
685 B
C#
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; }
|
|
}
|
|
}
|