MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Defer

Function Defer

engine/Poseidon/Dev/Debug/DebugOverlay.cpp:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107std::vector<std::function<void()>> s_pendingActions;
108
109void Defer(std::function<void()> action)
110{
111 s_pendingActions.push_back(std::move(action));
112}
113
114// One mutable copy per (slot, role) shown by the tuner. Pulled from the
115// active mapping on first Render() and pushed back to font.cpp via

Callers 7

DrawCheatsTabFunction · 0.85
DrawGameTabFunction · 0.85
DrawConsoleTabFunction · 0.85
DrawMemoryTabFunction · 0.85
AspectReapplyFunction · 0.85
DrawAspectTabFunction · 0.85
DrawMouseTabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected