/// <summary> /// Gets the persona name of a friend. /// </summary> /// <param name="steamId">The steam id.</param> /// <returns>The name.</returns> public string GetFriendPersonaName(SteamID steamId) { if (steamId == null) { throw new ArgumentNullException(nameof(steamId)); } return(cache.GetUser(steamId).Name); }
/// <summary> /// Gets the persona name of a friend. /// </summary> /// <param name="steamId">The steam id.</param> /// <returns>The name.</returns> public string GetFriendPersonaName(SteamID steamId) { return(cache.GetUser(steamId).Name); }