![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
Marks a class as a command handler. More...
Public Member Functions | |
CmdAttribute (string cmd, string[] alias, ePrivLevel lvl, string desc, params string[] usage) | |
Constructor. | |
CmdAttribute (string cmd, ePrivLevel lvl, string desc, params string[] usage) | |
Constructor. | |
Properties | |
string | Cmd [get] |
Gets the command being handled. | |
string[] | Aliases [get] |
Gets aliases for the command being handled. | |
uint | Level [get] |
Gets minimum required plvl for the command to be used. | |
string | Description [get] |
Gets the description of the command. | |
string[] | Usage [get] |
Gets the command usage. |
Marks a class as a command handler.
DOL.GS.CmdAttribute.CmdAttribute | ( | string | cmd, |
string[] | alias, | ||
ePrivLevel | lvl, | ||
string | desc, | ||
params string[] | usage | ||
) |
Constructor.
cmd | Command to handle |
alias | Other names the command goes by |
lvl | Minimum required plvl for this command |
desc | Description of the command |
usage | How to use the command |
DOL.GS.CmdAttribute.CmdAttribute | ( | string | cmd, |
ePrivLevel | lvl, | ||
string | desc, | ||
params string[] | usage | ||
) |
Constructor.
cmd | Command to handle |
lvl | Minimum required plvl for this command |
desc | Description of the command |
usage | How to use the command |
string [] DOL.GS.CmdAttribute.Aliases [get] |
Gets aliases for the command being handled.
string DOL.GS.CmdAttribute.Cmd [get] |
Gets the command being handled.
string DOL.GS.CmdAttribute.Description [get] |
Gets the description of the command.
uint DOL.GS.CmdAttribute.Level [get] |
Gets minimum required plvl for the command to be used.
string [] DOL.GS.CmdAttribute.Usage [get] |
Gets the command usage.