MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / GetThreadOwnerFileName

Method GetThreadOwnerFileName

Source/Client/NM_Engine/ThreadHelper.cpp:290–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290std::string CThread::GetThreadOwnerFileName()
291{
292 auto szFullName = GetThreadOwnerFullName();
293 if (szFullName.empty())
294 return std::string("");
295
296 auto szFileName = g_nmApp->DirFunctionsInstance()->GetNameFromPath(szFullName);
297 if (szFileName.empty())
298 return std::string("");
299
300 return szFileName;
301}
302
303std::shared_ptr <CONTEXT> CThread::GetContext()
304{

Callers

nothing calls this directly

Calls 2

GetNameFromPathMethod · 0.80
DirFunctionsInstanceMethod · 0.80

Tested by

no test coverage detected