sharedlibrarycoreconfiguration CommandConfiguration - RaidMax/IW4M-Admin GitHub Wiki

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](/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 BroadcastCommandPrefixprefix indicating that the chat message is a broadcast command get, set
string CommandPrefixprefix indicated the chat message is a command get, set
Dictionary<string, CommandProperties> CommandsDict 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