0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

modules/console: More sounding output.

This commit is contained in:
Jason Volk 2019-05-10 00:14:55 -07:00
parent c311a69c7b
commit ab47188b0a

View file

@ -7546,6 +7546,20 @@ console_cmd__room__sounding(opt &out, const string_view &line)
m::twain(room)
};
const auto head
{
m::head_idx(room)
};
const auto create
{
m::room::index(room)
};
out << "head: " << std::setw(8) << surface.first
<< " " << m::event_id(head) << " (" << head << ")"
<< std::endl;
m::sounding(room, [&out]
(const auto &range, const auto &event_idx)
{
@ -7563,6 +7577,10 @@ console_cmd__room__sounding(opt &out, const string_view &line)
<< " " << m::event_id(surface.second) << " (" << surface.second << ")"
<< std::endl;
out << "create: " << std::setw(8) << create
<< " " << m::event_id(create) << " (" << create << ")"
<< std::endl;
return true;
}