MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SortNetworkGameList

Method SortNetworkGameList

src/network/network_gui.cpp:320–323  ·  view source on GitHub ↗

Sort the server list */

Source from the content-addressed store, hash-verified

318
319 /** Sort the server list */
320 void SortNetworkGameList()
321 {
322 if (this->servers.Sort()) this->UpdateListPos();
323 }
324
325 /** Set this->list_pos to match this->server */
326 void UpdateListPos()

Callers 2

OnPaintMethod · 0.95
OnClickMethod · 0.95

Calls 2

UpdateListPosMethod · 0.95
SortMethod · 0.45

Tested by

no test coverage detected