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

Function processHeartbeat

Engine/source/app/net/serverQuery.cpp:1441–1447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1439//-----------------------------------------------------------------------------
1440
1441static void processHeartbeat(U32 seq)
1442{
1443 if(seq != gHeartbeatSeq)
1444 return;
1445 sendHeartbeat( 0 );
1446 Sim::postEvent( Sim::getRootGroup(), new HeartbeatEvent(seq), Sim::getCurrentTime() + gHeartbeatInterval );
1447}
1448
1449//-----------------------------------------------------------------------------
1450

Callers 2

processMethod · 0.85
DefineEngineFunctionFunction · 0.85

Calls 4

sendHeartbeatFunction · 0.85
getRootGroupFunction · 0.85
postEventFunction · 0.50
getCurrentTimeFunction · 0.50

Tested by

no test coverage detected