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


                JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1);



                {
                    uint   eChannelType = LuaAPI.xlua_touint(L, 2);
                    string resName      = LuaAPI.lua_tostring(L, 3);
                    float  volume       = (float)LuaAPI.lua_tonumber(L, 4);
                    bool   loop         = LuaAPI.lua_toboolean(L, 5);

                    __cl_gen_to_be_invoked.Replay(eChannelType, resName, volume, loop);



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

                JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.m_fLastVoiceVolume = (float)LuaAPI.lua_tonumber(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static int _g_get_m_kCurBGMName(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.m_kCurBGMName);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    JW.Framework.Audio.AudioService __cl_gen_ret = new JW.Framework.Audio.AudioService();
                    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 JW.Framework.Audio.AudioService constructor!"));
        }
        static int _m_GetAudioService_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                {
                    JW.Framework.Audio.AudioService __cl_gen_ret = JW.Lua.LuaInteraction.GetAudioService(  );
                    translator.Push(L, __cl_gen_ret);



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


                JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1);



                {
                    __cl_gen_to_be_invoked.OpenAll(  );



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


                JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1);



                {
                    bool __cl_gen_ret = __cl_gen_to_be_invoked.Initialize(  );
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



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


                JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1);


                int __gen_param_count = LuaAPI.lua_gettop(L);

                if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    uint eChannelType = LuaAPI.xlua_touint(L, 2);

                    __cl_gen_to_be_invoked.FadeOut(eChannelType);



                    return(0);
                }
                if (__gen_param_count == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING))
                {
                    uint   eChannelType = LuaAPI.xlua_touint(L, 2);
                    string audioResName = LuaAPI.lua_tostring(L, 3);

                    __cl_gen_to_be_invoked.FadeOut(eChannelType, audioResName);



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

            return(LuaAPI.luaL_error(L, "invalid arguments to JW.Framework.Audio.AudioService.FadeOut!"));
        }
        static int _m_Stop(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1);



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

                    __cl_gen_to_be_invoked.Stop(eChannelType);



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


                JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1);


                int __gen_param_count = LuaAPI.lua_gettop(L);

                if (__gen_param_count == 5 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5))
                {
                    uint   eChannelType = LuaAPI.xlua_touint(L, 2);
                    string resName      = LuaAPI.lua_tostring(L, 3);
                    bool   loop         = LuaAPI.lua_toboolean(L, 4);
                    bool   isNetAsset   = LuaAPI.lua_toboolean(L, 5);

                    __cl_gen_to_be_invoked.Play(eChannelType, resName, loop, isNetAsset);



                    return(0);
                }
                if (__gen_param_count == 4 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4))
                {
                    uint   eChannelType = LuaAPI.xlua_touint(L, 2);
                    string resName      = LuaAPI.lua_tostring(L, 3);
                    bool   loop         = LuaAPI.lua_toboolean(L, 4);

                    __cl_gen_to_be_invoked.Play(eChannelType, resName, loop);



                    return(0);
                }
                if (__gen_param_count == 5 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5))
                {
                    uint   eChannelType = LuaAPI.xlua_touint(L, 2);
                    string resName      = LuaAPI.lua_tostring(L, 3);
                    float  volumeScale  = (float)LuaAPI.lua_tonumber(L, 4);
                    bool   loop         = LuaAPI.lua_toboolean(L, 5);

                    __cl_gen_to_be_invoked.Play(eChannelType, resName, volumeScale, loop);



                    return(0);
                }
                if (__gen_param_count == 4 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
                {
                    uint   eChannelType = LuaAPI.xlua_touint(L, 2);
                    string resName      = LuaAPI.lua_tostring(L, 3);
                    float  volumeScale  = (float)LuaAPI.lua_tonumber(L, 4);

                    __cl_gen_to_be_invoked.Play(eChannelType, resName, volumeScale);



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

            return(LuaAPI.luaL_error(L, "invalid arguments to JW.Framework.Audio.AudioService.Play!"));
        }