1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2024-11-23 19:42:51 +01:00
Minecraft-Phantom-Panel/Common/Phantom.Common.Data.Web/Users/ChangeUserRolesResult.cs
2023-12-05 14:27:55 +01:00

11 lines
352 B
C#

using System.Collections.Immutable;
using MemoryPack;
namespace Phantom.Common.Data.Web.Users;
[MemoryPackable(GenerateType.VersionTolerant)]
public sealed partial record ChangeUserRolesResult(
[property: MemoryPackOrder(0)] ImmutableHashSet<Guid> AddedToRoleGuids,
[property: MemoryPackOrder(1)] ImmutableHashSet<Guid> RemovedFromRoleGuids
);