‪TechbloxModdingAPI  ‪v2.2.0
‪The unofficial Techblox modding API
TechbloxModdingAPI.Commands.CommandRegistrationHelper Class Reference

‪Convenient methods for registering commands to Techblox. All methods register to the command line and console block by default. More...

Static Public Member Functions

static void Call (string name)
 
static void Call< Param0 > (string name, Param0 param0)
 
static void Call< Param0, Param1 > (string name, Param0 param0, Param1 param1)
 
static void Call< Param0, Param1, Param2 > (string name, Param0 param0, Param1 param1, Param2 param2)
 
static void Register (string name, Action action, string desc, bool noConsole=false)
 
static void Register (string name, Action< object > action, string desc, bool noConsole=false)
 
static void Register (string name, Action< object, object > action, string desc, bool noConsole=false)
 
static void Register (string name, Action< object, object, object > action, string desc, bool noConsole=false)
 
static void Register< Param0 > (string name, Action< Param0 > action, string desc, bool noConsole=false)
 
static void Register< Param0, Param1 > (string name, Action< Param0, Param1 > action, string desc, bool noConsole=false)
 
static void Register< Param0, Param1, Param2 > (string name, Action< Param0, Param1, Param2 > action, string desc, bool noConsole=false)
 
static void Unregister (string name, bool noConsole=false)
 

Detailed Description

Convenient methods for registering commands to Techblox. All methods register to the command line and console block by default.

Member Function Documentation

◆ Call()

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Call ( string  name)
inlinestatic

◆ Call< Param0 >()

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Call< Param0 > ( string  name,
Param0  param0 
)
inlinestatic

◆ Call< Param0, Param1 >()

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Call< Param0, Param1 > ( string  name,
Param0  param0,
Param1  param1 
)
inlinestatic

◆ Call< Param0, Param1, Param2 >()

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Call< Param0, Param1, Param2 > ( string  name,
Param0  param0,
Param1  param1,
Param2  param2 
)
inlinestatic

◆ Register() [1/4]

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Register ( string  name,
Action  action,
string  desc,
bool  noConsole = false 
)
inlinestatic

◆ Register() [2/4]

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Register ( string  name,
Action< object >  action,
string  desc,
bool  noConsole = false 
)
inlinestatic

◆ Register() [3/4]

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Register ( string  name,
Action< object, object >  action,
string  desc,
bool  noConsole = false 
)
inlinestatic

◆ Register() [4/4]

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Register ( string  name,
Action< object, object, object >  action,
string  desc,
bool  noConsole = false 
)
inlinestatic

◆ Register< Param0 >()

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Register< Param0 > ( string  name,
Action< Param0 >  action,
string  desc,
bool  noConsole = false 
)
inlinestatic

◆ Register< Param0, Param1 >()

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Register< Param0, Param1 > ( string  name,
Action< Param0, Param1 >  action,
string  desc,
bool  noConsole = false 
)
inlinestatic

◆ Register< Param0, Param1, Param2 >()

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Register< Param0, Param1, Param2 > ( string  name,
Action< Param0, Param1, Param2 >  action,
string  desc,
bool  noConsole = false 
)
inlinestatic

◆ Unregister()

static void TechbloxModdingAPI.Commands.CommandRegistrationHelper.Unregister ( string  name,
bool  noConsole = false 
)
inlinestatic

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