func (list *FriendsList) Add(friend Friend) {
	list.mutex.Lock()
	defer list.mutex.Unlock()
	_, exists := list.byId[steamid.SteamId(friend.SteamId)]
	if !exists { //make sure this doesnt already exist
		list.byId[steamid.SteamId(friend.SteamId)] = &friend
	}
}
// Add adds a friend to the friend list
Add adds a friend to the friend list
// Add adds a friend to the friend list
func (list *FriendsList) Add(friend Friend) {
	list.mutex.Lock()
	defer list.mutex.Unlock()
	_, exists := list.byId[steamid.SteamId(friend.SteamId)]
	if !exists { 
		list.byId[steamid.SteamId(friend.SteamId)] = &friend
	}
}
func ( list * FriendsList ) Add ( friend Friend ) { list . mutex . Lock ( ) defer list . mutex . Unlock ( ) _ , exists := list . byId [ steamid . SteamId ( friend . SteamId ) ] if ! exists { list . byId [ steamid . SteamId ( friend . SteamId ) ] = & friend } }
Add adds a friend to the friend list
Add adds a friend to the friend list
//make sure this doesnt already exist