database_wiiu

package
v0.0.0-...-1654f0b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptFriendRequestAndReturnFriendInfo

func AcceptFriendRequestAndReturnFriendInfo(friendRequestID uint64) (*friends_wiiu_types.FriendInfo, error)

AcceptFriendRequestAndReturnFriendInfo accepts the given friend reuqest and returns the friend's information

func DeleteFriendRequestAndReturnFriendPID

func DeleteFriendRequestAndReturnFriendPID(friendRequestID uint64) (uint32, error)

DeleteFriendRequestAndReturnFriendPID deletes a given friend request and returns the friend's PID

func GetPIDsByFriendRequestID

func GetPIDsByFriendRequestID(friendRequestID uint64) (uint32, uint32, error)

GetPIDsByFriendRequestID returns the users outgoing friend request

func GetUserBlockList

func GetUserBlockList(pid uint32) ([]*friends_wiiu_types.BlacklistedPrincipal, error)

GetUserBlockList returns a user's blacklist

func GetUserComment

func GetUserComment(pid uint32) (*friends_wiiu_types.Comment, error)

GetUserComment returns a user's comment

func GetUserFriendList

func GetUserFriendList(pid uint32) ([]*friends_wiiu_types.FriendInfo, error)

GetUserFriendList returns a user's friend list

func GetUserFriendPIDs

func GetUserFriendPIDs(pid uint32) ([]uint32, error)

GetUserFriendPIDs returns a user's friend PIDs list

func GetUserFriendRequestsIn

func GetUserFriendRequestsIn(pid uint32) ([]*friends_wiiu_types.FriendRequest, error)

GetUserFriendRequestsIn returns the friend requests received by a user

func GetUserFriendRequestsOut

func GetUserFriendRequestsOut(pid uint32) ([]*friends_wiiu_types.FriendRequest, error)

GetUserFriendRequestsOut returns the friend requests sent by a user

func GetUserNotifications

func GetUserNotifications(pid uint32) []*friends_wiiu_types.PersistentNotification

GetUserNotifications returns notifications for a user

func GetUserPrincipalPreference

func GetUserPrincipalPreference(pid uint32) (*friends_wiiu_types.PrincipalPreference, error)

GetUserPrincipalPreference returns the user preferences

func IsFriendRequestBlocked

func IsFriendRequestBlocked(requesterPID uint32, requestedPID uint32) (bool, error)

IsFriendRequestBlocked determines if a requester PID has blocked a requested PID

func RemoveFriendship

func RemoveFriendship(user1_pid uint32, user2_pid uint32) error

RemoveFriendship removes a user's friend relationship

func SaveFriendRequest

func SaveFriendRequest(senderPID uint32, recipientPID uint32, sentTime uint64, expireTime uint64, message string) (uint64, error)

SaveFriendRequest registers a new friend request

func SetFriendRequestAccepted

func SetFriendRequestAccepted(friendRequestID uint64) error

SetFriendRequestAccepted marks a friend request as accepted

func SetFriendRequestDenied

func SetFriendRequestDenied(friendRequestID uint64) error

SetFriendRequestDenied marks a friend request as denied

func SetFriendRequestReceived

func SetFriendRequestReceived(friendRequestID uint64) error

SetFriendRequestReceived marks a friend request as received

func SetUserBlocked

func SetUserBlocked(blockerPID uint32, blockedPID uint32, titleId uint64, titleVersion uint16) error

SetUserBlocked marks a blocked PID as blocked on a bloker PID block list

func UnsetFriendRequestDenied

func UnsetFriendRequestDenied(friendRequestID uint64) error

UnsetFriendRequestDenied unmarks a friend request as denied

func UnsetUserBlocked

func UnsetUserBlocked(user1_pid uint32, user2_pid uint32) error

UnsetUserBlocked removes a block from a user

func UpdateUserComment

func UpdateUserComment(pid uint32, message string) (uint64, error)

UpdateUserComment updates a user's comment

func UpdateUserLastOnlineTime

func UpdateUserLastOnlineTime(pid uint32, lastOnline *nex.DateTime) error

UpdateUserLastOnlineTime updates a user's last online time

func UpdateUserPrincipalPreference

func UpdateUserPrincipalPreference(pid uint32, principalPreference *friends_wiiu_types.PrincipalPreference) error

UpdateUserPrincipalPreference updates the user preferences

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL