Method GetCommands
| Improve this Doc View SourceGetCommands()
Get all added ConsoleCommands
Declaration
public static IEnumerable<ConsoleCommand> GetCommands()
Returns
Type | Description |
---|---|
IEnumerable<ConsoleCommand> | An IEnumerable<T> of ConsoleCommand from all loaded mods |
GetCommands(string)
Get all added ConsoleCommands of a mod by GUID
Declaration
public static IEnumerable<ConsoleCommand> GetCommands(string modGuid)
Parameters
Type | Name | Description |
---|---|---|
string | modGuid | GUID of the mod |
Returns
Type | Description |
---|---|
IEnumerable<ConsoleCommand> | An IEnumerable<T> of ConsoleCommand from a specific mod |