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

Unreal Engine Module - Introduction to Multiplayer Session - Overview

Last updated on January 13, 2024

Introduction

Session is the essential part of AccelByte's multiplayer services. Be it Matchmaking, Custom Session, or Party. In this module, you will learn how to implement the basic functionalities of Session to your game. This will prepare you for either Party, Matchmaking, Match Session, or Custom Match multiplayer implementation.

Prerequisites

In order to start on this module, you 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:SESSIONESSENTIALS
    ...

Learning objectives

At the end of this tutorial, you will understand how to:

  • Create a session.
  • Join a session.
  • Send an invitation.
  • Reject an invitation.
  • Leave a session.
Note

The implementations that will be used in this module are the create and leave session, while the rest will be used in later modules.

Preview

At the end of this tutorial, you will get results similar to the images below.

  • Game preview on Create a Session

    Create a Session

  • Game preview on Leave a Session

    Leave a Session

References