UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AGameSession Class Reference

#include <GameSession.h>

+ Inheritance diagram for AGameSession:

Protected Member Functions

virtual ENGINE_API void OnStartSessionComplete (FName InSessionName, bool bWasSuccessful)
 
virtual ENGINE_API void OnEndSessionComplete (FName InSessionName, bool bWasSuccessful)
 
virtual ENGINE_API void PostReloadConfig (FProperty *PropertyThatWasLoaded) override
 

Detailed Description

Acts as a game-specific wrapper around the session interface. The game code makes calls to this when it needs to interact with the session interface. A game session exists only the server, while running an online game.

Member Function Documentation

◆ OnEndSessionComplete()

void AGameSession::OnEndSessionComplete ( FName  InSessionName,
bool  bWasSuccessful 
)
protectedvirtual

Delegate called when EndSession has completed

Parameters
InSessionNamename of session involved
bWasSuccessfultrue if the call was successful, false otherwise

◆ OnStartSessionComplete()

void AGameSession::OnStartSessionComplete ( FName  InSessionName,
bool  bWasSuccessful 
)
protectedvirtual

Delegate called when StartSession has completed

Parameters
InSessionNamename of session involved
bWasSuccessfultrue if the call was successful, false otherwise

◆ PostReloadConfig()

void AGameSession::PostReloadConfig ( FProperty PropertyThatWasLoaded)
overrideprotectedvirtual

PostReloadConfig override to reapply config property overrides.


The documentation for this class was generated from the following files: