1
This commit is contained in:
parent
cdf552a091
commit
08b9045245
@ -2124,3 +2124,18 @@ void SandTable::FillMFSandTable(cs::SMUpdate* msg, Human* hum, FrameData* framed
|
||||
}
|
||||
++hum->send_sand_table_msg_times;
|
||||
}
|
||||
|
||||
void Room::NotifyNewsTicker(int msg_type, std::vector<std::string> msg_content)
|
||||
{
|
||||
cs::SMNewsTicker notify_msg;
|
||||
notify_msg.set_msg_type(msg_type);
|
||||
for (auto str : msg_content) {
|
||||
notify_msg.mutable_msg_content()->add_values(str);
|
||||
}
|
||||
TraversePlayerList
|
||||
(
|
||||
[¬ify_msg] (Player* hum)
|
||||
{
|
||||
hum->SendNotifyMsg(notify_msg);
|
||||
});
|
||||
}
|
||||
|
@ -3868,8 +3868,3 @@ void Room::CloseRoomSwitch(int tag)
|
||||
{
|
||||
a8::UnSetBitFlag(room_switch_, tag);
|
||||
}
|
||||
|
||||
void Room::NotifyNewsTicker(int msg_type, std::vector<std::string> msg_content)
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user