| 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 | { |