SteamHelper.h
1 #pragma once 2 3 #include "pch.h" 4 5 namespace Utils 6 { 7 namespace NonLocalizable 8 { 9 const std::wstring AcfFileNameTemplate = L"appmanifest_<gameid>.acfs"; 10 } 11 12 namespace Steam 13 { 14 struct SteamGame 15 { 16 std::wstring gameId; 17 std::wstring gameInstallationPath; 18 }; 19 20 std::unique_ptr<SteamGame> GetSteamGameInfoFromAcfFile(const std::wstring& gameId); 21 22 std::wstring GetGameIdFromUrlProtocolPath(const std::wstring& urlPath); 23 } 24 }