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:
parent
c311a69c7b
commit
ab47188b0a
1 changed files with 18 additions and 0 deletions
|
@ -7546,6 +7546,20 @@ console_cmd__room__sounding(opt &out, const string_view &line)
|
||||||
m::twain(room)
|
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]
|
m::sounding(room, [&out]
|
||||||
(const auto &range, const auto &event_idx)
|
(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 << ")"
|
<< " " << m::event_id(surface.second) << " (" << surface.second << ")"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
|
out << "create: " << std::setw(8) << create
|
||||||
|
<< " " << m::event_id(create) << " (" << create << ")"
|
||||||
|
<< std::endl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue