static int Init(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)ToLua.CheckObject <UnityEngine.UI.Extensions.UITableView>(L, 1);
         obj.Init();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int SetScrollMinDis(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)ToLua.CheckObject <UnityEngine.UI.Extensions.UITableView>(L, 1);
         float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
         obj.SetScrollMinDis(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 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_Loop(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)o;
            bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
            obj.Loop = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index Loop on a nil value"));
        }
    }
    static int set_onTableScrolling(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)o;
            UnityEngine.UI.Extensions.UITableView.OnTableScrolling arg0 = (UnityEngine.UI.Extensions.UITableView.OnTableScrolling)ToLua.CheckDelegate <UnityEngine.UI.Extensions.UITableView.OnTableScrolling>(L, 2);
            obj.onTableScrolling = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onTableScrolling on a nil value"));
        }
    }
    static int set_CellCount(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)o;
            int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
            obj.CellCount = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index CellCount on a nil value"));
        }
    }
    static int get_Loop(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)o;
            bool ret = obj.Loop;
            LuaDLL.lua_pushboolean(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index Loop on a nil value"));
        }
    }
    static int get_onTableScrolling(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)o;
            UnityEngine.UI.Extensions.UITableView.OnTableScrolling ret = obj.onTableScrolling;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onTableScrolling on a nil value"));
        }
    }
    static int get_CellCount(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)o;
            int ret = obj.CellCount;
            LuaDLL.lua_pushinteger(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index CellCount on a nil value"));
        }
    }
    static int Reload(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 1)
            {
                UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)ToLua.CheckObject <UnityEngine.UI.Extensions.UITableView>(L, 1);
                obj.Reload();
                return(0);
            }
            else if (count == 2 && TypeChecker.CheckTypes <int>(L, 2))
            {
                UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)ToLua.CheckObject <UnityEngine.UI.Extensions.UITableView>(L, 1);
                int arg0 = (int)LuaDLL.lua_tonumber(L, 2);
                obj.Reload(arg0);
                return(0);
            }
            else if (count == 2 && TypeChecker.CheckTypes <bool>(L, 2))
            {
                UnityEngine.UI.Extensions.UITableView obj = (UnityEngine.UI.Extensions.UITableView)ToLua.CheckObject <UnityEngine.UI.Extensions.UITableView>(L, 1);
                bool arg0 = LuaDLL.lua_toboolean(L, 2);
                obj.Reload(arg0);
                return(0);
            }
            else if (count == 3)
            {
                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);
                bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
                obj.Reload(arg0, arg1);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.UI.Extensions.UITableView.Reload"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }