メインコンテンツまでスキップ

概要 - フレンドを追加する - (Unreal Engine モジュール)

Last updated on October 23, 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:

    Accept a received friend request demo Unreal Byte Wars add friends

    LogFriendsEssentials: Warning: Success to accept a friend request.
  • Reject Received Friend Request:

    Reject a received friend request demo Unreal Byte Wars add friends

    LogFriendsEssentials: Warning: Success to reject a friend request.
  • Cancel Sent Friend Request:

    Cancel sent friend request demo Unreal Byte Wars add friends

    LogFriendsEssentials: Warning: Success to cancel a friend request.