public static string UlongToSteamIdText(ulong steamId)
{
ulong steamIdUlong = steamId;
Universe universe = (Universe)Convert.ToInt32(steamIdUlong >> 56);
if (universe == Universe.Public) universe = Universe.Invalid; //legacy, actually is valid.
ulong accountIdHighBits = (steamIdUlong >> 1) & 0x7FFFFFF;
ulong accountIdLowBit = steamIdUlong & 1;
return string.Format(BaseTextId, (int)universe, accountIdLowBit, accountIdHighBits);
}