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

概要 - プレイヤーを検索する - (Unreal Engine モジュール)

Last updated on June 12, 2024

Introduction

Finding and making friends is an important part of any online game. In this module, you will learn how to implement searching for potential friends and inviting them to become a friend.

Prerequisites

To complete this module, you will need:

  • To have completed the following module:

  • The Byte Wars tutorialmodules branch checked out in your local Byte Wars Unreal project repository.

  • To force enable this module by adding the following code to the Config/DefaultEngine.ini file:

    [AccelByteTutorialModules]
    +ForcedEnabledModules=TutorialModule:FRIENDSESSENTIALS
    ...

Learning objectives

In this module, you will learn how to implement searching for and display a list of potential friends, and inviting players to become friends.

Preview

At the end of this module, your project will look like the images below.

Find friends and invite friends demo Unreal Byte Wars search players

LogFriendsEssentials: Warning: Success to send a friend request.