Table of Contents

Class OrNeedsPermissionAttribute

Namespace
Uncreated.Warfare.Interaction.Commands
Assembly
Uncreated.Warfare.dll

Define another permission the caller could have.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
[BaseTypeRequired(typeof(ICommand))]
public sealed class OrNeedsPermissionAttribute : Attribute
Inheritance
OrNeedsPermissionAttribute
Inherited Members

Constructors

OrNeedsPermissionAttribute(string)

public OrNeedsPermissionAttribute(string permission)

Parameters

permission string

Properties

Permission

public PermissionLeaf Permission { get; }

Property Value

PermissionLeaf