sharedlibrarycoreconfiguration CommandConfiguration - RaidMax/IW4M-Admin GitHub Wiki
Public class
CommandConfiguration Description
Basic command configuration
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Configuration
SharedLibraryCore.Configuration.CommandConfiguration[CommandConfiguration](/RaidMax/IW4M-Admin/wiki/CommandConfiguration)
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IBaseConfiguration[IBaseConfiguration](/RaidMax/IW4M-Admin/wiki/IBaseConfiguration)
class SharedLibraryCore.Interfaces.IBaseConfiguration interfaceStyle;
end
SharedLibraryCore.Interfaces.IBaseConfiguration --> SharedLibraryCore.Configuration.CommandConfiguration
Members
Properties
Public properties
Type | Name | Methods |
---|---|---|
string |
BroadcastCommandPrefix prefix indicating that the chat message is a broadcast command |
get, set |
string |
CommandPrefix prefix indicated the chat message is a command |
get, set |
Dictionary <string , CommandProperties > |
Commands Dict of command class names mapped to configurable properties |
get, set |
Methods
Public methods
Returns | Name |
---|---|
IBaseConfiguration |
Generate () |
string |
Name () |
Details
Summary
Basic command configuration
Inheritance
Constructors
CommandConfiguration
public CommandConfiguration()
Methods
Generate
public virtual IBaseConfiguration Generate()
Name
public virtual string Name()
Properties
Commands
public Dictionary<string, CommandProperties> Commands { get; set; }
Summary
Dict of command class names mapped to configurable properties
CommandPrefix
public string CommandPrefix { get; set; }
Summary
prefix indicated the chat message is a command
BroadcastCommandPrefix
public string BroadcastCommandPrefix { get; set; }
Summary
prefix indicating that the chat message is a broadcast command
Generated with ModularDoc