예제 #1
0
        static int _s_set_isShowWin(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBAvatarPart.Data __cl_gen_to_be_invoked = (xc.DBAvatarPart.Data)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.isShowWin = LuaAPI.lua_toboolean(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
예제 #2
0
        static int _g_get_vocation(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBAvatarPart.Data __cl_gen_to_be_invoked = (xc.DBAvatarPart.Data)translator.FastGetCSObj(L, 1);
                translator.PushActorEVocationType(L, __cl_gen_to_be_invoked.vocation);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
예제 #3
0
        static int _g_get_low_path(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBAvatarPart.Data __cl_gen_to_be_invoked = (xc.DBAvatarPart.Data)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.low_path);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
예제 #4
0
        static int _s_set_vocation(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBAvatarPart.Data __cl_gen_to_be_invoked = (xc.DBAvatarPart.Data)translator.FastGetCSObj(L, 1);
                Actor.EVocationType  __cl_gen_value; translator.Get(L, 2, out __cl_gen_value);
                __cl_gen_to_be_invoked.vocation = __cl_gen_value;
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
예제 #5
0
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.DBAvatarPart.Data __cl_gen_ret = new xc.DBAvatarPart.Data();
                    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.DBAvatarPart.Data constructor!"));
        }
예제 #6
0
        static int _m_GetAvatarPartData_xlua_st_(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



            try {
                {
                    uint avatarId = LuaAPI.xlua_touint(L, 1);

                    xc.DBAvatarPart.Data __cl_gen_ret = xc.DBAvatarPart.GetAvatarPartData(avatarId);
                    translator.Push(L, __cl_gen_ret);



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


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


            try {
                {
                    xc.DBAvatarPart.Data __cl_gen_ret = __cl_gen_to_be_invoked.Clone(  );
                    translator.Push(L, __cl_gen_ret);



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


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


            try {
                {
                    bool is_local_player = LuaAPI.lua_toboolean(L, 2);

                    string __cl_gen_ret = __cl_gen_to_be_invoked.SuitablePath(is_local_player);
                    LuaAPI.lua_pushstring(L, __cl_gen_ret);



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