Exemple #1
0
        static int _m_Equals(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                UnityEngine.AnimatorControllerParameter gen_to_be_invoked = (UnityEngine.AnimatorControllerParameter)translator.FastGetCSObj(L, 1);



                {
                    object _o = translator.GetObject(L, 2, typeof(object));

                    bool gen_ret = gen_to_be_invoked.Equals(
                        _o);
                    LuaAPI.lua_pushboolean(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *__ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new UnityEngine.AnimatorControllerParameter();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
Exemple #3
0
        static int _s_set_defaultBool(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.AnimatorControllerParameter gen_to_be_invoked = (UnityEngine.AnimatorControllerParameter)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.defaultBool = LuaAPI.lua_toboolean(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemple #4
0
        static int _g_get_defaultInt(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.AnimatorControllerParameter gen_to_be_invoked = (UnityEngine.AnimatorControllerParameter)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.defaultInt);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
Exemple #5
0
        static int _s_set_defaultFloat(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.AnimatorControllerParameter __cl_gen_to_be_invoked = (UnityEngine.AnimatorControllerParameter)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.defaultFloat = (float)LuaAPI.lua_tonumber(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
Exemple #6
0
        static int _g_get_type(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.AnimatorControllerParameter __cl_gen_to_be_invoked = (UnityEngine.AnimatorControllerParameter)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.type);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Exemple #7
0
        static int _s_set_type(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.AnimatorControllerParameter     gen_to_be_invoked = (UnityEngine.AnimatorControllerParameter)translator.FastGetCSObj(L, 1);
                UnityEngine.AnimatorControllerParameterType gen_value; translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.type = gen_value;
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemple #8
0
        static StackObject *get_name_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.AnimatorControllerParameter instance_of_this_method = (UnityEngine.AnimatorControllerParameter) typeof(UnityEngine.AnimatorControllerParameter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.name;

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
Exemple #9
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    UnityEngine.AnimatorControllerParameter gen_ret = new UnityEngine.AnimatorControllerParameter();
                    translator.Push(L, 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.AnimatorControllerParameter constructor!"));
        }
Exemple #10
0
        static int _m_GetHashCode(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            UnityEngine.AnimatorControllerParameter __cl_gen_to_be_invoked = (UnityEngine.AnimatorControllerParameter)translator.FastGetCSObj(L, 1);


            try {
                {
                    int __cl_gen_ret = __cl_gen_to_be_invoked.GetHashCode(  );
                    LuaAPI.xlua_pushinteger(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Exemple #11
0
 public TriggerElement(UnityEngine.AnimatorControllerParameter parameter, ParameterControllerView host) : base(parameter, host)
 {
 }