-
-
Notifications
You must be signed in to change notification settings - Fork 44
sharedlibrarycoreconfiguration CommandConfiguration
RaidMax edited this page May 21, 2023
·
1 revision
Basic command configuration
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Configuration
SharedLibraryCore.Configuration.CommandConfiguration[[CommandConfiguration]]
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IBaseConfiguration[[IBaseConfiguration]]
class SharedLibraryCore.Interfaces.IBaseConfiguration interfaceStyle;
end
SharedLibraryCore.Interfaces.IBaseConfiguration --> SharedLibraryCore.Configuration.CommandConfiguration
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 |
Returns | Name |
---|---|
IBaseConfiguration |
Generate () |
string |
Name () |
Basic command configuration
public CommandConfiguration()
public virtual IBaseConfiguration Generate()
public virtual string Name()
public Dictionary<string, CommandProperties> Commands { get; set; }
Dict of command class names mapped to configurable properties
public string CommandPrefix { get; set; }
prefix indicated the chat message is a command
public string BroadcastCommandPrefix { get; set; }
prefix indicating that the chat message is a broadcast command
Generated with ModularDoc