static int _s_set_ServerParamStrings(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.TaskDefine.TaskStep __cl_gen_to_be_invoked = (xc.TaskDefine.TaskStep)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.ServerParamStrings = (System.Collections.Generic.List <string>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <string>));
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static int _s_set_Description(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.TaskDefine.TaskStep __cl_gen_to_be_invoked = (xc.TaskDefine.TaskStep)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.Description = LuaAPI.lua_tostring(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static int _s_set_LightEquipLv(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.TaskDefine.TaskStep __cl_gen_to_be_invoked = (xc.TaskDefine.TaskStep)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.LightEquipLv = (ushort)LuaAPI.xlua_tointeger(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static int _g_get_NavigationTagId(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.TaskDefine.TaskStep __cl_gen_to_be_invoked = (xc.TaskDefine.TaskStep)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushuint(L, __cl_gen_to_be_invoked.NavigationTagId);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
        static int _g_get_ClientParamStrings(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.TaskDefine.TaskStep __cl_gen_to_be_invoked = (xc.TaskDefine.TaskStep)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.ClientParamStrings);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.TaskDefine.TaskStep __cl_gen_ret = new xc.TaskDefine.TaskStep();
                    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.TaskDefine.TaskStep constructor!"));
        }
Пример #7
0
        static int _m_GetStepFixedDescriptionByLua_xlua_st_(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



            try {
                {
                    xc.TaskDefine.TaskStep step = (xc.TaskDefine.TaskStep)translator.GetObject(L, 1, typeof(xc.TaskDefine.TaskStep));

                    string __cl_gen_ret = xc.TaskHelper.GetStepFixedDescriptionByLua(step);
                    LuaAPI.lua_pushstring(L, __cl_gen_ret);



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