|  | 
|  | Command (string name, string help, Action< string[]> onExecute, Func< string[][]> getValidArgs=null, bool isCheat=false) | 
|  | Use this constructor to create a command that executes the same action regardless of whether it's executed by a client or the server. 
 | 
|  | 
| void | Execute (string[] args) | 
|  | 
| override int | GetHashCode () | 
|  | 
|  | 
| readonly ImmutableArray< Identifier > | Names | 
|  | 
| readonly string | Help | 
|  | 
| Action< string[]> | OnExecute | 
|  | 
| Func< string[][]> | GetValidArgs | 
|  | 
| readonly bool | IsCheat | 
|  | Using a command that's considered a cheat disables achievements. 
 | 
|  | 
◆ Command()
      
        
          | Barotrauma.DebugConsole.Command.Command | ( | string | name, | 
        
          |  |  | string | help, | 
        
          |  |  | Action< string[]> | onExecute, | 
        
          |  |  | Func< string[][]> | getValidArgs = null, | 
        
          |  |  | bool | isCheat = false ) | 
      
 
Use this constructor to create a command that executes the same action regardless of whether it's executed by a client or the server. 
 
 
◆ Execute()
      
        
          | void Barotrauma.DebugConsole.Command.Execute | ( | string[] | args | ) |  | 
      
 
 
◆ GetHashCode()
      
        
          | override int Barotrauma.DebugConsole.Command.GetHashCode | ( |  | ) |  | 
      
 
 
◆ GetValidArgs
      
        
          | Func<string[][]> Barotrauma.DebugConsole.Command.GetValidArgs | 
      
 
 
◆ Help
      
        
          | readonly string Barotrauma.DebugConsole.Command.Help | 
      
 
 
◆ IsCheat
      
        
          | readonly bool Barotrauma.DebugConsole.Command.IsCheat | 
      
 
Using a command that's considered a cheat disables achievements. 
 
 
◆ Names
      
        
          | readonly ImmutableArray<Identifier> Barotrauma.DebugConsole.Command.Names | 
      
 
 
◆ OnExecute
      
        
          | Action<string[]> Barotrauma.DebugConsole.Command.OnExecute | 
      
 
 
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/DebugConsole.cs