Interface IPermissionRegistration
Represents a registered permission.
Namespace: OpenMod.API.Permissions
Assembly: OpenMod.API.dll
Syntax
public interface IPermissionRegistration
Properties
| Improve this Doc View SourceDefaultGrant
Gets the default grant result if the permission not explicitly granted or denied.
Declaration
PermissionGrantResult DefaultGrant { get; }
Property Value
Type | Description |
---|---|
PermissionGrantResult |
Description
Gets the permission description.
Declaration
string? Description { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
Owner
Gets the owner component.
Declaration
IOpenModComponent Owner { get; }
Property Value
Type | Description |
---|---|
IOpenModComponent |
Permission
Gets the permission.
Declaration
string Permission { get; }
Property Value
Type | Description |
---|---|
System.String |