MCPcopy Create free account
hub / github.com/PlayFab/gsdk / getSharedContentDirectory

Method getSharedContentDirectory

cpp/cppsdk/gsdk.cpp:585–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 }
584
585 std::string GSDK::getSharedContentDirectory()
586 {
587 std::lock_guard<std::mutex> lock(GSDKInternal::get().m_configMutex);
588
589 const std::unordered_map<std::string, std::string>& config = GSDKInternal::get().m_configSettings;
590
591 auto it = config.find(GSDK::SHARED_CONTENT_FOLDER_KEY);
592
593 if (it == config.end())
594 {
595 return "";
596 }
597 else
598 {
599 return it->second;
600 }
601 }
602
603 const std::vector<std::string>& GSDK::getInitialPlayers()
604 {

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected