Added Profile.GetProfileList, Profile.EnableByUniqueId, Profile.DisableByUniqueId IPC endpoints

Co-authored-by: Limiana <5073202+Limiana@users.noreply.github.com>
This commit is contained in:
RisaDev
2024-03-11 01:01:50 +03:00
parent e9b3fc4d3d
commit 13976a9135
6 changed files with 98 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ public partial class CustomizePlusIpc
/// When there are non-breaking changes only second number is bumped up.
/// In general clients should not try to use IPC if they encounter unexpected Breaking version.
/// </summary>
[EzIPC($"General.{nameof(GetApiVersion)}")]
[EzIPC($"General.GetApiVersion")]
private (int, int) GetApiVersion()
{
return _apiVersion;
@@ -29,7 +29,7 @@ public partial class CustomizePlusIpc
/// This only indicates that no fatal errors occured in Customize+.
/// This will still be true if, for example, user turns off Customize+ in its settings.
/// </summary>
[EzIPC($"General.{nameof(IsValid)}")]
[EzIPC($"General.IsValid")]
private bool IsValid()
{
return !IPCFailed &&