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

Function isEventPending

Engine/source/console/simManager.cpp:188–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186// event pending test
187
188bool isEventPending(U32 eventSequence)
189{
190 Mutex::lockMutex(gEventQueueMutex);
191
192 for(SimEvent *walk = gEventQueue; walk; walk = walk->nextEvent)
193 if(walk->sequenceCount == eventSequence)
194 {
195 Mutex::unlockMutex(gEventQueueMutex);
196 return true;
197 }
198 Mutex::unlockMutex(gEventQueueMutex);
199 return false;
200}
201
202U32 getEventTimeLeft(U32 eventSequence)
203{

Callers 3

DefineEngineFunctionFunction · 0.85
scheduleUpdateMethod · 0.85
on3DMouseDraggedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected