#if USE_UNI_LUA 
 | 
using LuaAPI = UniLua.Lua; 
 | 
using RealStatePtr = UniLua.ILuaState; 
 | 
using LuaCSFunction = UniLua.CSharpFunctionDelegate; 
 | 
#else 
 | 
using LuaAPI = XLua.LuaDLL.Lua; 
 | 
using RealStatePtr = System.IntPtr; 
 | 
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; 
 | 
#endif 
 | 
  
 | 
using XLua; 
 | 
using System.Collections.Generic; 
 | 
  
 | 
  
 | 
namespace XLua.CSObjectWrap 
 | 
{ 
 | 
    using Utils = XLua.Utils; 
 | 
    public class StatusMgrWrap  
 | 
    { 
 | 
        public static void __Register(RealStatePtr L) 
 | 
        { 
 | 
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
            System.Type type = typeof(StatusMgr); 
 | 
            Utils.BeginObjectRegister(type, L, translator, 0, 22, 3, 3); 
 | 
             
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Request", _m_Request); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Release", _m_Release); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReleaseActor", _m_ReleaseActor); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DoUpdate", _m_DoUpdate); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Get", _m_Get); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsExistBossBelong", _m_IsExistBossBelong); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsExist", _m_IsExist); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBuffIds", _m_GetBuffIds); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanMove", _m_CanMove); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanRide", _m_CanRide); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanCollect", _m_CanCollect); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanSit", _m_CanSit); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanCatch", _m_CanCatch); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanFish", _m_CanFish); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanDance", _m_CanDance); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanLook", _m_CanLook); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanUseItem", _m_CanUseItem); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanAttack", _m_CanAttack); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsInvincible", _m_IsInvincible); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsInvisible", _m_IsInvisible); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetSkillEffectValue", _m_TryGetSkillEffectValue); 
 | 
             
 | 
             
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "bossBelongBuffID", _g_get_bossBelongBuffID); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "redNameBuffID", _g_get_redNameBuffID); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "yellowNameBuffID", _g_get_yellowNameBuffID); 
 | 
             
 | 
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "bossBelongBuffID", _s_set_bossBelongBuffID); 
 | 
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "redNameBuffID", _s_set_redNameBuffID); 
 | 
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "yellowNameBuffID", _s_set_yellowNameBuffID); 
 | 
             
 | 
             
 | 
            Utils.EndObjectRegister(type, L, translator, null, null, 
 | 
                null, null, null); 
 | 
  
 | 
            Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0); 
 | 
             
 | 
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnGainStatus", _e_OnGainStatus); 
 | 
             
 | 
             
 | 
             
 | 
             
 | 
             
 | 
            Utils.EndClassRegister(type, L, translator); 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int __CreateInstance(RealStatePtr L) 
 | 
        { 
 | 
             
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
                if(LuaAPI.lua_gettop(L) == 1) 
 | 
                { 
 | 
                     
 | 
                    StatusMgr gen_ret = new StatusMgr(); 
 | 
                    translator.Push(L, 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 StatusMgr constructor!"); 
 | 
             
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_Init(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.Init(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_Request(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    H0605_tagObjAddBuff _h0605 = (H0605_tagObjAddBuff)translator.GetObject(L, 2, typeof(H0605_tagObjAddBuff)); 
 | 
                     
 | 
                    gen_to_be_invoked.Request( _h0605 ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_Release(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                int gen_param_count = LuaAPI.lua_gettop(L); 
 | 
             
 | 
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))  
 | 
                { 
 | 
                    uint _objID = LuaAPI.xlua_touint(L, 2); 
 | 
                    byte _type = (byte)LuaAPI.xlua_tointeger(L, 3); 
 | 
                     
 | 
                    gen_to_be_invoked.Release( _objID, _type ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                if(gen_param_count == 2&& translator.Assignable<H0606_tagObjDelBuff>(L, 2))  
 | 
                { 
 | 
                    H0606_tagObjDelBuff _h0606 = (H0606_tagObjDelBuff)translator.GetObject(L, 2, typeof(H0606_tagObjDelBuff)); 
 | 
                     
 | 
                    gen_to_be_invoked.Release( _h0606 ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
            return LuaAPI.luaL_error(L, "invalid arguments to StatusMgr.Release!"); 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_ReleaseActor(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.ReleaseActor( _sid ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_DoUpdate(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.DoUpdate(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_Get(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                    int _buffID = LuaAPI.xlua_tointeger(L, 3); 
 | 
                     
 | 
                        Status_Base gen_ret = gen_to_be_invoked.Get( _sid, _buffID ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_IsExistBossBelong(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.IsExistBossBelong( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_IsExist(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                    int _buffID = LuaAPI.xlua_tointeger(L, 3); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.IsExist( _sid, _buffID ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetBuffIds(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                    System.Collections.Generic.List<int> _buffList = (System.Collections.Generic.List<int>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<int>)); 
 | 
                     
 | 
                    gen_to_be_invoked.GetBuffIds( _sid, ref _buffList ); 
 | 
                    translator.Push(L, _buffList); 
 | 
                         
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanMove(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanMove( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanRide(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanRide( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanCollect(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanCollect( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanSit(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanSit( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanCatch(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanCatch( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanFish(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanFish( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanDance(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanDance( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanLook(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanLook( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanUseItem(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanUseItem( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_CanAttack(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                    int _skillSeries = LuaAPI.xlua_tointeger(L, 3); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.CanAttack( _sid, _skillSeries ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_IsInvincible(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.IsInvincible( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_IsInvisible(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.IsInvisible( _sid ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_TryGetSkillEffectValue(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _sid = LuaAPI.xlua_touint(L, 2); 
 | 
                    int _skillEffectID = LuaAPI.xlua_tointeger(L, 3); 
 | 
                    SkillHelper.EffectValue _effectValue; 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.TryGetSkillEffectValue( _sid, _skillEffectID, out _effectValue ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                    translator.Push(L, _effectValue); 
 | 
                         
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 2; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_bossBelongBuffID(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.bossBelongBuffID); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_redNameBuffID(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.redNameBuffID); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_yellowNameBuffID(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.yellowNameBuffID); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _s_set_bossBelongBuffID(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
                gen_to_be_invoked.bossBelongBuffID = LuaAPI.xlua_tointeger(L, 2); 
 | 
             
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _s_set_redNameBuffID(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
                gen_to_be_invoked.redNameBuffID = LuaAPI.xlua_tointeger(L, 2); 
 | 
             
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _s_set_yellowNameBuffID(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                StatusMgr gen_to_be_invoked = (StatusMgr)translator.FastGetCSObj(L, 1); 
 | 
                gen_to_be_invoked.yellowNameBuffID = LuaAPI.xlua_tointeger(L, 2); 
 | 
             
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _e_OnGainStatus(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
                int gen_param_count = LuaAPI.lua_gettop(L); 
 | 
                UnityEngine.Events.UnityAction<string> gen_delegate = translator.GetDelegate<UnityEngine.Events.UnityAction<string>>(L, 2); 
 | 
                if (gen_delegate == null) { 
 | 
                    return LuaAPI.luaL_error(L, "#2 need UnityEngine.Events.UnityAction<string>!"); 
 | 
                } 
 | 
                 
 | 
                 
 | 
                if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "+")) { 
 | 
                    StatusMgr.OnGainStatus += gen_delegate; 
 | 
                    return 0; 
 | 
                }  
 | 
                 
 | 
                 
 | 
                if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "-")) { 
 | 
                    StatusMgr.OnGainStatus -= gen_delegate; 
 | 
                    return 0; 
 | 
                }  
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return LuaAPI.luaL_error(L, "invalid arguments to StatusMgr.OnGainStatus!"); 
 | 
        } 
 | 
         
 | 
    } 
 | 
} 
 |