Table of Contents

Class AndNeedsPermissionAttribute

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

Define another permission the caller must have.

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

Constructors

AndNeedsPermissionAttribute(string)

public AndNeedsPermissionAttribute(string permission)

Parameters

permission string

Properties

Permission

public PermissionLeaf Permission { get; }

Property Value

PermissionLeaf