Show / Hide Table of Contents

Method GetCommands

| Edit this page View Source

GetCommands()

Get all added ConsoleCommands
Declaration
public static IEnumerable<ConsoleCommand> GetCommands()
Returns
Type Description
IEnumerable<ConsoleCommand> An IEnumerable<T> of ConsoleCommand from all loaded mods
| Edit this page View Source

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
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾