12345678910111213141516171819202122232425262728 |
- 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; }
- }
- }
|