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

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.EquipBaptizeInfo __cl_gen_ret = new xc.EquipBaptizeInfo();
                    translator.Push(L, __cl_gen_ret);
                    return(1);
                }
                if (LuaAPI.lua_gettop(L) == 6 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && translator.Assignable <Net.PkgAttrElm>(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6))
                {
                    uint           id    = LuaAPI.xlua_touint(L, 2);
                    uint           state = LuaAPI.xlua_touint(L, 3);
                    Net.PkgAttrElm attr  = (Net.PkgAttrElm)translator.GetObject(L, 4, typeof(Net.PkgAttrElm));
                    uint           pos   = LuaAPI.xlua_touint(L, 5);
                    uint           index = LuaAPI.xlua_touint(L, 6);

                    xc.EquipBaptizeInfo __cl_gen_ret = new xc.EquipBaptizeInfo(id, state, attr, pos, index);
                    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.EquipBaptizeInfo constructor!"));
        }
        static int _g_get_Pos(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

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

            try {
                xc.EquipBaptizeInfo __cl_gen_to_be_invoked = (xc.EquipBaptizeInfo)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.OpenCosts = (System.Collections.Generic.Dictionary <uint, uint>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary <uint, uint>));
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static int _s_set_AttrAdd(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

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

            try {
                xc.EquipBaptizeInfo __cl_gen_to_be_invoked = (xc.EquipBaptizeInfo)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.BaptizeAttr = (xc.ActorAttribute)translator.GetObject(L, 2, typeof(xc.ActorAttribute));
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static int _s_set_State(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.EquipBaptizeInfo __cl_gen_to_be_invoked = (xc.EquipBaptizeInfo)translator.FastGetCSObj(L, 1);
                xc.EquipBaptizeInfo.EquipBaptizeState __cl_gen_value; translator.Get(L, 2, out __cl_gen_value);
                __cl_gen_to_be_invoked.State = __cl_gen_value;
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }