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


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


            try {
                {
                    string resPath = LuaAPI.lua_tostring(L, 2);
                    xc.MarryFireworkManager.EmitInfo emitInfo = (xc.MarryFireworkManager.EmitInfo)translator.GetObject(L, 3, typeof(xc.MarryFireworkManager.EmitInfo));
                    uint emitId = LuaAPI.xlua_touint(L, 4);

                    System.Collections.IEnumerator __cl_gen_ret = __cl_gen_to_be_invoked.PlayAudio(resPath, emitInfo, emitId);
                    translator.Push(L, __cl_gen_ret);



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

            try {
                xc.MarryFireworkManager.EmitInfo __cl_gen_to_be_invoked = (xc.MarryFireworkManager.EmitInfo)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.IsFinish);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
        static int _m_Stop(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    __cl_gen_to_be_invoked.Stop(  );



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

            try {
                if (LuaAPI.lua_gettop(L) == 4 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING))
                {
                    uint   emitId      = LuaAPI.xlua_touint(L, 2);
                    float  maxLifeTime = (float)LuaAPI.lua_tonumber(L, 3);
                    string effectPath  = LuaAPI.lua_tostring(L, 4);

                    xc.MarryFireworkManager.EmitInfo __cl_gen_ret = new xc.MarryFireworkManager.EmitInfo(emitId, maxLifeTime, effectPath);
                    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.MarryFireworkManager.EmitInfo constructor!"));
        }
        static int _m_SetAuido(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    SGameEngine.AssetResource ar = (SGameEngine.AssetResource)translator.GetObject(L, 2, typeof(SGameEngine.AssetResource));

                    __cl_gen_to_be_invoked.SetAuido(ar);



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


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


            try {
                {
                    UnityEngine.GameObject obj = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));

                    __cl_gen_to_be_invoked.SetObject(obj);



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


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


            try {
                {
                    uint   emitId      = LuaAPI.xlua_touint(L, 2);
                    float  maxLifeTime = (float)LuaAPI.lua_tonumber(L, 3);
                    string effectPath  = LuaAPI.lua_tostring(L, 4);

                    __cl_gen_to_be_invoked.Reset(emitId, maxLifeTime, effectPath);



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