|
|
@@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|
} |