static int RegisterCommand(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 3);
Controller obj = (Controller)ToLua.CheckObject <Controller>(L, 1);
string arg0 = ToLua.CheckString(L, 2);
System.Type arg1 = ToLua.CheckMonoType(L, 3);
obj.RegisterCommand(arg0, arg1);
return(0);
}
catch (Exception e)
{
return(LuaDLL.toluaL_exception(L, e));
}
}