social / pragma.friend / FriendService / unblockV1 /

unblockV1 #

suspend fun unblockV1(session: PlayerSession, request: FriendRpc.UnblockV1Request): FriendRpc.UnblockV1Response

Prevents a player from receiving invites from the blocked player. Friendship status and pending friend invites between the two players will be removed.

Notifies both players if friendship was removed.

Returns a result string in the response message. See FriendResultStatus for all values.

  • FriendResultStatus.Ok - Success.
  • FriendResultStatus.SocialIdentityNotFound - The player being blocked could not be retrieved.
  • FriendResultStatus.FriendNotFound - The players were friends and the friend entry cannot be found.