OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface IPermissionRegistration

Represents a registered permission.

Namespace: OpenMod.API.Permissions
Assembly: OpenMod.API.dll
Syntax
public interface IPermissionRegistration

Properties

| Improve this Doc View Source

DefaultGrant

Gets the default grant result if the permission not explicitly granted or denied.

Declaration
PermissionGrantResult DefaultGrant { get; }
Property Value
Type Description
PermissionGrantResult
| Improve this Doc View Source

Description

Gets the permission description.

Declaration
string? Description { get; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Owner

Gets the owner component.

Declaration
IOpenModComponent Owner { get; }
Property Value
Type Description
IOpenModComponent
| Improve this Doc View Source

Permission

Gets the permission.

Declaration
string Permission { get; }
Property Value
Type Description
System.String

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)