MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetGameByHandle

Function GetGameByHandle

netcon/mtclient/mtclient.cpp:474–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472void AutoLoginAndStartGame();
473
474int GetGameByHandle(uint32_t handle) {
475 int j;
476 for (j = 0; j < *DLLNum_network_games_known; j++) {
477 if (DLLNetwork_games[j].handle == handle) {
478 return j;
479 }
480 }
481 return -1;
482}
483
484int GetPXOItemByHandle(uint32_t handle) {
485 for (int i = 0; i < MAX_GAMELIST_ITEMS; i++) {

Callers 2

GetGameByLBNoFunction · 0.85
UpdateGamelistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected