C# Class NutMud.Commands.Attributes.CommandKeywordAttribute

Inheritance: System.Attribute
ファイルを表示 Open project: SwiftAusterity/NetMud

Public Methods

Method Description
CommandKeywordAttribute ( string keyword, bool isAlsoSubject, bool displayInHelpAndCommands = true ) : System

Creates a new keyword attribute

Method Details

CommandKeywordAttribute() public method

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
return System