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

概要 - セッション入門 - (Unreal Engine モジュール)

Last updated on June 12, 2024

Introduction

Session is the foundation for the AccelByte Gaming Services (AGS) multiplayer offerings. In this module, you will learn how to implement the basic functionalities of Session into your game so you can begin adding more robust multiplayer features such as Party, Matchmaking, Match Sessions, or Custom Match.

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:SESSIONESSENTIALS
    ...

Learning objectives

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

  • Creating a session.
  • Joining a session.
  • Sending an invitation to join a session.
  • Rejecting an invitation to join a session.
  • Leaving a session.
注記

While this module covers implementing all of the above features, it will only walk you through testing creating and leaving a session. Tests for joining a session and handling invitations will come in a later module.

Preview

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

  • Create a session

    Create a Session Byte Wars Unreal preview gif

  • Leave a session

    Leave a Session Byte Wars Unreal preview gif