using Dalamud.Plugin; using Penumbra.Api.Enums; using Penumbra.Api.Helpers; #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member namespace Penumbra.Api.IpcSubscribers.Legacy; public sealed class GetMods(IDalamudPluginInterface pi) : FuncSubscriber>(pi, Label) { public const string Label = $"Penumbra.{nameof(GetMods)}"; public new IList<(string, string)> Invoke() => base.Invoke(); } public sealed class ReloadMod(IDalamudPluginInterface pi) : FuncSubscriber(pi, Label) { public const string Label = $"Penumbra.{nameof(ReloadMod)}"; public new PenumbraApiEc Invoke(string modDirectory, string modName = "") => base.Invoke(modDirectory, modName); } public sealed class InstallMod(IDalamudPluginInterface pi) : FuncSubscriber(pi, Label) { public const string Label = $"Penumbra.{nameof(InstallMod)}"; public new PenumbraApiEc Invoke(string modDirectory) => base.Invoke(modDirectory); } public sealed class AddMod(IDalamudPluginInterface pi) : FuncSubscriber(pi, Label) { public const string Label = $"Penumbra.{nameof(AddMod)}"; public new PenumbraApiEc Invoke(string modDirectory) => base.Invoke(modDirectory); } public sealed class DeleteMod(IDalamudPluginInterface pi) : FuncSubscriber(pi, Label) { public const string Label = $"Penumbra.{nameof(DeleteMod)}"; public new PenumbraApiEc Invoke(string modDirectory, string modName = "") => base.Invoke(modDirectory, modName); } public sealed class GetModPath(IDalamudPluginInterface pi) : FuncSubscriber(pi, Label) { public const string Label = $"Penumbra.{nameof(GetModPath)}"; public new (PenumbraApiEc ErrorCode, string Path, bool IsDefault) Invoke(string modDirectory, string modName = "") => base.Invoke(modDirectory, modName); } public sealed class SetModPath(IDalamudPluginInterface pi) : FuncSubscriber(pi, Label) { public const string Label = $"Penumbra.{nameof(SetModPath)}"; public new PenumbraApiEc Invoke(string modDirectory, string newPath, string modName = "") => base.Invoke(modDirectory, modName, newPath); }