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

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.instance_behaviour.BossBehaviour __cl_gen_ret = new xc.instance_behaviour.BossBehaviour();
                    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.instance_behaviour.BossBehaviour constructor!"));
        }
        static int _m_UpdateModel(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    __cl_gen_to_be_invoked.UpdateModel(  );



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


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


            int __gen_param_count = LuaAPI.lua_gettop(L);

            try {
                if (__gen_param_count == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
                {
                    uint uuid   = LuaAPI.xlua_touint(L, 2);
                    uint teamId = LuaAPI.xlua_touint(L, 3);

                    bool __cl_gen_ret = __cl_gen_to_be_invoked.IsAffiliation(uuid, teamId);
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



                    return(1);
                }
                if (__gen_param_count == 2 && translator.Assignable <Actor>(L, 2))
                {
                    Actor actor = (Actor)translator.GetObject(L, 2, typeof(Actor));

                    bool __cl_gen_ret = __cl_gen_to_be_invoked.IsAffiliation(actor);
                    LuaAPI.lua_pushboolean(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.instance_behaviour.BossBehaviour.IsAffiliation!"));
        }
        static int _m_Enter(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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


            try {
                {
                    object[] param = translator.GetParams <object>(L, 2);

                    __cl_gen_to_be_invoked.Enter(param);



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


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


            try {
                {
                    System.Collections.Generic.List <xc.instance_behaviour.BossBehaviour.UpdateBossAffiItem> item_array = (System.Collections.Generic.List <xc.instance_behaviour.BossBehaviour.UpdateBossAffiItem>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <xc.instance_behaviour.BossBehaviour.UpdateBossAffiItem>));

                    __cl_gen_to_be_invoked.UpdateAffiliation(item_array);



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


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


            try {
                {
                    System.Collections.Generic.List <Net.PkgBossInfo> boss_list = (System.Collections.Generic.List <Net.PkgBossInfo>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <Net.PkgBossInfo>));

                    __cl_gen_to_be_invoked.UpdateInfo(boss_list);



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


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


            try {
                {
                    CEventBaseArgs data = (CEventBaseArgs)translator.GetObject(L, 2, typeof(CEventBaseArgs));

                    __cl_gen_to_be_invoked.OnMonsterDead(data);



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


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


            try {
                {
                    ushort protocol = (ushort)LuaAPI.xlua_tointeger(L, 2);
                    byte[] data     = LuaAPI.lua_tobytes(L, 3);

                    __cl_gen_to_be_invoked.HandleServerData(protocol, data);



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