|
|
|
@ -71,11 +71,7 @@ namespace mtb
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
|
if (!meta_class) {
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("Map", 21, 0);
|
|
|
|
|
=======
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("Map", 29, 0);
|
|
|
|
|
>>>>>>> mm2
|
|
|
|
|
meta_class->SetSimpleField(0, "map_id", a8::reflect::ET_INT32, my_offsetof2(Map, map_id_));
|
|
|
|
|
meta_class->SetSimpleField(1, "template_list", a8::reflect::ET_STRING, my_offsetof2(Map, template_list_));
|
|
|
|
|
meta_class->SetSimpleField(2, "map_name", a8::reflect::ET_STRING, my_offsetof2(Map, map_name_));
|
|
|
|
@ -174,11 +170,7 @@ namespace mtb
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
|
if (!meta_class) {
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("SafeArea", 10, 0);
|
|
|
|
|
=======
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("SafeArea", 11, 0);
|
|
|
|
|
>>>>>>> mm2
|
|
|
|
|
meta_class->SetSimpleField(0, "id", a8::reflect::ET_INT32, my_offsetof2(SafeArea, id_));
|
|
|
|
|
meta_class->SetSimpleField(1, "level", a8::reflect::ET_INT32, my_offsetof2(SafeArea, level_));
|
|
|
|
|
meta_class->SetSimpleField(2, "rad", a8::reflect::ET_INT32, my_offsetof2(SafeArea, rad_));
|
|
|
|
@ -194,12 +186,6 @@ namespace mtb
|
|
|
|
|
return meta_class;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> SafeAreaPos::GetClass() const
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
|
if (!meta_class) {
|
|
|
|
|
=======
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> SafeAreaSafePoint::GetClass() const
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
@ -218,7 +204,6 @@ namespace mtb
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
|
if (!meta_class) {
|
|
|
|
|
>>>>>>> mm2
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("SafeAreaPos", 21, 0);
|
|
|
|
|
meta_class->SetSimpleField(0, "id", a8::reflect::ET_INT32, my_offsetof2(SafeAreaPos, id_));
|
|
|
|
|
meta_class->SetSimpleField(1, "x1", a8::reflect::ET_INT32, my_offsetof2(SafeAreaPos, x1_));
|
|
|
|
@ -342,11 +327,7 @@ namespace mtb
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
|
if (!meta_class) {
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("Hero", 42, 0);
|
|
|
|
|
=======
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("Hero", 43, 0);
|
|
|
|
|
>>>>>>> mm2
|
|
|
|
|
meta_class->SetSimpleField(0, "id", a8::reflect::ET_INT32, my_offsetof2(Hero, id_));
|
|
|
|
|
meta_class->SetSimpleField(1, "radius", a8::reflect::ET_FLOAT, my_offsetof2(Hero, radius_));
|
|
|
|
|
meta_class->SetSimpleField(2, "move_speed", a8::reflect::ET_FLOAT, my_offsetof2(Hero, move_speed_));
|
|
|
|
@ -453,11 +434,7 @@ namespace mtb
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
|
if (!meta_class) {
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("SkillNumber", 21, 0);
|
|
|
|
|
=======
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("SkillNumber", 27, 0);
|
|
|
|
|
>>>>>>> mm2
|
|
|
|
|
meta_class->SetSimpleField(0, "skill_id", a8::reflect::ET_INT32, my_offsetof2(SkillNumber, skill_id_));
|
|
|
|
|
meta_class->SetSimpleField(1, "skill_type", a8::reflect::ET_INT32, my_offsetof2(SkillNumber, skill_type_));
|
|
|
|
|
meta_class->SetSimpleField(2, "number", a8::reflect::ET_FLOAT, my_offsetof2(SkillNumber, number_));
|
|
|
|
@ -493,11 +470,7 @@ namespace mtb
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
|
if (!meta_class) {
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("NpcStandard", 5, 0);
|
|
|
|
|
=======
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("NpcStandard", 7, 0);
|
|
|
|
|
>>>>>>> mm2
|
|
|
|
|
meta_class->SetSimpleField(0, "id", a8::reflect::ET_INT32, my_offsetof2(NpcStandard, id_));
|
|
|
|
|
meta_class->SetSimpleField(1, "quality", a8::reflect::ET_INT32, my_offsetof2(NpcStandard, quality_));
|
|
|
|
|
meta_class->SetSimpleField(2, "hp", a8::reflect::ET_INT32, my_offsetof2(NpcStandard, hp_));
|
|
|
|
@ -513,11 +486,7 @@ namespace mtb
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<a8::reflect::Class> meta_class = nullptr;
|
|
|
|
|
if (!meta_class) {
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("Buff", 36, 0);
|
|
|
|
|
=======
|
|
|
|
|
meta_class = std::make_shared<a8::reflect::Class>("Buff", 38, 0);
|
|
|
|
|
>>>>>>> mm2
|
|
|
|
|
meta_class->SetSimpleField(0, "buff_id", a8::reflect::ET_INT32, my_offsetof2(Buff, buff_id_));
|
|
|
|
|
meta_class->SetSimpleField(1, "name", a8::reflect::ET_STRING, my_offsetof2(Buff, name_));
|
|
|
|
|
meta_class->SetSimpleField(2, "buff_target", a8::reflect::ET_INT32, my_offsetof2(Buff, buff_target_));
|
|
|
|
@ -529,33 +498,6 @@ namespace mtb
|
|
|
|
|
meta_class->SetSimpleField(8, "buff_param4", a8::reflect::ET_STRING, my_offsetof2(Buff, buff_param4_));
|
|
|
|
|
meta_class->SetSimpleField(9, "buff_param5", a8::reflect::ET_STRING, my_offsetof2(Buff, buff_param5_));
|
|
|
|
|
meta_class->SetSimpleField(10, "buff_param6", a8::reflect::ET_STRING, my_offsetof2(Buff, buff_param6_));
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
meta_class->SetSimpleField(11, "duration_time", a8::reflect::ET_STRING, my_offsetof2(Buff, duration_time_));
|
|
|
|
|
meta_class->SetSimpleField(12, "buff_valueup", a8::reflect::ET_FLOAT, my_offsetof2(Buff, buff_valueup_));
|
|
|
|
|
meta_class->SetSimpleField(13, "immune_buffeffect_list", a8::reflect::ET_STRING, my_offsetof2(Buff, immune_buffeffect_list_));
|
|
|
|
|
meta_class->SetSimpleField(14, "post_remove_action", a8::reflect::ET_STRING, my_offsetof2(Buff, post_remove_action_));
|
|
|
|
|
meta_class->SetSimpleField(15, "only_server", a8::reflect::ET_INT32, my_offsetof2(Buff, only_server_));
|
|
|
|
|
meta_class->SetSimpleField(16, "only_self", a8::reflect::ET_INT32, my_offsetof2(Buff, only_self_));
|
|
|
|
|
meta_class->SetSimpleField(17, "depend_effect", a8::reflect::ET_INT32, my_offsetof2(Buff, depend_effect_));
|
|
|
|
|
meta_class->SetSimpleField(18, "child_buff", a8::reflect::ET_STRING, my_offsetof2(Buff, child_buff_));
|
|
|
|
|
meta_class->SetSimpleField(19, "coexist_num", a8::reflect::ET_INT32, my_offsetof2(Buff, coexist_num_));
|
|
|
|
|
meta_class->SetSimpleField(20, "dead_valid", a8::reflect::ET_INT32, my_offsetof2(Buff, dead_valid_));
|
|
|
|
|
meta_class->SetSimpleField(21, "buff_interval", a8::reflect::ET_STRING, my_offsetof2(Buff, buff_interval_));
|
|
|
|
|
meta_class->SetSimpleField(22, "tag", a8::reflect::ET_STRING, my_offsetof2(Buff, tag_));
|
|
|
|
|
meta_class->SetSimpleField(23, "post_battle_valid", a8::reflect::ET_INT32, my_offsetof2(Buff, post_battle_valid_));
|
|
|
|
|
meta_class->SetSimpleField(24, "only_spec_race", a8::reflect::ET_STRING, my_offsetof2(Buff, only_spec_race_));
|
|
|
|
|
meta_class->SetSimpleField(25, "exclude_spec_race", a8::reflect::ET_STRING, my_offsetof2(Buff, exclude_spec_race_));
|
|
|
|
|
meta_class->SetSimpleField(26, "dead_remove", a8::reflect::ET_INT32, my_offsetof2(Buff, dead_remove_));
|
|
|
|
|
meta_class->SetSimpleField(27, "no_immune", a8::reflect::ET_INT32, my_offsetof2(Buff, no_immune_));
|
|
|
|
|
meta_class->SetSimpleField(28, "lock_move", a8::reflect::ET_INT32, my_offsetof2(Buff, lock_move_));
|
|
|
|
|
meta_class->SetSimpleField(29, "lock_dir", a8::reflect::ET_INT32, my_offsetof2(Buff, lock_dir_));
|
|
|
|
|
meta_class->SetSimpleField(30, "lock_move_dir", a8::reflect::ET_INT32, my_offsetof2(Buff, lock_move_dir_));
|
|
|
|
|
meta_class->SetSimpleField(31, "disable_shot", a8::reflect::ET_INT32, my_offsetof2(Buff, disable_shot_));
|
|
|
|
|
meta_class->SetSimpleField(32, "disable_useskill", a8::reflect::ET_INT32, my_offsetof2(Buff, disable_useskill_));
|
|
|
|
|
meta_class->SetSimpleField(33, "effect_list", a8::reflect::ET_STRING, my_offsetof2(Buff, effect_list_));
|
|
|
|
|
meta_class->SetSimpleField(34, "res_scale", a8::reflect::ET_STRING, my_offsetof2(Buff, res_scale_));
|
|
|
|
|
meta_class->SetSimpleField(35, "tenacity", a8::reflect::ET_INT32, my_offsetof2(Buff, tenacity_));
|
|
|
|
|
=======
|
|
|
|
|
meta_class->SetSimpleField(11, "buff_param7", a8::reflect::ET_STRING, my_offsetof2(Buff, buff_param7_));
|
|
|
|
|
meta_class->SetSimpleField(12, "buff_param8", a8::reflect::ET_STRING, my_offsetof2(Buff, buff_param8_));
|
|
|
|
|
meta_class->SetSimpleField(13, "duration_time", a8::reflect::ET_STRING, my_offsetof2(Buff, duration_time_));
|
|
|
|
@ -583,7 +525,6 @@ namespace mtb
|
|
|
|
|
meta_class->SetSimpleField(35, "effect_list", a8::reflect::ET_STRING, my_offsetof2(Buff, effect_list_));
|
|
|
|
|
meta_class->SetSimpleField(36, "res_scale", a8::reflect::ET_STRING, my_offsetof2(Buff, res_scale_));
|
|
|
|
|
meta_class->SetSimpleField(37, "tenacity", a8::reflect::ET_INT32, my_offsetof2(Buff, tenacity_));
|
|
|
|
|
>>>>>>> mm2
|
|
|
|
|
}
|
|
|
|
|
return meta_class;
|
|
|
|
|
}
|
|
|
|
|