MCPcopy Create free account
hub / github.com/ddnet/ddnet / Find

Method Find

src/engine/client/serverbrowser.cpp:683–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683CServerBrowser::CServerEntry *CServerBrowser::Find(const NETADDR &Addr)
684{
685 auto Entry = m_ByAddr.find(Addr);
686 if(Entry == m_ByAddr.end())
687 {
688 return nullptr;
689 }
690 return m_vpServerlist[Entry->second];
691}
692
693void CServerBrowser::QueueRequest(CServerEntry *pEntry)
694{

Callers 1

ProcessServerInfoMethod · 0.45

Calls 1

endMethod · 0.80

Tested by

no test coverage detected