MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / DefineConsoleFunction

Function DefineConsoleFunction

Engine/source/app/net/serverQuery.cpp:433–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431//-----------------------------------------------------------------------------
432
433DefineConsoleFunction( queryAllServers
434 , void, ( U32 lanPort
435 , U32 flags
436 , const char * gameType
437 , const char * missionType
438 , U32 minPlayers
439 , U32 maxPlayers
440 , U32 maxBots
441 , U32 regionMask
442 , U32 maxPing
443 , U32 minCPU
444 , U32 filterFlags )
445 , , "queryAllServers(...);" )
446{
447 U32 buddyList = 0;
448
449 clearServerList();
450
451 queryMasterServer(flags,gameType,missionType,minPlayers,maxPlayers,
452 maxBots,regionMask,maxPing,minCPU,filterFlags,0,&buddyList);
453
454 queryLanServers(lanPort, flags, gameType, missionType, minPlayers, maxPlayers, maxBots,
455 regionMask, maxPing, minCPU, filterFlags);
456
457}
458
459DefineConsoleFunction( queryLanServers
460 , void, ( U32 lanPort

Callers

nothing calls this directly

Calls 13

clearServerListFunction · 0.85
queryMasterServerFunction · 0.85
queryLanServersFunction · 0.85
cancelServerQueryFunction · 0.85
stopServerQueryFunction · 0.85
processHeartbeatFunction · 0.85
setIntVariableFunction · 0.85
setVariableFunction · 0.85
setBoolVariableFunction · 0.85
isPasswordedMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected