PermissionGate
Assembly: uMod.Core.dll
Inheritance ObjectBaseGateGate PermissionGate
Implements IGate, IEnumerable<String>, IEnumerable, IPermissionGate
Summary
Represents a permission gate class
Constructors
Name | Summary |
|---|---|
PermissionGate ( | Create a permission gate object for the specified plugin |
Properties
Name | Summary |
|---|---|
Permissions | List of all permissions supported by this gate |
Policies | List of all permissions supported by this gate |
Methods
Name | Summary |
|---|---|
Determine if player is allowed to use permission | |
Determine if player is allowed to use permission | |
Determine if player is not allowed to use permission | |
Determine if player is not allowed to use permission | |
Has ( | Determine if gate supports specified permission |
Register permission policy with optional custom callback | |
Register ( | Register permission policy |
Register permission policy with optional custom callback |