static int GetCellWithIndex(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)ToLua.CheckObject <UnityEngine.UI.Extensions.UITableView>(L, 1); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); UnityEngine.UI.Extensions.UITableViewCell o = obj.GetCellWithIndex(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_index(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.UI.Extensions.UITableViewCell obj = (UnityEngine.UI.Extensions.UITableViewCell)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.index = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index index on a nil value")); } }
static int get_index(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.UI.Extensions.UITableViewCell obj = (UnityEngine.UI.Extensions.UITableViewCell)o; int ret = obj.index; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index index on a nil value")); } }
static int get_cacheGameObject(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.UI.Extensions.UITableViewCell obj = (UnityEngine.UI.Extensions.UITableViewCell)o; UnityEngine.GameObject ret = obj.cacheGameObject; ToLua.PushSealed(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index cacheGameObject on a nil value")); } }
static int set_cacheGameObject(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.UI.Extensions.UITableViewCell obj = (UnityEngine.UI.Extensions.UITableViewCell)o; UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject)); obj.cacheGameObject = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index cacheGameObject on a nil value")); } }