Table of Contents

Class RolePermissionOverwrite

Namespace
Kook
Assembly
Kook.Net.Core.dll

Represent a permission object for a role.

public class RolePermissionOverwrite : IPermissionOverwrite<uint>
Inheritance
RolePermissionOverwrite
Implements
Inherited Members

Constructors

RolePermissionOverwrite(uint, OverwritePermissions)

Initializes a new RolePermissionOverwrite with provided ID of the role and modified permissions.

public RolePermissionOverwrite(uint targetId, OverwritePermissions permissions)

Parameters

targetId uint
permissions OverwritePermissions

Properties

Permissions

Gets the permissions associated with this overwrite entry for a role.

public OverwritePermissions Permissions { get; }

Property Value

OverwritePermissions

Target

Gets the identifier for the role this overwrite is targeting.

public uint Target { get; }

Property Value

uint