static int ChecKkName(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); GameResFactory obj = (GameResFactory)ToLua.CheckObject(L, 1, typeof(GameResFactory)); string arg0 = ToLua.CheckString(L, 2); LuaFunction arg1 = ToLua.CheckLuaFunction(L, 3); LuaFunction arg2 = ToLua.CheckLuaFunction(L, 4); obj.ChecKkName(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }