using Dalamud.Plugin; using Penumbra.Api.Api; using Penumbra.Api.Helpers; namespace Penumbra.Api.IpcSubscribers; /// public sealed class GetPlayerMetaManipulations(IDalamudPluginInterface pi) : FuncSubscriber(pi, Label) { /// The label. public const string Label = $"Penumbra.{nameof(GetPlayerMetaManipulations)}"; /// public new string Invoke() => base.Invoke(); /// Create a provider. public static FuncProvider Provider(IDalamudPluginInterface pi, IPenumbraApiMeta api) => new(pi, Label, api.GetPlayerMetaManipulations); } /// public sealed class GetMetaManipulations(IDalamudPluginInterface pi) : FuncSubscriber(pi, Label) { /// The label. public const string Label = $"Penumbra.{nameof(GetMetaManipulations)}.V5"; /// public new string Invoke(int gameObjectIdx) => base.Invoke(gameObjectIdx); /// Create a provider. public static FuncProvider Provider(IDalamudPluginInterface pi, IPenumbraApiMeta api) => new(pi, Label, api.GetMetaManipulations); }