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

Function postConsoleInput

Engine/source/console/console.cpp:1937–1945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1935}
1936
1937void postConsoleInput( RawData data )
1938{
1939 // Schedule this to happen at the next time event.
1940 ConsoleValue argv[2];
1941 argv[0].setString("eval");
1942 argv[1].setString(reinterpret_cast<const char*>(data.data));
1943
1944 Sim::postCurrentEvent(Sim::getRootGroup(), new SimConsoleEvent(2, argv, false));
1945}
1946
1947//------------------------------------------------------------------------------
1948

Callers

nothing calls this directly

Calls 3

postCurrentEventFunction · 0.85
getRootGroupFunction · 0.85
setStringMethod · 0.45

Tested by

no test coverage detected