//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ #pragma once #include #include #include "CfgBean.h" namespace cfg { namespace ai { enum class EExecutor { CLIENT = 0, SERVER = 1, }; } namespace ai { enum class EKeyType { BOOL = 1, INT = 2, FLOAT = 3, STRING = 4, VECTOR = 5, ROTATOR = 6, NAME = 7, CLASS = 8, ENUM = 9, OBJECT = 10, }; } namespace ai { enum class EFlowAbortMode { NONE = 0, LOWER_PRIORITY = 1, SELF = 2, BOTH = 3, }; } namespace ai { enum class EFinishMode { IMMEDIATE = 0, DELAYED = 1, }; } namespace ai { enum class ENotifyObserverMode { ON_VALUE_CHANGE = 0, ON_RESULT_CHANGE = 1, }; } namespace ai { enum class EOperator { IS_EQUAL_TO = 0, IS_NOT_EQUAL_TO = 1, IS_LESS_THAN = 2, IS_LESS_THAN_OR_EQUAL_TO = 3, IS_GREAT_THAN = 4, IS_GREAT_THAN_OR_EQUAL_TO = 5, CONTAINS = 6, NOT_CONTAINS = 7, }; } enum class AudioType { UNKNOWN = 0, ACC = 1, AIFF = 2, }; namespace common { enum class EBoolOperator { AND = 0, OR = 1, }; } namespace item { /// /// 道具品质 /// enum class EItemQuality { /// /// 白 /// WHITE = 0, /// /// 绿 /// GREEN = 1, /// /// 蓝 /// BLUE = 2, /// /// 紫 /// PURPLE = 3, /// /// 金 /// GOLDEN = 4, }; } namespace item { enum class ECurrencyType { /// /// 钻石 /// DIAMOND = 1, /// /// 金币 /// GOLD = 2, /// /// 银币 /// SILVER = 3, /// /// 经验 /// EXP = 4, /// /// 能量点 /// POWER_POINT = 5, }; } namespace item { enum class EMajorType { /// /// 货币 /// CURRENCY = 1, /// /// 服装 /// CLOTH = 2, /// /// 任务 /// QUEST = 3, /// /// 消耗品 /// CONSUMABLES = 4, /// /// 宝箱 /// TREASURE_BOX = 5, /// /// 成就和称谓 /// ACHIEVEMENT_AND_TITLE = 6, /// /// 头像框 /// HEAD_FRAME = 7, /// /// 语音 /// VOICE = 8, /// /// 动作 /// ACTION = 9, /// /// 扩容道具 /// EXPANSION = 10, /// /// 制作材料 /// MATERIAL = 11, }; } namespace item { enum class EMinorType { /// /// 钻石 /// DIAMOND = 101, /// /// 金币 /// GOLD = 102, /// /// 银币 /// SILVER = 103, /// /// 经验 /// EXP = 104, /// /// 能量点 /// POWER_POINT = 105, /// /// 发型 /// HAIR_STYLE = 210, /// /// 外套 /// COAT = 220, /// /// 上衣 /// UPPER_JACKET = 230, /// /// 裤子 /// TROUSERS = 241, /// /// 裙子 /// SKIRT = 242, /// /// 袜子 /// SOCKS = 250, /// /// 鞋子 /// SHOES = 260, /// /// 发饰 /// HAIR_ACCESSORY = 271, /// /// 帽子 /// HAT = 272, /// /// 耳饰 /// EARRING = 273, /// /// 颈饰 /// NECKLACE = 274, /// /// 腕饰 /// BRACELET = 275, /// /// 发箍 /// HAIR_CLASP = 276, /// /// 手套 /// GLOVE = 277, /// /// 手持物 /// HANDHELD_OBJECT = 278, /// /// 特殊 /// SPECIAL = 279, /// /// 底妆 /// BASE_COSMETIC = 281, /// /// 眉妆 /// EYEBROW_COSMETIC = 282, /// /// 睫毛 /// EYELASH = 283, /// /// 美瞳 /// COSMETIC_CONTACT_LENSES = 284, /// /// 唇妆 /// LIP_COSMETIC = 285, /// /// 肤色 /// SKIN_COLOR = 286, /// /// 连衣裙 /// ONE_PIECE_DRESS = 290, /// /// 换装场景 /// SWITCH_CLOTHES_SCENE = 291, /// /// 任务道具 /// QUEST = 301, /// /// 投掷物 /// CAST = 401, /// /// 刀剑 /// SWORD = 421, /// /// 弓箭 /// BOW_ARROW = 422, /// /// 法杖 /// WANDS = 423, /// /// 特殊工具 /// SPECIAL_TOOL = 424, /// /// 食物 /// FOOD = 403, /// /// 宝箱 /// TREASURE_BOX = 501, /// /// 钥匙 /// KEY = 502, /// /// 多选一宝箱 /// MULTI_CHOOSE_TREASURE_BOX = 503, /// /// 成就相关 /// ACHIEVEMENT = 601, /// /// 称谓相关 /// TITLE = 602, /// /// 头像框 /// AVATAR_FRAME = 701, /// /// 语音 /// VOICE = 801, /// /// 特殊待机动作 /// IDLE_POSE = 901, /// /// 拍照动作 /// PHOTO_POSE = 902, /// /// 背包 /// BAG = 1001, /// /// 好友数量 /// FRIEND_CAPACITY = 1002, /// /// 制作材料 /// CONSTRUCTION_MATERIAL = 1101, /// /// 设计图纸 /// DESIGN_DRAWING = 1102, }; } namespace item { enum class EClothersStarQualityType { /// /// 一星 /// ONE = 1, /// /// 二星 /// TWO = 2, /// /// 三星 /// THREE = 3, /// /// 四星 /// FOUR = 4, /// /// 五星 /// FIVE = 5, /// /// 六星 /// SIX = 6, /// /// 七星 /// SEVEN = 7, /// /// 八星 /// EIGHT = 8, /// /// 九星 /// NINE = 9, /// /// 十星 /// TEN = 10, }; } namespace item { enum class EClothersTag { /// /// 防晒 /// FANG_SHAI = 1, /// /// 舞者 /// WU_ZHE = 2, }; } namespace item { enum class EUseType { /// /// 手动 /// MANUAL = 0, /// /// 自动 /// AUTO = 1, }; } namespace item { enum class EClothesHidePartType { /// /// 胸部 /// CHEST = 0, /// /// 手 /// HEAD = 1, /// /// 脊柱上 /// SPINE_UPPER = 2, /// /// 脊柱下 /// SPINE_LOWER = 3, /// /// 臀部 /// HIP = 4, /// /// 腿上 /// LEG_UPPER = 5, /// /// 腿中 /// LEG_MIDDLE = 6, /// /// 腿下 /// LEG_LOWER = 7, }; } namespace item { enum class EClothesPropertyType { /// /// 简约 /// JIAN_YUE = 1, /// /// 华丽 /// HUA_LI = 2, /// /// 可爱 /// KE_AI = 3, /// /// 成熟 /// CHENG_SHU = 4, /// /// 活泼 /// HUO_PO = 5, /// /// 优雅 /// YOU_YA = 6, /// /// 清纯 /// QING_CHUN = 7, /// /// 性感 /// XING_GAN = 8, /// /// 清凉 /// QING_LIANG = 9, /// /// 保暖 /// BAO_NUAN = 10, }; } namespace test { enum class DemoEnum { NONE = 0, /// /// aa /// A = 1, /// /// bb /// B = 2, /// /// cc /// C = 4, /// /// dd /// D = 5, }; } namespace test { enum class DemoFlag { A = 1, B = 2, C = 4, D = 8, }; } namespace test { enum class ETestUeType { /// /// 白 /// WHITE = 0, BLACK = 1, }; } namespace test { enum class ETestEmptyEnum { }; } namespace test { enum class ETestEmptyEnum2 { SMALL_THAN_256 = 255, X_256 = 256, X_257 = 257, }; } namespace test { enum class ETestQuality { /// /// 最高品质 /// A = 1, /// /// 黑色的 /// B = 2, /// /// 蓝色的 /// C = 3, /// /// 最差品质 /// D = 4, }; } namespace test { enum class AccessFlag { WRITE = 1, READ = 2, TRUNCATE = 4, NEW = 8, READ_WRITE = WRITE|READ, }; } namespace ai { struct Blackboard; } namespace ai { struct BlackboardKey; } namespace ai { struct BehaviorTree; } namespace ai { struct Node; } namespace ai { struct Service; } namespace ai { struct UeSetDefaultFocus; } namespace ai { struct ExecuteTimeStatistic; } namespace ai { struct ChooseTarget; } namespace ai { struct KeepFaceTarget; } namespace ai { struct GetOwnerPlayer; } namespace ai { struct UpdateDailyBehaviorProps; } namespace ai { struct Decorator; } namespace ai { struct UeLoop; } namespace ai { struct UeCooldown; } namespace ai { struct UeTimeLimit; } namespace ai { struct UeBlackboard; } namespace ai { struct KeyQueryOperator; } namespace ai { struct IsSet; } namespace ai { struct IsNotSet; } namespace ai { struct BinaryOperator; } namespace ai { struct KeyData; } namespace ai { struct FloatKeyData; } namespace ai { struct IntKeyData; } namespace ai { struct StringKeyData; } namespace ai { struct BlackboardKeyData; } namespace ai { struct UeForceSuccess; } namespace ai { struct IsAtLocation; } namespace ai { struct DistanceLessThan; } namespace ai { struct FlowNode; } namespace ai { struct ComposeNode; } namespace ai { struct Sequence; } namespace ai { struct Selector; } namespace ai { struct SimpleParallel; } namespace ai { struct Task; } namespace ai { struct UeWait; } namespace ai { struct UeWaitBlackboardTime; } namespace ai { struct MoveToTarget; } namespace ai { struct ChooseSkill; } namespace ai { struct MoveToRandomLocation; } namespace ai { struct MoveToLocation; } namespace ai { struct DebugPrint; } namespace common { struct GlobalConfig; } namespace item { struct Item; } namespace l10n { struct L10NDemo; } namespace l10n { struct PatchDemo; } namespace tag { struct TestTag; } namespace test { struct DemoType2; } namespace test { struct DemoType1; } namespace test { struct DemoDynamic; } namespace test { struct DemoD2; } namespace test { struct DemoD3; } namespace test { struct DemoE1; } namespace test {namespace login { struct RoleInfo; }} namespace test { struct DemoD5; } namespace test { struct DateTimeRange; } namespace test { struct DemoE2; } namespace test { struct DemoSingletonType; } namespace test { struct NotIndexList; } namespace test { struct MultiUnionIndexList; } namespace test { struct MultiIndexList; } namespace test { struct MultiRowRecord; } namespace test { struct MultiRowType1; } namespace test { struct MultiRowType2; } namespace test { struct MultiRowType3; } namespace test { struct TestMultiColumn; } namespace test { struct Foo; } namespace test { struct MultiRowTitle; } namespace test { struct H1; } namespace test { struct H2; } namespace test { struct TestNull; } namespace test { struct DemoPrimitiveTypesTable; } struct vec2; struct vec3; struct vec4; namespace test { struct TestString; } namespace test { struct CompactString; } namespace test { struct DemoGroup; } namespace test { struct InnerGroup; } namespace test { struct TestGlobal; } namespace test { struct TestBeRef; } namespace test { struct TestRef; } namespace test { struct RefDynamicBase; } namespace test { struct RefBean; } namespace test { struct TestSize; } namespace test { struct TestSet; } namespace test { struct DetectEncoding; } namespace test { struct ItemBase; } namespace test { struct Item; } namespace test { struct Equipment; } namespace test { struct Decorator; } namespace test { struct TestIndex; } namespace test { struct TestMap; } namespace test { struct ExcelFromJson; } namespace test { struct CompositeJsonTable1; } namespace test { struct CompositeJsonTable2; } namespace test { struct CompositeJsonTable3; } namespace test { struct ExcelFromJsonMultiRow; } namespace test { struct TestRow; } namespace test { struct Test3; } namespace test { struct TestScriptableObject; } namespace test { struct TestMapper; } struct DefineFromExcel2; namespace test { struct Shape; } namespace test { struct Circle; } namespace test2 { struct Rectangle; } namespace ai { struct Blackboard : public luban::CfgBean { static bool deserializeBlackboard(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Blackboard() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String name; ::luban::String desc; ::luban::String parentName; ::luban::Vector<::luban::SharedPtr> keys; static constexpr int __ID__ = 1576193005; int getTypeId() const override { return __ID__; } }; } namespace ai { struct BlackboardKey : public luban::CfgBean { static bool deserializeBlackboardKey(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~BlackboardKey() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String name; ::luban::String desc; bool isStatic; ai::EKeyType type; ::luban::String typeClassName; static constexpr int __ID__ = -511559886; int getTypeId() const override { return __ID__; } }; } namespace ai { struct BehaviorTree : public luban::CfgBean { static bool deserializeBehaviorTree(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~BehaviorTree() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String name; ::luban::String desc; ::luban::String blackboardId; ::luban::SharedPtr root; static constexpr int __ID__ = 159552822; int getTypeId() const override { return __ID__; } }; } namespace ai { struct Node : public luban::CfgBean { static bool deserializeNode(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Node() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String nodeName; }; } namespace ai { struct Service : public ai::Node { static bool deserializeService(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Service() {} bool deserialize(::luban::ByteBuf& _buf); }; } namespace ai { struct UeSetDefaultFocus : public ai::Service { static bool deserializeUeSetDefaultFocus(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UeSetDefaultFocus() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String keyboardKey; static constexpr int __ID__ = 1812449155; int getTypeId() const override { return __ID__; } }; } namespace ai { struct ExecuteTimeStatistic : public ai::Service { static bool deserializeExecuteTimeStatistic(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~ExecuteTimeStatistic() {} bool deserialize(::luban::ByteBuf& _buf); static constexpr int __ID__ = 990693812; int getTypeId() const override { return __ID__; } }; } namespace ai { struct ChooseTarget : public ai::Service { static bool deserializeChooseTarget(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~ChooseTarget() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String resultTargetKey; static constexpr int __ID__ = 1601247918; int getTypeId() const override { return __ID__; } }; } namespace ai { struct KeepFaceTarget : public ai::Service { static bool deserializeKeepFaceTarget(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~KeepFaceTarget() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String targetActorKey; static constexpr int __ID__ = 1195270745; int getTypeId() const override { return __ID__; } }; } namespace ai { struct GetOwnerPlayer : public ai::Service { static bool deserializeGetOwnerPlayer(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~GetOwnerPlayer() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String playerActorKey; static constexpr int __ID__ = -999247644; int getTypeId() const override { return __ID__; } }; } namespace ai { struct UpdateDailyBehaviorProps : public ai::Service { static bool deserializeUpdateDailyBehaviorProps(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UpdateDailyBehaviorProps() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String satietyKey; ::luban::String energyKey; ::luban::String moodKey; ::luban::String satietyLowerThresholdKey; ::luban::String satietyUpperThresholdKey; ::luban::String energyLowerThresholdKey; ::luban::String energyUpperThresholdKey; ::luban::String moodLowerThresholdKey; ::luban::String moodUpperThresholdKey; static constexpr int __ID__ = -61887372; int getTypeId() const override { return __ID__; } }; } namespace ai { struct Decorator : public ai::Node { static bool deserializeDecorator(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Decorator() {} bool deserialize(::luban::ByteBuf& _buf); ai::EFlowAbortMode flowAbortMode; }; } namespace ai { struct UeLoop : public ai::Decorator { static bool deserializeUeLoop(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UeLoop() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 numLoops; bool infiniteLoop; ::luban::float32 infiniteLoopTimeoutTime; static constexpr int __ID__ = -513308166; int getTypeId() const override { return __ID__; } }; } namespace ai { struct UeCooldown : public ai::Decorator { static bool deserializeUeCooldown(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UeCooldown() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 cooldownTime; static constexpr int __ID__ = -951439423; int getTypeId() const override { return __ID__; } }; } namespace ai { struct UeTimeLimit : public ai::Decorator { static bool deserializeUeTimeLimit(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UeTimeLimit() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 limitTime; static constexpr int __ID__ = 338469720; int getTypeId() const override { return __ID__; } }; } namespace ai { struct UeBlackboard : public ai::Decorator { static bool deserializeUeBlackboard(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UeBlackboard() {} bool deserialize(::luban::ByteBuf& _buf); ai::ENotifyObserverMode notifyObserver; ::luban::String blackboardKey; ::luban::SharedPtr keyQuery; static constexpr int __ID__ = -315297507; int getTypeId() const override { return __ID__; } }; } namespace ai { struct KeyQueryOperator : public luban::CfgBean { static bool deserializeKeyQueryOperator(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~KeyQueryOperator() {} bool deserialize(::luban::ByteBuf& _buf); }; } namespace ai { struct IsSet : public ai::KeyQueryOperator { static bool deserializeIsSet(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~IsSet() {} bool deserialize(::luban::ByteBuf& _buf); static constexpr int __ID__ = 1635350898; int getTypeId() const override { return __ID__; } }; } namespace ai { struct IsNotSet : public ai::KeyQueryOperator { static bool deserializeIsNotSet(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~IsNotSet() {} bool deserialize(::luban::ByteBuf& _buf); static constexpr int __ID__ = 790736255; int getTypeId() const override { return __ID__; } }; } namespace ai { struct BinaryOperator : public ai::KeyQueryOperator { static bool deserializeBinaryOperator(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~BinaryOperator() {} bool deserialize(::luban::ByteBuf& _buf); ai::EOperator oper; ::luban::SharedPtr data; static constexpr int __ID__ = -979891605; int getTypeId() const override { return __ID__; } }; } namespace ai { struct KeyData : public luban::CfgBean { static bool deserializeKeyData(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~KeyData() {} bool deserialize(::luban::ByteBuf& _buf); }; } namespace ai { struct FloatKeyData : public ai::KeyData { static bool deserializeFloatKeyData(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~FloatKeyData() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 value; static constexpr int __ID__ = -719747885; int getTypeId() const override { return __ID__; } }; } namespace ai { struct IntKeyData : public ai::KeyData { static bool deserializeIntKeyData(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~IntKeyData() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 value; static constexpr int __ID__ = -342751904; int getTypeId() const override { return __ID__; } }; } namespace ai { struct StringKeyData : public ai::KeyData { static bool deserializeStringKeyData(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~StringKeyData() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String value; static constexpr int __ID__ = -307888654; int getTypeId() const override { return __ID__; } }; } namespace ai { struct BlackboardKeyData : public ai::KeyData { static bool deserializeBlackboardKeyData(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~BlackboardKeyData() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String value; static constexpr int __ID__ = 1517269500; int getTypeId() const override { return __ID__; } }; } namespace ai { struct UeForceSuccess : public ai::Decorator { static bool deserializeUeForceSuccess(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UeForceSuccess() {} bool deserialize(::luban::ByteBuf& _buf); static constexpr int __ID__ = 195054574; int getTypeId() const override { return __ID__; } }; } namespace ai { struct IsAtLocation : public ai::Decorator { static bool deserializeIsAtLocation(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~IsAtLocation() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 acceptableRadius; ::luban::String keyboardKey; bool inverseCondition; static constexpr int __ID__ = 1255972344; int getTypeId() const override { return __ID__; } }; } namespace ai { struct DistanceLessThan : public ai::Decorator { static bool deserializeDistanceLessThan(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DistanceLessThan() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String actor1Key; ::luban::String actor2Key; ::luban::float32 distance; bool reverseResult; static constexpr int __ID__ = -1207170283; int getTypeId() const override { return __ID__; } }; } namespace ai { struct FlowNode : public ai::Node { static bool deserializeFlowNode(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~FlowNode() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::Vector<::luban::SharedPtr> decorators; ::luban::Vector<::luban::SharedPtr> services; }; } namespace ai { struct ComposeNode : public ai::FlowNode { static bool deserializeComposeNode(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~ComposeNode() {} bool deserialize(::luban::ByteBuf& _buf); }; } namespace ai { struct Sequence : public ai::ComposeNode { static bool deserializeSequence(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Sequence() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::Vector<::luban::SharedPtr> children; static constexpr int __ID__ = -1789006105; int getTypeId() const override { return __ID__; } }; } namespace ai { struct Selector : public ai::ComposeNode { static bool deserializeSelector(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Selector() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::Vector<::luban::SharedPtr> children; static constexpr int __ID__ = -1946981627; int getTypeId() const override { return __ID__; } }; } namespace ai { struct SimpleParallel : public ai::ComposeNode { static bool deserializeSimpleParallel(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~SimpleParallel() {} bool deserialize(::luban::ByteBuf& _buf); ai::EFinishMode finishMode; ::luban::SharedPtr mainTask; ::luban::SharedPtr backgroundNode; static constexpr int __ID__ = -1952582529; int getTypeId() const override { return __ID__; } }; } namespace ai { struct Task : public ai::FlowNode { static bool deserializeTask(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Task() {} bool deserialize(::luban::ByteBuf& _buf); bool ignoreRestartSelf; }; } namespace ai { struct UeWait : public ai::Task { static bool deserializeUeWait(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UeWait() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 waitTime; ::luban::float32 randomDeviation; static constexpr int __ID__ = -512994101; int getTypeId() const override { return __ID__; } }; } namespace ai { struct UeWaitBlackboardTime : public ai::Task { static bool deserializeUeWaitBlackboardTime(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~UeWaitBlackboardTime() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String blackboardKey; static constexpr int __ID__ = 1215378271; int getTypeId() const override { return __ID__; } }; } namespace ai { struct MoveToTarget : public ai::Task { static bool deserializeMoveToTarget(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MoveToTarget() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String targetActorKey; ::luban::float32 acceptableRadius; static constexpr int __ID__ = 514987779; int getTypeId() const override { return __ID__; } }; } namespace ai { struct ChooseSkill : public ai::Task { static bool deserializeChooseSkill(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~ChooseSkill() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String targetActorKey; ::luban::String resultSkillIdKey; static constexpr int __ID__ = -918812268; int getTypeId() const override { return __ID__; } }; } namespace ai { struct MoveToRandomLocation : public ai::Task { static bool deserializeMoveToRandomLocation(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MoveToRandomLocation() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String originPositionKey; ::luban::float32 radius; static constexpr int __ID__ = -2140042998; int getTypeId() const override { return __ID__; } }; } namespace ai { struct MoveToLocation : public ai::Task { static bool deserializeMoveToLocation(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MoveToLocation() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 acceptableRadius; static constexpr int __ID__ = -969953113; int getTypeId() const override { return __ID__; } }; } namespace ai { struct DebugPrint : public ai::Task { static bool deserializeDebugPrint(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DebugPrint() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String text; static constexpr int __ID__ = 1357409728; int getTypeId() const override { return __ID__; } }; } namespace common { struct GlobalConfig : public luban::CfgBean { static bool deserializeGlobalConfig(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~GlobalConfig() {} bool deserialize(::luban::ByteBuf& _buf); /** * 背包容量 */ ::luban::int32 x1; ::luban::int32 x2; ::luban::int32 x3; ::luban::int32 x4; ::luban::int32 x5; ::luban::int32 x6; ::luban::Vector<::luban::int32> x7; static constexpr int __ID__ = -848234488; int getTypeId() const override { return __ID__; } }; } namespace item { /** * 道具 */ struct Item : public luban::CfgBean { static bool deserializeItem(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Item() {} bool deserialize(::luban::ByteBuf& _buf); /** * 道具id */ ::luban::int32 id; ::luban::String name; item::EMinorType minorType; item::EItemQuality quality; ::luban::String iconBackgroud; ::luban::String iconMask; ::luban::String desc; ::luban::int32 showOrder; static constexpr int __ID__ = 2107285806; int getTypeId() const override { return __ID__; } }; } namespace l10n { struct L10NDemo : public luban::CfgBean { static bool deserializeL10NDemo(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~L10NDemo() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String text; static constexpr int __ID__ = -331195887; int getTypeId() const override { return __ID__; } }; } namespace l10n { struct PatchDemo : public luban::CfgBean { static bool deserializePatchDemo(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~PatchDemo() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::int32 value; static constexpr int __ID__ = -1707294656; int getTypeId() const override { return __ID__; } }; } namespace tag { struct TestTag : public luban::CfgBean { static bool deserializeTestTag(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestTag() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String value; static constexpr int __ID__ = 1742933812; int getTypeId() const override { return __ID__; } }; } namespace test { struct DemoType2 : public luban::CfgBean { static bool deserializeDemoType2(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoType2() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x4; bool x1; ::luban::byte x2; ::luban::int16 x3; ::luban::int64 x5; ::luban::float32 x6; ::luban::float64 x7; ::luban::int16 x80; ::luban::int32 x8; ::luban::int64 x9; ::luban::String x10; ::luban::SharedPtr x12; test::DemoEnum x13; ::luban::SharedPtr x14; ::luban::String s1; ::luban::datetime t1; ::luban::Array<::luban::int32> k1; ::luban::Vector<::luban::int32> k2; ::luban::HashSet<::luban::int32> k5; ::luban::HashMap<::luban::int32, ::luban::int32> k8; ::luban::Vector<::luban::SharedPtr> k9; ::luban::Array<::luban::SharedPtr> k15; static constexpr int __ID__ = -367048295; int getTypeId() const override { return __ID__; } }; } namespace test { struct DemoType1 : public luban::CfgBean { static bool deserializeDemoType1(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoType1() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x1; static constexpr int __ID__ = -367048296; int getTypeId() const override { return __ID__; } }; } namespace test { struct DemoDynamic : public luban::CfgBean { static bool deserializeDemoDynamic(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoDynamic() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x1; }; } namespace test { struct DemoD2 : public test::DemoDynamic { static bool deserializeDemoD2(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoD2() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x2; static constexpr int __ID__ = -2138341747; int getTypeId() const override { return __ID__; } }; } namespace test { struct DemoD3 : public test::DemoDynamic { static bool deserializeDemoD3(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoD3() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x3; }; } namespace test { struct DemoE1 : public test::DemoD3 { static bool deserializeDemoE1(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoE1() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x4; static constexpr int __ID__ = -2138341717; int getTypeId() const override { return __ID__; } }; } namespace test {namespace login { struct RoleInfo : public test::DemoD3 { static bool deserializeRoleInfo(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~RoleInfo() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int64 roleId; static constexpr int __ID__ = -989153243; int getTypeId() const override { return __ID__; } }; }} namespace test { struct DemoD5 : public test::DemoDynamic { static bool deserializeDemoD5(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoD5() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::SharedPtr time; static constexpr int __ID__ = -2138341744; int getTypeId() const override { return __ID__; } }; } namespace test { struct DateTimeRange : public luban::CfgBean { static bool deserializeDateTimeRange(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DateTimeRange() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::datetime startTime; ::luban::datetime endTime; static constexpr int __ID__ = 495315430; int getTypeId() const override { return __ID__; } }; } namespace test { struct DemoE2 : public luban::CfgBean { static bool deserializeDemoE2(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoE2() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::SharedPtr<::luban::int32> y1; bool y2; static constexpr int __ID__ = -2138341716; int getTypeId() const override { return __ID__; } }; } namespace test { struct DemoSingletonType : public luban::CfgBean { static bool deserializeDemoSingletonType(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoSingletonType() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String name; ::luban::SharedPtr date; static constexpr int __ID__ = 539196998; int getTypeId() const override { return __ID__; } }; } namespace test { struct NotIndexList : public luban::CfgBean { static bool deserializeNotIndexList(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~NotIndexList() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x; ::luban::int32 y; static constexpr int __ID__ = -50446599; int getTypeId() const override { return __ID__; } }; } namespace test { struct MultiUnionIndexList : public luban::CfgBean { static bool deserializeMultiUnionIndexList(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MultiUnionIndexList() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id1; ::luban::int64 id2; ::luban::String id3; ::luban::int32 num; ::luban::String desc; static constexpr int __ID__ = 1966847134; int getTypeId() const override { return __ID__; } }; } namespace test { struct MultiIndexList : public luban::CfgBean { static bool deserializeMultiIndexList(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MultiIndexList() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id1; ::luban::int64 id2; ::luban::String id3; ::luban::int32 num; ::luban::String desc; static constexpr int __ID__ = 2016237651; int getTypeId() const override { return __ID__; } }; } namespace test { struct MultiRowRecord : public luban::CfgBean { static bool deserializeMultiRowRecord(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MultiRowRecord() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String name; ::luban::Vector<::luban::SharedPtr> oneRows; ::luban::Vector<::luban::SharedPtr> multiRows1; ::luban::Array<::luban::SharedPtr> multiRows2; ::luban::HashMap<::luban::int32, ::luban::SharedPtr> multiRows4; ::luban::Vector<::luban::SharedPtr> multiRows5; ::luban::HashMap<::luban::int32, ::luban::SharedPtr> multiRows6; ::luban::HashMap<::luban::int32, ::luban::int32> multiRows7; static constexpr int __ID__ = -501249394; int getTypeId() const override { return __ID__; } }; } namespace test { struct MultiRowType1 : public luban::CfgBean { static bool deserializeMultiRowType1(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MultiRowType1() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::int32 x; static constexpr int __ID__ = 540474970; int getTypeId() const override { return __ID__; } }; } namespace test { struct MultiRowType2 : public luban::CfgBean { static bool deserializeMultiRowType2(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MultiRowType2() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::int32 x; ::luban::float32 y; static constexpr int __ID__ = 540474971; int getTypeId() const override { return __ID__; } }; } namespace test { struct MultiRowType3 : public luban::CfgBean { static bool deserializeMultiRowType3(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MultiRowType3() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::Vector<::luban::SharedPtr> items; static constexpr int __ID__ = 540474972; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestMultiColumn : public luban::CfgBean { static bool deserializeTestMultiColumn(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestMultiColumn() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::SharedPtr a; ::luban::SharedPtr b; ::luban::SharedPtr c; static constexpr int __ID__ = -294473599; int getTypeId() const override { return __ID__; } }; } namespace test { struct Foo : public luban::CfgBean { static bool deserializeFoo(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Foo() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 y1; ::luban::int32 y2; ::luban::int32 y3; static constexpr int __ID__ = -1147950774; int getTypeId() const override { return __ID__; } }; } namespace test { struct MultiRowTitle : public luban::CfgBean { static bool deserializeMultiRowTitle(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~MultiRowTitle() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String name; ::luban::SharedPtr x1; ::luban::SharedPtr x20; ::luban::Vector<::luban::SharedPtr> x2; ::luban::Array<::luban::SharedPtr> x3; ::luban::Array<::luban::SharedPtr> x4; static constexpr int __ID__ = 540002427; int getTypeId() const override { return __ID__; } }; } namespace test { struct H1 : public luban::CfgBean { static bool deserializeH1(::luban::ByteBuf& _buf, ::luban::SharedPtr

& _out); virtual ~H1() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::SharedPtr y2; ::luban::int32 y3; static constexpr int __ID__ = -1422503995; int getTypeId() const override { return __ID__; } }; } namespace test { struct H2 : public luban::CfgBean { static bool deserializeH2(::luban::ByteBuf& _buf, ::luban::SharedPtr

& _out); virtual ~H2() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 z2; ::luban::int32 z3; static constexpr int __ID__ = -1422503994; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestNull : public luban::CfgBean { static bool deserializeTestNull(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestNull() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::SharedPtr<::luban::int32> x1; ::luban::SharedPtr x2; ::luban::SharedPtr x3; ::luban::SharedPtr x4; ::luban::SharedPtr<::luban::String> s1; ::luban::SharedPtr<::luban::String> s2; static constexpr int __ID__ = 339868469; int getTypeId() const override { return __ID__; } }; } namespace test { struct DemoPrimitiveTypesTable : public luban::CfgBean { static bool deserializeDemoPrimitiveTypesTable(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoPrimitiveTypesTable() {} bool deserialize(::luban::ByteBuf& _buf); bool x1; ::luban::byte x2; ::luban::int16 x3; ::luban::int32 x4; ::luban::int64 x5; ::luban::float32 x6; ::luban::float64 x7; ::luban::String s1; ::luban::String s2; ::luban::SharedPtr v2; ::luban::SharedPtr v3; ::luban::SharedPtr v4; ::luban::datetime t1; static constexpr int __ID__ = -370934083; int getTypeId() const override { return __ID__; } }; } struct vec2 : public luban::CfgBean { static bool deserializevec2(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~vec2() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 x; ::luban::float32 y; static constexpr int __ID__ = 3615518; int getTypeId() const override { return __ID__; } }; struct vec3 : public luban::CfgBean { static bool deserializevec3(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~vec3() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 x; ::luban::float32 y; ::luban::float32 z; static constexpr int __ID__ = 3615519; int getTypeId() const override { return __ID__; } }; struct vec4 : public luban::CfgBean { static bool deserializevec4(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~vec4() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::float32 x; ::luban::float32 y; ::luban::float32 z; ::luban::float32 w; static constexpr int __ID__ = 3615520; int getTypeId() const override { return __ID__; } }; namespace test { struct TestString : public luban::CfgBean { static bool deserializeTestString(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestString() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::String id; ::luban::String s1; ::luban::String s2; ::luban::SharedPtr cs1; ::luban::SharedPtr cs2; static constexpr int __ID__ = 338485823; int getTypeId() const override { return __ID__; } }; } namespace test { struct CompactString : public luban::CfgBean { static bool deserializeCompactString(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~CompactString() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String s2; ::luban::String s3; static constexpr int __ID__ = 1968089240; int getTypeId() const override { return __ID__; } }; } namespace test { struct DemoGroup : public luban::CfgBean { static bool deserializeDemoGroup(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DemoGroup() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::SharedPtr x5; static constexpr int __ID__ = -379263008; int getTypeId() const override { return __ID__; } }; } namespace test { struct InnerGroup : public luban::CfgBean { static bool deserializeInnerGroup(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~InnerGroup() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 y1; static constexpr int __ID__ = -587873083; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestGlobal : public luban::CfgBean { static bool deserializeTestGlobal(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestGlobal() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 unlockEquip; ::luban::int32 unlockHero; static constexpr int __ID__ = -12548655; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestBeRef : public luban::CfgBean { static bool deserializeTestBeRef(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestBeRef() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::int32 count; static constexpr int __ID__ = 1934403938; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestRef : public luban::CfgBean { static bool deserializeTestRef(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestRef() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::int32 x1; ::luban::int32 x12; ::luban::int32 x2; ::luban::int32 x3; ::luban::int32 x4; ::luban::Array<::luban::int32> a1; ::luban::Array<::luban::int32> a2; ::luban::Vector<::luban::int32> b1; ::luban::Vector<::luban::int32> b2; ::luban::HashSet<::luban::int32> c1; ::luban::HashSet<::luban::int32> c2; ::luban::HashMap<::luban::int32, ::luban::int32> d1; ::luban::HashMap<::luban::int32, ::luban::int32> d2; ::luban::int32 e1; ::luban::int64 e2; ::luban::String e3; ::luban::int32 f1; ::luban::int64 f2; ::luban::String f3; ::luban::SharedPtr s1; static constexpr int __ID__ = -543222491; int getTypeId() const override { return __ID__; } }; } namespace test { struct RefDynamicBase : public luban::CfgBean { static bool deserializeRefDynamicBase(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~RefDynamicBase() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x; }; } namespace test { struct RefBean : public test::RefDynamicBase { static bool deserializeRefBean(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~RefBean() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::Vector<::luban::int32> arr; static constexpr int __ID__ = 1963260263; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestSize : public luban::CfgBean { static bool deserializeTestSize(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestSize() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::Array<::luban::int32> x1; ::luban::Vector<::luban::int32> x2; ::luban::HashSet<::luban::int32> x3; ::luban::HashMap<::luban::int32, ::luban::int32> x4; static constexpr int __ID__ = 340006319; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestSet : public luban::CfgBean { static bool deserializeTestSet(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestSet() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String x0; ::luban::Vector<::luban::int32> x1; ::luban::Vector<::luban::int64> x2; ::luban::Vector<::luban::String> x3; ::luban::Vector x4; static constexpr int __ID__ = -543221516; int getTypeId() const override { return __ID__; } }; } namespace test { struct DetectEncoding : public luban::CfgBean { static bool deserializeDetectEncoding(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DetectEncoding() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String name; static constexpr int __ID__ = -1154609646; int getTypeId() const override { return __ID__; } }; } namespace test { struct ItemBase : public luban::CfgBean { static bool deserializeItemBase(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~ItemBase() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String name; ::luban::String desc; }; } namespace test { struct Item : public test::ItemBase { static bool deserializeItem(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Item() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 num; ::luban::int32 price; static constexpr int __ID__ = -1226641649; int getTypeId() const override { return __ID__; } }; } namespace test { struct Equipment : public test::ItemBase { static bool deserializeEquipment(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Equipment() {} bool deserialize(::luban::ByteBuf& _buf); test::DemoEnum attr; ::luban::int32 value; static constexpr int __ID__ = -76837102; int getTypeId() const override { return __ID__; } }; } namespace test { struct Decorator : public test::ItemBase { static bool deserializeDecorator(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Decorator() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 duration; static constexpr int __ID__ = -625155649; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestIndex : public luban::CfgBean { static bool deserializeTestIndex(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestIndex() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::Vector<::luban::SharedPtr> eles; static constexpr int __ID__ = 1941154020; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestMap : public luban::CfgBean { static bool deserializeTestMap(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestMap() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::HashMap<::luban::int32, ::luban::int32> x1; ::luban::HashMap<::luban::int64, ::luban::int32> x2; ::luban::HashMap<::luban::String, ::luban::int32> x3; ::luban::HashMap x4; static constexpr int __ID__ = -543227410; int getTypeId() const override { return __ID__; } }; } namespace test { struct ExcelFromJson : public luban::CfgBean { static bool deserializeExcelFromJson(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~ExcelFromJson() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x4; bool x1; ::luban::int64 x5; ::luban::float32 x6; ::luban::String s1; ::luban::String s2; ::luban::datetime t1; ::luban::SharedPtr x12; test::DemoEnum x13; ::luban::SharedPtr x14; ::luban::Array<::luban::int32> k1; ::luban::HashMap<::luban::int32, ::luban::int32> k8; ::luban::Vector<::luban::SharedPtr> k9; ::luban::Array<::luban::SharedPtr> k15; static constexpr int __ID__ = -1485706483; int getTypeId() const override { return __ID__; } }; } namespace test { struct CompositeJsonTable1 : public luban::CfgBean { static bool deserializeCompositeJsonTable1(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~CompositeJsonTable1() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String x; static constexpr int __ID__ = 1566207894; int getTypeId() const override { return __ID__; } }; } namespace test { struct CompositeJsonTable2 : public luban::CfgBean { static bool deserializeCompositeJsonTable2(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~CompositeJsonTable2() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::int32 y; static constexpr int __ID__ = 1566207895; int getTypeId() const override { return __ID__; } }; } namespace test { struct CompositeJsonTable3 : public luban::CfgBean { static bool deserializeCompositeJsonTable3(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~CompositeJsonTable3() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 a; ::luban::int32 b; static constexpr int __ID__ = 1566207896; int getTypeId() const override { return __ID__; } }; } namespace test { struct ExcelFromJsonMultiRow : public luban::CfgBean { static bool deserializeExcelFromJsonMultiRow(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~ExcelFromJsonMultiRow() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::int32 x; ::luban::Vector<::luban::SharedPtr> items; static constexpr int __ID__ = 715335694; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestRow : public luban::CfgBean { static bool deserializeTestRow(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestRow() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x; bool y; ::luban::String z; ::luban::SharedPtr a; ::luban::Vector<::luban::int32> b; static constexpr int __ID__ = -543222164; int getTypeId() const override { return __ID__; } }; } namespace test { struct Test3 : public luban::CfgBean { static bool deserializeTest3(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Test3() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 x; ::luban::int32 y; static constexpr int __ID__ = 638540133; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestScriptableObject : public luban::CfgBean { static bool deserializeTestScriptableObject(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestScriptableObject() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; ::luban::String desc; ::luban::float32 rate; ::luban::int32 num; ::luban::SharedPtr v2; ::luban::SharedPtr v3; ::luban::SharedPtr v4; static constexpr int __ID__ = -1896814350; int getTypeId() const override { return __ID__; } }; } namespace test { struct TestMapper : public luban::CfgBean { static bool deserializeTestMapper(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~TestMapper() {} bool deserialize(::luban::ByteBuf& _buf); ::luban::int32 id; AudioType audioType; ::luban::SharedPtr v2; static constexpr int __ID__ = 149110895; int getTypeId() const override { return __ID__; } }; } struct DefineFromExcel2 : public luban::CfgBean { static bool deserializeDefineFromExcel2(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~DefineFromExcel2() {} bool deserialize(::luban::ByteBuf& _buf); /** * 这是id */ ::luban::int32 id; /** * 字段x1 */ bool x1; ::luban::int64 x5; ::luban::float32 x6; ::luban::int32 x8; ::luban::String x10; test::DemoEnum x13; test::DemoFlag x132; ::luban::SharedPtr x14; ::luban::SharedPtr x15; ::luban::SharedPtr v2; ::luban::datetime t1; ::luban::Array<::luban::int32> k1; ::luban::Array<::luban::int32> k2; ::luban::HashMap<::luban::int32, ::luban::int32> k8; ::luban::Vector<::luban::SharedPtr> k9; ::luban::Vector<::luban::SharedPtr> k10; ::luban::Vector<::luban::SharedPtr> k11; static constexpr int __ID__ = 482045152; int getTypeId() const override { return __ID__; } }; namespace test { struct Shape : public luban::CfgBean { static bool deserializeShape(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Shape() {} bool deserialize(::luban::ByteBuf& _buf); }; } namespace test { /** * 圆 */ struct Circle : public test::Shape { static bool deserializeCircle(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Circle() {} bool deserialize(::luban::ByteBuf& _buf); /** * 半径 */ ::luban::float32 radius; static constexpr int __ID__ = 2131829196; int getTypeId() const override { return __ID__; } }; } namespace test2 { /** * 矩形 */ struct Rectangle : public test::Shape { static bool deserializeRectangle(::luban::ByteBuf& _buf, ::luban::SharedPtr& _out); virtual ~Rectangle() {} bool deserialize(::luban::ByteBuf& _buf); /** * 宽度 */ ::luban::float32 width; /** * 高度 */ ::luban::float32 height; static constexpr int __ID__ = 694982337; int getTypeId() const override { return __ID__; } }; } namespace ai { class TbBlackboard { private: ::luban::HashMap<::luban::String, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!ai::Blackboard::deserializeBlackboard(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->name] = _v; } return true; } const ::luban::HashMap<::luban::String, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } ai::Blackboard* getRaw(::luban::String key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::String key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace ai { class TbBehaviorTree { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!ai::BehaviorTree::deserializeBehaviorTree(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } ai::BehaviorTree* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace common { class TbGlobalConfig { private: ::luban::SharedPtr _data; public: ::luban::SharedPtr data() const { return _data; } bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; if (n != 1) return false; if(!common::GlobalConfig::deserializeGlobalConfig(_buf, _data)) return false; return true; } /** * 背包容量 */ ::luban::int32& getX1() const { return _data->x1; } ::luban::int32& getX2() const { return _data->x2; } ::luban::int32& getX3() const { return _data->x3; } ::luban::int32& getX4() const { return _data->x4; } ::luban::int32& getX5() const { return _data->x5; } ::luban::int32& getX6() const { return _data->x6; } ::luban::Vector<::luban::int32>& getX7() const { return _data->x7; } }; } namespace item { /** * 道具表 */ class TbItem { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!item::Item::deserializeItem(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } item::Item* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace l10n { class TbL10NDemo { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!l10n::L10NDemo::deserializeL10NDemo(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } l10n::L10NDemo* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace l10n { class TbPatchDemo { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!l10n::PatchDemo::deserializePatchDemo(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } l10n::PatchDemo* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace tag { class TbTestTag { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!tag::TestTag::deserializeTestTag(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } tag::TestTag* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbFullTypes { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::DemoType2::deserializeDemoType2(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->x4] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::DemoType2* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbSingleton { private: ::luban::SharedPtr _data; public: ::luban::SharedPtr data() const { return _data; } bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; if (n != 1) return false; if(!test::DemoSingletonType::deserializeDemoSingletonType(_buf, _data)) return false; return true; } ::luban::int32& getId() const { return _data->id; } ::luban::String& getName() const { return _data->name; } ::luban::SharedPtr& getDate() const { return _data->date; } }; } namespace test { class TbNotIndexList { private: ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::NotIndexList::deserializeNotIndexList(_buf, _v)) return false; _dataList.push_back(_v); } return true; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::NotIndexList* getRaw(size_t index) const { return _dataList[index].get(); } ::luban::SharedPtr get(size_t index) const { return _dataList[index]; } }; } namespace test { class TbMultiUnionIndexList { private: ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::MultiUnionIndexList::deserializeMultiUnionIndexList(_buf, _v)) return false; _dataList.push_back(_v); } return true; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } }; } namespace test { class TbMultiIndexList { private: ::luban::Vector<::luban::SharedPtr> _dataList; ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap_id1; ::luban::HashMap<::luban::int64, ::luban::SharedPtr> _dataMap_id2; ::luban::HashMap<::luban::String, ::luban::SharedPtr> _dataMap_id3; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::MultiIndexList::deserializeMultiIndexList(_buf, _v)) return false; _dataList.push_back(_v); _dataMap_id1[_v->id1] = _v; _dataMap_id2[_v->id2] = _v; _dataMap_id3[_v->id3] = _v; } return true; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMapByid1() { return _dataMap_id1; } test::MultiIndexList* getRawByid1(::luban::int32 key) { auto it = _dataMap_id1.find(key); return it != _dataMap_id1.end() ? it->second.get() : nullptr; } ::luban::SharedPtr getByid1(::luban::int32 key) { auto it = _dataMap_id1.find(key); return it != _dataMap_id1.end() ? it->second : nullptr; } ::luban::HashMap<::luban::int64, ::luban::SharedPtr>& getDataMapByid2() { return _dataMap_id2; } test::MultiIndexList* getRawByid2(::luban::int64 key) { auto it = _dataMap_id2.find(key); return it != _dataMap_id2.end() ? it->second.get() : nullptr; } ::luban::SharedPtr getByid2(::luban::int64 key) { auto it = _dataMap_id2.find(key); return it != _dataMap_id2.end() ? it->second : nullptr; } ::luban::HashMap<::luban::String, ::luban::SharedPtr>& getDataMapByid3() { return _dataMap_id3; } test::MultiIndexList* getRawByid3(::luban::String key) { auto it = _dataMap_id3.find(key); return it != _dataMap_id3.end() ? it->second.get() : nullptr; } ::luban::SharedPtr getByid3(::luban::String key) { auto it = _dataMap_id3.find(key); return it != _dataMap_id3.end() ? it->second : nullptr; } }; } namespace test { class TbDataFromMisc { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::DemoType2::deserializeDemoType2(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->x4] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::DemoType2* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbMultiRowRecord { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::MultiRowRecord::deserializeMultiRowRecord(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::MultiRowRecord* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestMultiColumn { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestMultiColumn::deserializeTestMultiColumn(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestMultiColumn* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbMultiRowTitle { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::MultiRowTitle::deserializeMultiRowTitle(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::MultiRowTitle* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestNull { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestNull::deserializeTestNull(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestNull* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbDemoPrimitive { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::DemoPrimitiveTypesTable::deserializeDemoPrimitiveTypesTable(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->x4] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::DemoPrimitiveTypesTable* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestString { private: ::luban::HashMap<::luban::String, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestString::deserializeTestString(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::String, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestString* getRaw(::luban::String key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::String key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbDemoGroup { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::DemoGroup::deserializeDemoGroup(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::DemoGroup* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestGlobal { private: ::luban::SharedPtr _data; public: ::luban::SharedPtr data() const { return _data; } bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; if (n != 1) return false; if(!test::TestGlobal::deserializeTestGlobal(_buf, _data)) return false; return true; } ::luban::int32& getUnlockEquip() const { return _data->unlockEquip; } ::luban::int32& getUnlockHero() const { return _data->unlockHero; } }; } namespace test { class TbTestBeRef { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestBeRef::deserializeTestBeRef(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestBeRef* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestBeRef2 { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestBeRef::deserializeTestBeRef(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestBeRef* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestRef { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestRef::deserializeTestRef(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestRef* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestSize { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestSize::deserializeTestSize(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestSize* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestSet { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestSet::deserializeTestSet(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestSet* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbDetectCsvEncoding { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::DetectEncoding::deserializeDetectEncoding(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::DetectEncoding* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbItem2 { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::ItemBase::deserializeItemBase(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::ItemBase* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestIndex { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestIndex::deserializeTestIndex(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestIndex* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestMap { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestMap::deserializeTestMap(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestMap* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbExcelFromJson { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::ExcelFromJson::deserializeExcelFromJson(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->x4] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::ExcelFromJson* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbCompositeJsonTable1 { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::CompositeJsonTable1::deserializeCompositeJsonTable1(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::CompositeJsonTable1* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbCompositeJsonTable2 { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::CompositeJsonTable2::deserializeCompositeJsonTable2(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::CompositeJsonTable2* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbCompositeJsonTable3 { private: ::luban::SharedPtr _data; public: ::luban::SharedPtr data() const { return _data; } bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; if (n != 1) return false; if(!test::CompositeJsonTable3::deserializeCompositeJsonTable3(_buf, _data)) return false; return true; } ::luban::int32& getA() const { return _data->a; } ::luban::int32& getB() const { return _data->b; } }; } namespace test { class TbExcelFromJsonMultiRow { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::ExcelFromJsonMultiRow::deserializeExcelFromJsonMultiRow(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::ExcelFromJsonMultiRow* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestScriptableObject { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestScriptableObject::deserializeTestScriptableObject(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestScriptableObject* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbTestMapper { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!test::TestMapper::deserializeTestMapper(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } test::TestMapper* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } namespace test { class TbDefineFromExcel2 { private: ::luban::HashMap<::luban::int32, ::luban::SharedPtr> _dataMap; ::luban::Vector<::luban::SharedPtr> _dataList; public: bool load(::luban::ByteBuf& _buf) { int n; if (!_buf.readSize(n)) return false; for(; n > 0 ; --n) { ::luban::SharedPtr _v; if(!DefineFromExcel2::deserializeDefineFromExcel2(_buf, _v)) return false; _dataList.push_back(_v); _dataMap[_v->id] = _v; } return true; } const ::luban::HashMap<::luban::int32, ::luban::SharedPtr>& getDataMap() const { return _dataMap; } const ::luban::Vector<::luban::SharedPtr>& getDataList() const { return _dataList; } DefineFromExcel2* getRaw(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second.get() : nullptr; } ::luban::SharedPtr get(::luban::int32 key) { auto it = _dataMap.find(key); return it != _dataMap.end() ? it->second : nullptr; } }; } class Tables { public: ai::TbBlackboard TbBlackboard; ai::TbBehaviorTree TbBehaviorTree; common::TbGlobalConfig TbGlobalConfig; /** * 道具表 */ item::TbItem TbItem; l10n::TbL10NDemo TbL10NDemo; l10n::TbPatchDemo TbPatchDemo; tag::TbTestTag TbTestTag; test::TbFullTypes TbFullTypes; test::TbSingleton TbSingleton; test::TbNotIndexList TbNotIndexList; test::TbMultiUnionIndexList TbMultiUnionIndexList; test::TbMultiIndexList TbMultiIndexList; test::TbDataFromMisc TbDataFromMisc; test::TbMultiRowRecord TbMultiRowRecord; test::TbTestMultiColumn TbTestMultiColumn; test::TbMultiRowTitle TbMultiRowTitle; test::TbTestNull TbTestNull; test::TbDemoPrimitive TbDemoPrimitive; test::TbTestString TbTestString; test::TbDemoGroup TbDemoGroup; test::TbTestGlobal TbTestGlobal; test::TbTestBeRef TbTestBeRef; test::TbTestBeRef2 TbTestBeRef2; test::TbTestRef TbTestRef; test::TbTestSize TbTestSize; test::TbTestSet TbTestSet; test::TbDetectCsvEncoding TbDetectCsvEncoding; test::TbItem2 TbItem2; test::TbTestIndex TbTestIndex; test::TbTestMap TbTestMap; test::TbExcelFromJson TbExcelFromJson; test::TbCompositeJsonTable1 TbCompositeJsonTable1; test::TbCompositeJsonTable2 TbCompositeJsonTable2; test::TbCompositeJsonTable3 TbCompositeJsonTable3; test::TbExcelFromJsonMultiRow TbExcelFromJsonMultiRow; test::TbTestScriptableObject TbTestScriptableObject; test::TbTestMapper TbTestMapper; test::TbDefineFromExcel2 TbDefineFromExcel2; bool load(::luban::Loader<::luban::ByteBuf> loader) { ::luban::ByteBuf buf; buf.clear(); if (!loader(buf, "ai_tbblackboard")) return false; if (!TbBlackboard.load(buf)) return false; buf.clear(); if (!loader(buf, "ai_tbbehaviortree")) return false; if (!TbBehaviorTree.load(buf)) return false; buf.clear(); if (!loader(buf, "common_tbglobalconfig")) return false; if (!TbGlobalConfig.load(buf)) return false; buf.clear(); if (!loader(buf, "item_tbitem")) return false; if (!TbItem.load(buf)) return false; buf.clear(); if (!loader(buf, "l10n_tbl10ndemo")) return false; if (!TbL10NDemo.load(buf)) return false; buf.clear(); if (!loader(buf, "l10n_tbpatchdemo")) return false; if (!TbPatchDemo.load(buf)) return false; buf.clear(); if (!loader(buf, "tag_tbtesttag")) return false; if (!TbTestTag.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbfulltypes")) return false; if (!TbFullTypes.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbsingleton")) return false; if (!TbSingleton.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbnotindexlist")) return false; if (!TbNotIndexList.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbmultiunionindexlist")) return false; if (!TbMultiUnionIndexList.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbmultiindexlist")) return false; if (!TbMultiIndexList.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbdatafrommisc")) return false; if (!TbDataFromMisc.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbmultirowrecord")) return false; if (!TbMultiRowRecord.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestmulticolumn")) return false; if (!TbTestMultiColumn.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbmultirowtitle")) return false; if (!TbMultiRowTitle.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestnull")) return false; if (!TbTestNull.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbdemoprimitive")) return false; if (!TbDemoPrimitive.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbteststring")) return false; if (!TbTestString.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbdemogroup")) return false; if (!TbDemoGroup.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestglobal")) return false; if (!TbTestGlobal.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestberef")) return false; if (!TbTestBeRef.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestberef2")) return false; if (!TbTestBeRef2.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestref")) return false; if (!TbTestRef.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestsize")) return false; if (!TbTestSize.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestset")) return false; if (!TbTestSet.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbdetectcsvencoding")) return false; if (!TbDetectCsvEncoding.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbitem2")) return false; if (!TbItem2.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestindex")) return false; if (!TbTestIndex.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestmap")) return false; if (!TbTestMap.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbexcelfromjson")) return false; if (!TbExcelFromJson.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbcompositejsontable1")) return false; if (!TbCompositeJsonTable1.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbcompositejsontable2")) return false; if (!TbCompositeJsonTable2.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbcompositejsontable3")) return false; if (!TbCompositeJsonTable3.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbexcelfromjsonmultirow")) return false; if (!TbExcelFromJsonMultiRow.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestscriptableobject")) return false; if (!TbTestScriptableObject.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbtestmapper")) return false; if (!TbTestMapper.load(buf)) return false; buf.clear(); if (!loader(buf, "test_tbdefinefromexcel2")) return false; if (!TbDefineFromExcel2.load(buf)) return false; return true; } }; }