namespace Penumbra.Api.Api;
/// API methods pertaining to Penumbras own state.
public interface IPenumbraApiPluginState
{
/// The full path of the current penumbra root directory.
public string GetModDirectory();
/// The entire current penumbra configuration as a json encoded string.
public string GetConfiguration();
///
/// Fired whenever a mod directory change is finished.
///
/// The full path of the mod directory and whether Penumbra treats it as valid.
public event Action? ModDirectoryChanged;
/// True if Penumbra is enabled, false otherwise.
public bool GetEnabledState();
///
/// Fired whenever the enabled state of Penumbra changes.
///
/// True if the new state is enabled, false if the new state is disabled
public event Action? EnabledChange;
}