mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Add a function to obtain all meta manipulations for a given collection.
This commit is contained in:
parent
95e7febd38
commit
4381b9ef64
5 changed files with 46 additions and 2 deletions
|
|
@ -14,7 +14,6 @@ using OtterGui.Raii;
|
|||
using Penumbra.GameData.ByteString;
|
||||
using Penumbra.GameData.Enums;
|
||||
using Penumbra.Mods;
|
||||
using Penumbra.Util;
|
||||
|
||||
namespace Penumbra.Api;
|
||||
|
||||
|
|
@ -449,6 +448,14 @@ public class IpcTester : IDisposable
|
|||
ImGui.OpenPopup( "Ipc Data" );
|
||||
}
|
||||
|
||||
DrawIntro(PenumbraIpc.LabelProviderGetMetaManipulations, "Meta Manipulations" );
|
||||
if( ImGui.Button( "Copy to Clipboard" ) )
|
||||
{
|
||||
var base64 = _pi.GetIpcSubscriber< string, string >( PenumbraIpc.LabelProviderGetMetaManipulations )
|
||||
.InvokeFunc( _characterCollectionName );
|
||||
ImGui.SetClipboardText( base64 );
|
||||
}
|
||||
|
||||
ImGui.SetNextWindowSize( ImGuiHelpers.ScaledVector2( 500, 500 ) );
|
||||
using var p = ImRaii.Popup( "Ipc Data" );
|
||||
if( p )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue