1
This commit is contained in:
parent
3377c1021e
commit
7d5656d946
@ -2116,6 +2116,7 @@ void SandTable::FillMFSandTable(cs::SMUpdate* msg, Human* hum, FrameData* framed
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto sand_table = msg->mutable_sandtable();
|
auto sand_table = msg->mutable_sandtable();
|
||||||
|
sand_table->set_max_human_num(room_->GetRoomMaxPlayerNum());
|
||||||
if (hum->send_sand_table_msg_times <= 0) {
|
if (hum->send_sand_table_msg_times <= 0) {
|
||||||
room_->TraverseHumanList
|
room_->TraverseHumanList
|
||||||
(
|
(
|
||||||
|
@ -1344,6 +1344,7 @@ message MFSandTableMsg
|
|||||||
message MFSandTable
|
message MFSandTable
|
||||||
{
|
{
|
||||||
repeated MFSandTableMsg msgs = 1; //沙盘消息列表
|
repeated MFSandTableMsg msgs = 1; //沙盘消息列表
|
||||||
|
optional int32 max_human_num = 2; //最大人数
|
||||||
}
|
}
|
||||||
|
|
||||||
//对象位置坐标
|
//对象位置坐标
|
||||||
|
Loading…
x
Reference in New Issue
Block a user