static int IntToEnum(IntPtr L)
    {
        int arg0 = (int)LuaDLL.lua_tonumber(L, 1);

        UnityEngine.VerticalWrapMode o = (UnityEngine.VerticalWrapMode)arg0;
        ToLua.Push(L, o);
        return(1);
    }
    static int QPYX_set_verticalOverflow_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        UnityEngine.UI.Text QPYX_obj_YXQP = (UnityEngine.UI.Text)QPYX_o_YXQP;
            UnityEngine.VerticalWrapMode QPYX_arg0_YXQP = (UnityEngine.VerticalWrapMode)ToLua.CheckObject(L_YXQP, 2, typeof(UnityEngine.VerticalWrapMode));
            QPYX_obj_YXQP.verticalOverflow = QPYX_arg0_YXQP;
            return(0);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index verticalOverflow on a nil value"));
        }
    }
    static int QPYX_get_verticalOverflow_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        UnityEngine.UI.Text QPYX_obj_YXQP = (UnityEngine.UI.Text)QPYX_o_YXQP;
            UnityEngine.VerticalWrapMode QPYX_ret_YXQP = QPYX_obj_YXQP.verticalOverflow;
            ToLua.Push(L_YXQP, QPYX_ret_YXQP);
            return(1);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index verticalOverflow on a nil value"));
        }
    }
    static int set_verticalOverflow(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Text          obj  = (UnityEngine.UI.Text)o;
            UnityEngine.VerticalWrapMode arg0 = (UnityEngine.VerticalWrapMode)ToLua.CheckObject(L, 2, typeof(UnityEngine.VerticalWrapMode));
            obj.verticalOverflow = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index verticalOverflow on a nil value" : e.Message));
        }
    }
    static int get_verticalOverflow(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Text          obj = (UnityEngine.UI.Text)o;
            UnityEngine.VerticalWrapMode ret = obj.verticalOverflow;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index verticalOverflow on a nil value" : e.Message));
        }
    }
Esempio n. 6
0
    static int set_verticalOverflow(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Text          obj  = (UnityEngine.UI.Text)o;
            UnityEngine.VerticalWrapMode arg0 = (UnityEngine.VerticalWrapMode)LuaDLL.luaL_checknumber(L, 2);
            obj.verticalOverflow = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalOverflow on a nil value"));
        }
    }
Esempio n. 7
0
    static int get_verticalOverflow(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Text          obj = (UnityEngine.UI.Text)o;
            UnityEngine.VerticalWrapMode ret = obj.verticalOverflow;
            LuaDLL.lua_pushinteger(L, (int)ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalOverflow on a nil value"));
        }
    }
Esempio n. 8
0
        static StackObject *set_verticalOverflow_25(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.VerticalWrapMode value = (UnityEngine.VerticalWrapMode) typeof(UnityEngine.VerticalWrapMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);
            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            UnityEngine.UI.Text instance_of_this_method;
            instance_of_this_method = (UnityEngine.UI.Text) typeof(UnityEngine.UI.Text).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.verticalOverflow = value;

            return(__ret);
        }
Esempio n. 9
0
    static int set_verticalOverflow(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.UI.Text.verticalOverflow");
#endif
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Text          obj  = (UnityEngine.UI.Text)o;
            UnityEngine.VerticalWrapMode arg0 = (UnityEngine.VerticalWrapMode)ToLua.CheckObject(L, 2, typeof(UnityEngine.VerticalWrapMode));
            obj.verticalOverflow = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalOverflow on a nil value"));
        }
    }
Esempio n. 10
0
    static int get_verticalOverflow(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.UI.Text.verticalOverflow");
#endif
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Text          obj = (UnityEngine.UI.Text)o;
            UnityEngine.VerticalWrapMode ret = obj.verticalOverflow;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalOverflow on a nil value"));
        }
    }
 static void Push(IntPtr L, UnityEngine.VerticalWrapMode arg)
 {
     ToLua.Push(L, arg);
 }