MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / processHeartbeat

Function processHeartbeat

engine/source/network/serverQuery.cc:1292–1298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1290//-----------------------------------------------------------------------------
1291
1292static void processHeartbeat(U32 seq)
1293{
1294 if(seq != gHeartbeatSeq)
1295 return;
1296 sendHeartbeat( 0 );
1297 Sim::postEvent( Sim::getRootGroup(), new HeartbeatEvent(seq), Sim::getCurrentTime() + gHeartbeatInterval );
1298}
1299
1300//-----------------------------------------------------------------------------
1301

Callers 2

processMethod · 0.85
startHeartbeatFunction · 0.85

Calls 4

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

Tested by

no test coverage detected