Penumbra/tmp/Ipc/Meta.cs
2022-10-08 02:02:44 +02:00

30 lines
No EOL
962 B
C#

using System;
using Dalamud.Plugin;
using Penumbra.Api.Helpers;
namespace Penumbra.Api;
public static partial class Ipc
{
public static class GetPlayerMetaManipulations
{
public const string Label = $"Penumbra.{nameof( GetPlayerMetaManipulations )}";
public static FuncProvider< string > Provider( DalamudPluginInterface pi, Func< string > func )
=> new(pi, Label, func);
public static FuncSubscriber< string > Subscriber( DalamudPluginInterface pi )
=> new(pi, Label);
}
public static class GetMetaManipulations
{
public const string Label = $"Penumbra.{nameof( GetMetaManipulations )}";
public static FuncProvider< string, string > Provider( DalamudPluginInterface pi, Func< string, string > func )
=> new(pi, Label, func);
public static FuncSubscriber< string, string > Subscriber( DalamudPluginInterface pi )
=> new(pi, Label);
}
}