Example #1
0
        static int _s_set_PlayerSkills(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBStigma.DBStigmaInfo __cl_gen_to_be_invoked = (xc.DBStigma.DBStigmaInfo)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.PlayerSkills = (System.Collections.Generic.Dictionary <uint, System.Collections.Generic.List <xc.DBStigma.DBStigmaSkillItemSkillItem> >)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary <uint, System.Collections.Generic.List <xc.DBStigma.DBStigmaSkillItemSkillItem> >));
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
Example #2
0
        static int _s_set_Icon(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBStigma.DBStigmaInfo __cl_gen_to_be_invoked = (xc.DBStigma.DBStigmaInfo)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.Icon = LuaAPI.lua_tostring(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
Example #3
0
        static int _g_get_PlayerSkills(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBStigma.DBStigmaInfo __cl_gen_to_be_invoked = (xc.DBStigma.DBStigmaInfo)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.PlayerSkills);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Example #4
0
        static int _g_get_ModelParentLocalPos(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBStigma.DBStigmaInfo __cl_gen_to_be_invoked = (xc.DBStigma.DBStigmaInfo)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineVector3(L, __cl_gen_to_be_invoked.ModelParentLocalPos);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Example #5
0
        static int _s_set_ModelParentLocalPos(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBStigma.DBStigmaInfo __cl_gen_to_be_invoked = (xc.DBStigma.DBStigmaInfo)translator.FastGetCSObj(L, 1);
                UnityEngine.Vector3      __cl_gen_value; translator.Get(L, 2, out __cl_gen_value);
                __cl_gen_to_be_invoked.ModelParentLocalPos = __cl_gen_value;
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
Example #6
0
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.DBStigma.DBStigmaInfo __cl_gen_ret = new xc.DBStigma.DBStigmaInfo();
                    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 xc.DBStigma.DBStigmaInfo constructor!"));
        }
Example #7
0
        static int _m_GetVocationPlayerSkills(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.DBStigma.DBStigmaInfo __cl_gen_to_be_invoked = (xc.DBStigma.DBStigmaInfo)translator.FastGetCSObj(L, 1);


            try {
                {
                    uint vocation = LuaAPI.xlua_touint(L, 2);

                    System.Collections.Generic.List <xc.DBStigma.DBStigmaSkillItemSkillItem> __cl_gen_ret = __cl_gen_to_be_invoked.GetVocationPlayerSkills(vocation);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
Example #8
0
        static int _m_GetOneDBStigmaInfo(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.DBStigma __cl_gen_to_be_invoked = (xc.DBStigma)translator.FastGetCSObj(L, 1);


            try {
                {
                    uint id = LuaAPI.xlua_touint(L, 2);

                    xc.DBStigma.DBStigmaInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetOneDBStigmaInfo(id);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }