diff --git a/server/gameserver/roommgr.h b/server/gameserver/roommgr.h index dd7a790c..bf7dfbe5 100644 --- a/server/gameserver/roommgr.h +++ b/server/gameserver/roommgr.h @@ -39,6 +39,7 @@ struct RoomInitInfo int pve_instance_id = 0; int pve_human_num = 0; bool is_newbie_room = false; + bool support_sand_table_room = false; const mt::Map* map_meta = nullptr; std::string map_tpl_name; diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index 1ef7f2f6..e1dcf4c8 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -1218,6 +1218,7 @@ message MFSandTableFullMsg optional MFVec3 pos = 2; //位置 optional MFVec3 dir = 3; //朝向 optional int32 hero_id = 4; //人物id + optional int32 team_id = 5; //队伍Id } //沙盘消息-部分信息 @@ -1226,6 +1227,7 @@ message MFSandTablePartMsg optional int32 obj_uniid = 1; //唯一id optional MFVec3 pos = 2; //位置 optional MFVec3 dir = 3; //朝向 + optional int32 team_id = 4; //队伍Id } //沙盘消息-删除对象信息 @@ -1248,12 +1250,14 @@ message MFSandTableMsg 1: 全量信息 2:部分信息 3:删除对象 + 4: 移动到目标点 */ optional int32 msg_id = 1; //消息id optional MFSandTableFullMsg union_obj_1 = 2; optional MFSandTablePartMsg union_obj_2 = 3; optional MFSandTableRemoveObject union_obj_3 = 4; + optional MFSandTableMoveTo union_obj_4 = 5; } //沙盘信息