コード例 #1
0
 static public int constructor(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         UnityEngine.UI.Dropdown.DropdownEvent o;
         o = new UnityEngine.UI.Dropdown.DropdownEvent();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }
コード例 #2
0
 static public int RemoveAllListeners(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         self.RemoveAllListeners();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #3
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent o;
         o = new UnityEngine.UI.Dropdown.DropdownEvent();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #4
0
 static new public int ToString(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         var ret = self.ToString();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #5
0
 static public int GetPersistentEventCount(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         var ret = self.GetPersistentEventCount();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #6
0
 public static int constructor(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent o;
         o=new UnityEngine.UI.Dropdown.DropdownEvent();
         pushValue(l,true);
         pushValue(l,o);
         return 2;
     }
     catch(Exception e) {
         return error(l,e);
     }
 }
コード例 #7
0
 static public int RemoveListener(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent         self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         UnityEngine.Events.UnityAction <System.Int32> a1;
         LuaDelegation.checkDelegate(l, 2, out a1);
         self.RemoveListener(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #8
0
 static public int Invoke(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         self.Invoke(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #9
0
 static new public int Equals(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         System.Object a1;
         checkType(l, 2, out a1);
         var ret = self.Equals(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #10
0
    static int QPYX_set_onValueChanged_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        UnityEngine.UI.Dropdown QPYX_obj_YXQP = (UnityEngine.UI.Dropdown)QPYX_o_YXQP;
            UnityEngine.UI.Dropdown.DropdownEvent QPYX_arg0_YXQP = (UnityEngine.UI.Dropdown.DropdownEvent)ToLua.CheckObject <UnityEngine.UI.Dropdown.DropdownEvent>(L_YXQP, 2);
            QPYX_obj_YXQP.onValueChanged = 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 onValueChanged on a nil value"));
        }
    }
コード例 #11
0
    static int QPYX_get_onValueChanged_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        UnityEngine.UI.Dropdown QPYX_obj_YXQP = (UnityEngine.UI.Dropdown)QPYX_o_YXQP;
            UnityEngine.UI.Dropdown.DropdownEvent QPYX_ret_YXQP = QPYX_obj_YXQP.onValueChanged;
            ToLua.PushObject(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 onValueChanged on a nil value"));
        }
    }
コード例 #12
0
 static public int GetPersistentTarget(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         var ret = self.GetPersistentTarget(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #13
0
 static public int SetPersistentListenerState(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         UnityEngine.Events.UnityEventCallState a2;
         checkEnum(l, 3, out a2);
         self.SetPersistentListenerState(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #14
0
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    UnityEngine.UI.Dropdown.DropdownEvent __cl_gen_ret = new UnityEngine.UI.Dropdown.DropdownEvent();
                    translator.Push(L, __cl_gen_ret);
                    return(1);
                }
            }
            catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.UI.Dropdown.DropdownEvent constructor!"));
        }
コード例 #15
0
    static int set_onValueChanged(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Dropdown obj = (UnityEngine.UI.Dropdown)o;
            UnityEngine.UI.Dropdown.DropdownEvent arg0 = (UnityEngine.UI.Dropdown.DropdownEvent)ToLua.CheckObject <UnityEngine.UI.Dropdown.DropdownEvent>(L, 2);
            obj.onValueChanged = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onValueChanged on a nil value"));
        }
    }
コード例 #16
0
    static int get_onValueChanged(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.UI.Dropdown obj = (UnityEngine.UI.Dropdown)o;
            UnityEngine.UI.Dropdown.DropdownEvent ret = obj.onValueChanged;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onValueChanged on a nil value"));
        }
    }
コード例 #17
0
        static StackObject *set_onValueChanged_13(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.UI.Dropdown.DropdownEvent value = (UnityEngine.UI.Dropdown.DropdownEvent) typeof(UnityEngine.UI.Dropdown.DropdownEvent).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.Dropdown instance_of_this_method;
            instance_of_this_method = (UnityEngine.UI.Dropdown) typeof(UnityEngine.UI.Dropdown).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.onValueChanged = value;

            return(__ret);
        }
 static int QPYX__CreateUnityEngine_UI_Dropdown_DropdownEvent_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 0)
         {
             UnityEngine.UI.Dropdown.DropdownEvent QPYX_obj_YXQP = new UnityEngine.UI.Dropdown.DropdownEvent();
             ToLua.PushObject(L_YXQP, QPYX_obj_YXQP);
             return(1);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to ctor method: UnityEngine.UI.Dropdown.DropdownEvent.New"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
コード例 #19
0
    static int _CreateUnityEngine_UI_Dropdown_DropdownEvent(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                UnityEngine.UI.Dropdown.DropdownEvent obj = new UnityEngine.UI.Dropdown.DropdownEvent();
                ToLua.PushObject(L, obj);
                return 1;
            }
            else
            {
                return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UnityEngine.UI.Dropdown.DropdownEvent.New");
            }
        }
        catch(Exception e)
        {
            return LuaDLL.toluaL_exception(L, e);
        }
    }
    static int _CreateUnityEngine_UI_Dropdown_DropdownEvent(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                var obj = new UnityEngine.UI.Dropdown.DropdownEvent();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UnityEngine.UI.Dropdown.DropdownEvent.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }