TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.ModLoader.CommandLoader Class Reference

This serves as the central class from which ModCommand functions are supported and carried out. More...

+ Collaboration diagram for Terraria.ModLoader.CommandLoader:

Static Public Member Functions

static bool Matches (CommandType commandType, CommandType callerType)
 
static List< Tuple< string, string > > GetHelp (CommandType type)
 

Static Package Functions

static void Add (ModCommand cmd)
 
static void Unload ()
 
static bool GetCommand (CommandCaller caller, string name, out ModCommand mc)
 Finds a command by name. Handles mod prefixing. Replies with error messages.
 
static bool HandleCommand (string input, CommandCaller caller)
 

Static Package Attributes

static readonly IDictionary< string, List< ModCommand > > Commands = new Dictionary<string, List<ModCommand>>(StringComparer.OrdinalIgnoreCase)
 

Detailed Description

This serves as the central class from which ModCommand functions are supported and carried out.

Definition at line 11 of file CommandLoader.cs.


The documentation for this class was generated from the following file: