Class CommandPermissionChecker<TType>
Inheritance
System.Object
CommandPermissionChecker<TType>
Assembly: OpenAPI.dll
Syntax
public class CommandPermissionChecker<TType> : CommandPermissionChecker where TType : CommandPermissionAttribute
Type Parameters
Methods
|
Improve this Doc
View Source
HasPermission(TType, OpenPlayer)
Declaration
public virtual bool HasPermission(TType attr, OpenPlayer player)
Parameters
| Type |
Name |
Description |
| TType |
attr |
|
| OpenPlayer |
player |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
HasPermission(CommandPermissionAttribute, OpenPlayer)
Declaration
public override bool HasPermission(CommandPermissionAttribute attr, OpenPlayer player)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides