mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
30 lines
No EOL
962 B
C#
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);
|
|
}
|
|
} |