Added Profile.GetProfileList, Profile.EnableByUniqueId, Profile.DisableByUniqueId IPC endpoints
Co-authored-by: Limiana <5073202+Limiana@users.noreply.github.com>
This commit is contained in:
@@ -292,6 +292,15 @@ public class ProfileManager : IDisposable
|
||||
}
|
||||
}
|
||||
|
||||
public void SetEnabled(Guid guid, bool value)
|
||||
{
|
||||
var profile = Profiles.FirstOrDefault(x => x.UniqueId == guid && x.ProfileType == ProfileType.Normal);
|
||||
if (profile != null)
|
||||
{
|
||||
SetEnabled(profile, value);
|
||||
}
|
||||
}
|
||||
|
||||
public void SetLimitLookupToOwned(Profile profile, bool value)
|
||||
{
|
||||
if (profile.LimitLookupToOwnedObjects != value)
|
||||
|
||||
Reference in New Issue
Block a user