MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ExecuteScript

Method ExecuteScript

ogsr_engine/xr_3da/XR_IOConsole.cpp:752–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752void CConsole::ExecuteScript(LPCSTR str)
753{
754 string_path cmd;
755 xr_strconcat(cmd, "cfg_load ", str);
756 Execute(cmd);
757
758 if (g_console_show_always)
759 Device.seqRender.Add(this, 1);
760}
761
762// -------------------------------------------------------------------------------------------------
763

Callers 1

execUserScriptFunction · 0.80

Calls 3

xr_strconcatFunction · 0.85
ExecuteFunction · 0.70
AddMethod · 0.45

Tested by

no test coverage detected