mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-06-01 04:52:21 -05:00
29 lines
848 B
Go
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{}
|
|
}
|