MCPcopy Create free account
hub / github.com/Svxy/The-Simpsons-Hit-and-Run / ExecuteScriptSync

Method ExecuteScriptSync

game/code/console/console.cpp:2168–2176  ·  view source on GitHub ↗

============================================================================== Console::ExecuteScriptSync ============================================================================== Description: Parameters: Return: ==============================================================================

Source from the content-addressed store, hash-verified

2166//
2167//==============================================================================
2168void Console::ExecuteScriptSync( const char* filename, bool reload )
2169{
2170#if PROFILE_PARSER
2171float curTime = GameManager::GetRealTime();
2172GetConsole()->Printf("Console loading script file %s\n", filename);
2173#endif
2174
2175 GetLoadingManager()->LoadSync( FILEHANDLER_CONSOLE, filename );
2176}
2177
2178
2179//==============================================================================

Callers 2

cConsoleExecFunction · 0.80
LoadScriptMethod · 0.80

Calls 4

GetConsoleFunction · 0.85
GetLoadingManagerFunction · 0.85
PrintfMethod · 0.80
LoadSyncMethod · 0.80

Tested by

no test coverage detected