mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-04-25 15:36:34 -05:00
29 lines
855 B
Go
29 lines
855 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{}
|
|
}
|