MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / getServerAt

Method getServerAt

src/game/ServerList.cpp:405–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405ServerItem* ServerList::getServerAt(size_t index) {
406 std::map<std::string, ServerItem>::iterator serverIterator;
407
408 serverIterator = servers.begin();
409 std::advance(serverIterator, index);
410
411 return &((*serverIterator).second);
412}
413
414void ServerList::checkEchos(StartupInfo* info) {
415 startupInfo = info;

Callers 1

executeMethod · 0.80

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected