📅  最后修改于: 2022-03-11 14:44:56.599000             🧑  作者: Mango
#include
...
// parse a Steam ID in "SteamID3" format.
SteamID steamid( "[U:1:108998443]", SteamID::Formats::STEAMID3 );
// print it in SteamID32 format
std::cout << steamid[ SteamID::Formats::STEAMID32 ];
// (prints "STEAM_1:1:54499221")