func (f *FriendsList) StatusHash(name uint64) bool {
	f.RLock()
	defer f.RUnlock()
	status, ok := f.friendSet[name]
	if ok {
		return status
	}
	return false
}
Status Returns the online status for a given player username hash.
package social
import (
	"sync"
	"github.com/spkaeros/rscgo/pkg/strutil"
)
type friendSet map[uint64]bool
type FriendsList struct {
	sync.RWMutex
	friendSet
	Owner uint64
}
func New() *FriendsList {
	return &FriendsList{friendSet: make(friendSet)}
}
func (f *FriendsList) Contains(name string) bool {
	f.RLock()
	defer f.RUnlock()
	_, ok := f.friendSet[strutil.Base37.Encode(name)]
	return ok
}
func (f *FriendsList) Status(name string) bool {
	f.RLock()
	defer f.RUnlock()
	status, ok := f.friendSet[strutil.Base37.Encode(name)]
	if ok {
		return status
	}
	return false
}