mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Add IPC for Interface Collection.
This commit is contained in:
parent
273111775c
commit
5538c5704d
6 changed files with 79 additions and 9 deletions
|
|
@ -311,6 +311,13 @@ public class IpcTester : IDisposable
|
|||
.InvokeFunc( _currentResolvePath ) );
|
||||
}
|
||||
|
||||
DrawIntro( PenumbraIpc.LabelProviderResolveInterface, "Interface Collection Resolve" );
|
||||
if( _currentResolvePath.Length != 0 )
|
||||
{
|
||||
ImGui.TextUnformatted( _pi.GetIpcSubscriber< string, string >( PenumbraIpc.LabelProviderResolveInterface )
|
||||
.InvokeFunc( _currentResolvePath ) );
|
||||
}
|
||||
|
||||
DrawIntro( PenumbraIpc.LabelProviderResolveCharacter, "Character Collection Resolve" );
|
||||
if( _currentResolvePath.Length != 0 && _currentResolveCharacter.Length != 0 )
|
||||
{
|
||||
|
|
@ -568,6 +575,8 @@ public class IpcTester : IDisposable
|
|||
ImGui.TextUnformatted( _pi.GetIpcSubscriber< string >( PenumbraIpc.LabelProviderCurrentCollectionName ).InvokeFunc() );
|
||||
DrawIntro( PenumbraIpc.LabelProviderDefaultCollectionName, "Default Collection" );
|
||||
ImGui.TextUnformatted( _pi.GetIpcSubscriber< string >( PenumbraIpc.LabelProviderDefaultCollectionName ).InvokeFunc() );
|
||||
DrawIntro( PenumbraIpc.LabelProviderInterfaceCollectionName, "Interface Collection" );
|
||||
ImGui.TextUnformatted( _pi.GetIpcSubscriber< string >( PenumbraIpc.LabelProviderInterfaceCollectionName ).InvokeFunc() );
|
||||
DrawIntro( PenumbraIpc.LabelProviderCharacterCollectionName, "Character" );
|
||||
ImGui.SetNextItemWidth( 200 * ImGuiHelpers.GlobalScale );
|
||||
ImGui.InputTextWithHint( "##characterCollectionName", "Character Name...", ref _characterCollectionName, 64 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue