friends/types/friend_user.go
2025-02-15 23:31:32 -05:00

29 lines
848 B
Go

package types
import (
"github.com/PretendoNetwork/nex-go/v2/types"
friends_wiiu_types "github.com/PretendoNetwork/nex-protocols-go/v2/friends-wiiu/types"
)
// FriendUser represents a user connected to the friends server
// Contains data relating only to friends
type FriendUser struct {
NNID string
PID uint32
Comment friends_wiiu_types.Comment
FriendRequestsOut []friends_wiiu_types.FriendRequest
FriendRequestsIn []friends_wiiu_types.FriendRequest
BlockedUsers []friends_wiiu_types.BlacklistedPrincipal
LastOnline types.DateTime
ActiveTitle friends_wiiu_types.GameKey
Notifications []friends_wiiu_types.PersistentNotification
}
func (friendUser *FriendUser) FromPID(pid uint32) {
}
func NewFriendUser() *FriendUser {
return &FriendUser{}
}