bool FMessageTracer::Tick( float DeltaTime ) { if (ResetPending) { ResetMessages(); ResetPending = false; } // process new traces if (!Traces.IsEmpty()) { TFunction<void()> Trace; while (Traces.Dequeue(Trace)) { Trace(); } } return true; }
bool FMessageTracer::Tick( float DeltaTime ) { if (ResetPending) { ResetMessages(); ResetPending = false; } if (Traces.IsEmpty()) { return false; } // process new traces TraceDelegate Trace; while (Traces.Dequeue(Trace)) { Trace.Execute(); } return true; }