C# Class NutMud.Commands.Attributes.CommandKeywordAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: SwiftAusterity/NetMud

Méthodes publiques

Méthode Description
CommandKeywordAttribute ( string keyword, bool isAlsoSubject, bool displayInHelpAndCommands = true ) : System

Creates a new keyword attribute

Method Details

CommandKeywordAttribute() public méthode

Creates a new keyword attribute
public CommandKeywordAttribute ( string keyword, bool isAlsoSubject, bool displayInHelpAndCommands = true ) : System
keyword string The keywords in question (exact word match, caps agnostic)
isAlsoSubject bool Is this keyword also the "subject" paramater for the command (see UseExits for the primary example)
displayInHelpAndCommands bool When using Commands and Help should this keyword show up
Résultat System