![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 |
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.
|
protectedvirtual |
Delegate called when EndSession has completed
| InSessionName | name of session involved |
| bWasSuccessful | true if the call was successful, false otherwise |
|
protectedvirtual |
Delegate called when StartSession has completed
| InSessionName | name of session involved |
| bWasSuccessful | true if the call was successful, false otherwise |
PostReloadConfig override to reapply config property overrides.