MCPcopy Create free account
hub / github.com/Norbyte/ositools / DumpNetworkFixedStrings

Method DumpNetworkFixedStrings

OsiInterface/OsirisProxy.cpp:371–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371void OsirisProxy::DumpNetworkFixedStrings()
372{
373 auto nfs = Libraries.NetworkFixedStrings;
374 if (nfs != nullptr && (*nfs)->Initialized) {
375 auto const & strings = (*nfs)->FixedStrSet.Set;
376
377 auto nfsLogPath = MakeLogFilePath(L"NetworkFixedStrings", L"log");
378 std::ofstream logOut(nfsLogPath.c_str(), std::ios::out);
379 for (uint32_t i = 0; i < strings.Size; i++) {
380 auto str = strings.Buf[i].Str;
381 logOut << (str == nullptr ? "(NULL)" : str) << std::endl;
382 }
383 logOut.close();
384 Debug(L"OsirisProxy::DumpNetworkFixedStrings() - Saved to %s", nfsLogPath.c_str());
385
386
387 } else {
388 Debug("OsirisProxy::DumpNetworkFixedStrings() - Fixed strings not initialized yet");
389 }
390}
391
392bool OsirisProxy::MergeWrapper(std::function<bool (void *, wchar_t *)> const & Next, void * Osiris, wchar_t * Src)
393{

Callers

nothing calls this directly

Calls 1

DebugFunction · 0.85

Tested by

no test coverage detected