|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestaticpackage |
Finds a command by name. Handles mod prefixing. Replies with error messages.
| caller | Handles relaying the results of the command and narrows down the search by CommandType context |
| name | The name of the command to retrieve |
| mc | The found command, or null if an error was encountered. |
Definition at line 52 of file CommandLoader.cs.
References Terraria.ModLoader.CommandLoader.Matches(), Terraria.ModLoader.ModType< TEntity, TModType >.Mod, Terraria.ModLoader.ModLoader.TryGetMod(), and Terraria.ModLoader.ModCommand.Type.
Referenced by Terraria.ModLoader.Default.HelpCommand.Action(), and Terraria.ModLoader.CommandLoader.HandleCommand().
Here is the call graph for this function:
Here is the caller graph for this function: