Documentation ¶
Index ¶
- func AcceptFriendRequestAndReturnFriendInfo(friendRequestID uint64) (*friends_wiiu_types.FriendInfo, error)
- func DeleteFriendRequestAndReturnFriendPID(friendRequestID uint64) (uint32, error)
- func GetPIDsByFriendRequestID(friendRequestID uint64) (uint32, uint32, error)
- func GetUserBlockList(pid uint32) ([]*friends_wiiu_types.BlacklistedPrincipal, error)
- func GetUserComment(pid uint32) (*friends_wiiu_types.Comment, error)
- func GetUserFriendList(pid uint32) ([]*friends_wiiu_types.FriendInfo, error)
- func GetUserFriendPIDs(pid uint32) ([]uint32, error)
- func GetUserFriendRequestsIn(pid uint32) ([]*friends_wiiu_types.FriendRequest, error)
- func GetUserFriendRequestsOut(pid uint32) ([]*friends_wiiu_types.FriendRequest, error)
- func GetUserNotifications(pid uint32) []*friends_wiiu_types.PersistentNotification
- func GetUserPrincipalPreference(pid uint32) (*friends_wiiu_types.PrincipalPreference, error)
- func IsFriendRequestBlocked(requesterPID uint32, requestedPID uint32) (bool, error)
- func RemoveFriendship(user1_pid uint32, user2_pid uint32) error
- func SaveFriendRequest(senderPID uint32, recipientPID uint32, sentTime uint64, expireTime uint64, ...) (uint64, error)
- func SetFriendRequestAccepted(friendRequestID uint64) error
- func SetFriendRequestDenied(friendRequestID uint64) error
- func SetFriendRequestReceived(friendRequestID uint64) error
- func SetUserBlocked(blockerPID uint32, blockedPID uint32, titleId uint64, titleVersion uint16) error
- func UnsetFriendRequestDenied(friendRequestID uint64) error
- func UnsetUserBlocked(user1_pid uint32, user2_pid uint32) error
- func UpdateUserComment(pid uint32, message string) (uint64, error)
- func UpdateUserLastOnlineTime(pid uint32, lastOnline *nex.DateTime) error
- func UpdateUserPrincipalPreference(pid uint32, principalPreference *friends_wiiu_types.PrincipalPreference) error
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 ¶
DeleteFriendRequestAndReturnFriendPID deletes a given friend request and returns the friend's PID
func GetPIDsByFriendRequestID ¶
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 ¶
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 ¶
IsFriendRequestBlocked determines if a requester PID has blocked a requested PID
func RemoveFriendship ¶
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 ¶
SetFriendRequestAccepted marks a friend request as accepted
func SetFriendRequestDenied ¶
SetFriendRequestDenied marks a friend request as denied
func SetFriendRequestReceived ¶
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 ¶
UnsetFriendRequestDenied unmarks a friend request as denied
func UnsetUserBlocked ¶
UnsetUserBlocked removes a block from a user
func UpdateUserComment ¶
UpdateUserComment updates a user's comment
func UpdateUserLastOnlineTime ¶
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.
Source Files ¶
- accept_friend_request_and_return_friend_info.go
- delete_friend_request_and_return_friend_pid.go
- get_pids_by_friend_request_id.go
- get_user_block_list.go
- get_user_comment.go
- get_user_friend_list.go
- get_user_friend_pids.go
- get_user_friend_requests_in.go
- get_user_friend_requests_out.go
- get_user_notifications.go
- get_user_principal_preference.go
- is_friend_request_blocked.go
- remove_friendship.go
- save_friend_request.go
- set_friend_request_accepted.go
- set_friend_request_denied.go
- set_friend_request_received.go
- set_user_blocked.go
- unset_friend_request_denied.go
- unset_user_blocked.go
- update_user_comment.go
- update_user_last_online_time.go
- update_user_principal_preference.go