mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 12:44:19 +01:00
Add CopyModSetting API.
This commit is contained in:
parent
f63903e3e6
commit
dc493268f8
6 changed files with 98 additions and 5 deletions
|
|
@ -1084,6 +1084,13 @@ public class IpcTester : IDisposable
|
|||
_lastSettingsError = Ipc.TrySetModPriority.Subscriber( _pi ).Invoke( _settingsCollection, _settingsModDirectory, _settingsModName, _settingsPriority );
|
||||
}
|
||||
|
||||
DrawIntro( Ipc.CopyModSettings.Label, "Copy Mod Settings" );
|
||||
if( ImGui.Button( "Copy Settings" ) )
|
||||
{
|
||||
_lastSettingsError = Ipc.CopyModSettings.Subscriber( _pi ).Invoke( _settingsCollection, _settingsModDirectory, _settingsModName );
|
||||
}
|
||||
ImGuiUtil.HoverTooltip( "Copy settings from Mod Directory Name to Mod Name (as directory) in collection." );
|
||||
|
||||
DrawIntro( Ipc.TrySetModSetting.Label, "Set Setting(s)" );
|
||||
if( _availableSettings == null )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue