Add command call (uREPL wrap)
This commit is contained in:
parent
b796751420
commit
72050ceeeb
1 changed files with 20 additions and 0 deletions
|
@ -64,5 +64,25 @@ namespace GamecraftModdingAPI.Commands
|
|||
if (noConsole) { return; }
|
||||
ConsoleCommands.Unregister(name);
|
||||
}
|
||||
|
||||
public static void Call(string name)
|
||||
{
|
||||
RuntimeCommands.Call(name);
|
||||
}
|
||||
|
||||
public static void Call<Param0>(string name, Param0 param0)
|
||||
{
|
||||
RuntimeCommands.Call<Param0>(name, param0);
|
||||
}
|
||||
|
||||
public static void Call<Param0, Param1>(string name, Param0 param0, Param1 param1)
|
||||
{
|
||||
RuntimeCommands.Call<Param0, Param1>(name, param0, param1);
|
||||
}
|
||||
|
||||
public static void Call<Param0, Param1, Param2>(string name, Param0 param0, Param1 param1, Param2 param2)
|
||||
{
|
||||
RuntimeCommands.Call<Param0, Param1, Param2>(name, param0, param1, param2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue