| 692 | } |
| 693 | |
| 694 | String CommandProcessor::list(ConnectionId connectionId, String const&) { |
| 695 | if (auto errorMsg = adminCheck(connectionId, "list clients")) |
| 696 | return *errorMsg; |
| 697 | |
| 698 | StringList res; |
| 699 | |
| 700 | auto assets = Root::singleton().assets(); |
| 701 | for (auto cid : m_universe->clientIds()) |
| 702 | res.append(strf("${} : {} : $${}", cid, m_universe->clientNick(cid), m_universe->uuidForClient(cid)->hex())); |
| 703 | |
| 704 | return res.join("\n"); |
| 705 | } |
| 706 | |
| 707 | String CommandProcessor::clientCoordinate(ConnectionId connectionId, String const& argumentString) { |
| 708 | ConnectionId targetClientId = connectionId; |
no test coverage detected