static int SetGray(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("Framework.UIModule.LuaUICom.SetGray");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 2);
            Framework.UIModule.LuaUICom obj = (Framework.UIModule.LuaUICom)ToLua.CheckObject <Framework.UIModule.LuaUICom>(L, 1);
            bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
            obj.SetGray(arg0);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
    static int SetSliderValue(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("Framework.UIModule.LuaUICom.SetSliderValue");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 2);
            Framework.UIModule.LuaUICom obj = (Framework.UIModule.LuaUICom)ToLua.CheckObject <Framework.UIModule.LuaUICom>(L, 1);
            float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
            obj.SetSliderValue(arg0);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
    static int AddClick(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("Framework.UIModule.LuaUICom.AddClick");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 2);
            Framework.UIModule.LuaUICom    obj  = (Framework.UIModule.LuaUICom)ToLua.CheckObject <Framework.UIModule.LuaUICom>(L, 1);
            UnityEngine.Events.UnityAction arg0 = (UnityEngine.Events.UnityAction)ToLua.CheckDelegate <UnityEngine.Events.UnityAction>(L, 2);
            obj.AddClick(arg0);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
    static int SetSprite(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("Framework.UIModule.LuaUICom.SetSprite");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 3);
            Framework.UIModule.LuaUICom obj = (Framework.UIModule.LuaUICom)ToLua.CheckObject <Framework.UIModule.LuaUICom>(L, 1);
            string arg0 = ToLua.CheckString(L, 2);
            string arg1 = ToLua.CheckString(L, 3);
            obj.SetSprite(arg0, arg1);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
    static int set_LuaUIComName(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("Framework.UIModule.LuaUICom.LuaUIComName");
#endif
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Framework.UIModule.LuaUICom obj = (Framework.UIModule.LuaUICom)o;
            string arg0 = ToLua.CheckString(L, 2);
            obj.LuaUIComName = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index LuaUIComName on a nil value"));
        }
    }
    static int get_LuaUITemplate(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("Framework.UIModule.LuaUICom.LuaUITemplate");
#endif
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Framework.UIModule.LuaUICom      obj = (Framework.UIModule.LuaUICom)o;
            Framework.UIModule.LuaUITemplate ret = obj.LuaUITemplate;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index LuaUITemplate on a nil value"));
        }
    }