static int GetResourceGroupTotalReadyLength(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityGameFramework.Runtime.ResourceComponent obj = (UnityGameFramework.Runtime.ResourceComponent)ToLua.CheckObject(L, 1, typeof(UnityGameFramework.Runtime.ResourceComponent)); string arg0 = ToLua.CheckString(L, 2); int o = obj.GetResourceGroupTotalReadyLength(arg0); LuaDLL.lua_pushinteger(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }