Example #1
0
        public bool TryGetFriendDetails(SteamID userID, out FriendDetails friend)
        {
            if (friends.ContainsKey(userID))
            {
                friend = friends[userID];
                return(true);
            }

            friend = default(FriendDetails);
            return(false);
        }
Example #2
0
 public bool TryGetFriendDetails(SteamID userID, out FriendDetails friend)
 => eventHandler.TryGetFriendDetails(userID, out friend);