1 sharedlibrarycoreconfiguration CommandConfiguration
RaidMax edited this page 2023-05-20 22:09:21 -05:00

CommandConfiguration Public class

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]]
  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IBaseConfiguration[[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

Source code

public CommandConfiguration()

Methods

Generate

Source code

public virtual IBaseConfiguration Generate()

Name

Source code

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