MCPcopy Create free account
hub / github.com/Soreepeong/XivAlexander / ResolveGameOpcodeConfigPath

Method ResolveGameOpcodeConfigPath

XivAlexander/Config.cpp:259–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259std::filesystem::path XivAlexander::Config::InitRepository::ResolveGameOpcodeConfigPath() {
260 const auto gameReleaseInfo = Misc::GameInstallationDetector::GetGameReleaseInfo();
261 return ResolveConfigStorageDirectoryPath() / std::format(L"game.{}.{}.json", gameReleaseInfo.CountryCode, gameReleaseInfo.PathSafeGameVersion);
262}
263
264std::filesystem::path XivAlexander::Config::TranslatePath(const std::filesystem::path & path, const std::filesystem::path & relativeTo) {
265 return Utils::Win32::TranslatePath(path, relativeTo.empty() ? Dll::Module().PathOf().parent_path() : relativeTo);

Callers 1

ConfigMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected