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

概要 - フレンドとプレイする - (Unreal Engine モジュール)

Last updated on June 12, 2024

Introduction

This module will show you how to implement allowing players to invite friends into their current game session.

Prerequisites

In order to complete this module, you need:

  • To have completed one of the following modules:

  • 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:PLAYINGWITHFRIENDS
    ...

Learning objectives

At the end of this module, you will know how to implement:

  • Inviting friends to the current game session
  • Rejecting game session invitations from other players
  • Accepting game session invitations from other players

Preview

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

  • Invite a friend:

    Invite a friend Unreal Byte Wars play with friends

  • Reject an invitation:

    Reject an invitation Unreal Byte Wars play with friends

  • Accept an invitation:

    Accept an invitation Unreal Byte Wars play with friends