MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / DefineEngineFunction

Function DefineEngineFunction

Engine/source/app/net/serverQuery.cpp:432–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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