Overview - Add friends - (Unreal Engine module)
Last updated on October 24, 2024
Introduction
In this module, you will learn how to implement displaying a list of friend requests and accepting, rejecting, or canceling those requests.
Prerequisites
In order to complete this module, you need:
To have completed the following module:
The Byte Wars
tutorialmodules
branch checked out in your local Byte Wars Unreal project repository.To have force enabled this module. You can do this by adding the following code to the
Config/DefaultEngine.ini
file:[AccelByteTutorialModules]
+ForcedEnabledModules=TutorialModule:FRIENDSESSENTIALS
...
Learning objectives
At the end of this module, you will know how to implement:
- Requesting and displaying sent and received friend requests
- Accepting or rejecting received friend requests
- Canceling sent friend requests
Preview
At the end of this module, your project will look like the images below and display the following logs:
Accept Received Friend Request:
LogFriendsEssentials: Warning: Success to accept a friend request.
Reject Received Friend Request:
LogFriendsEssentials: Warning: Success to reject a friend request.
Cancel Sent Friend Request:
LogFriendsEssentials: Warning: Success to cancel a friend request.