Example #1
0
 internal PermissionOverwrite(PermissionTarget targetType, ulong targetId, uint allow, uint deny)
 {
     TargetType = targetType;
     TargetId = targetId;
     Permissions = new DualChannelPermissions(allow, deny);
     Permissions.Lock();
 }
Example #2
0
 internal PermissionOverwrite(PermissionTarget targetType, ulong targetId, uint allow, uint deny)
 {
     TargetType  = targetType;
     TargetId    = targetId;
     Permissions = new DualChannelPermissions(allow, deny);
     Permissions.Lock();
 }