Skip to main content

Unreal Engine Module - Search Player - Overview

Last updated on January 13, 2024

Introduction

Gaming is a social activity, thus finding and making friends is an important part of any online game. In this module, you will learn how to search for potential friends and invite them to become a friend.

Prerequisites

In order to start on this module you will need to have the following.

  • Complete Module: Login with Device ID.
  • Byte Wars's tutorialmodules branch from our GitHub repository and have configured the SDK.
  • Force enable this module by adding the following code to the Config/DefaultEngine.ini file.
    [AccelByteTutorialModules]
    +ForcedEnabledModules=TutorialModule:FRIENDSESSENTIALS
    ...

Learning Objectives

At the end of this tutorial, you will understand:

  • How to search for and display a list of potential friends.
  • How to invite a potential friend.

Preview

At the end of this tutorial, you will get results similar to the image and log below.

Find friends and invite friends demo

LogFriendsEssentials: Warning: Success to send a friend request.

References