Find of Create Game Session Endpoint

This commit is contained in:
Norman Lansing
2026-04-01 22:06:13 -04:00
parent 2d8de0369c
commit 8f916c855b
6 changed files with 6 additions and 1 deletions

View File

@@ -46,4 +46,6 @@ SoundCueCookQualityIndex=-1
[/Script/EngineSettings.GameMapsSettings]
EditorStartupMap=/Game/Maps/StartupMap.StartupMap
GameDefaultMap=/Game/Maps/StartupMap.StartupMap
GlobalDefaultGameMode=/Script/FPSTemplate.ShooterGameModeBase
GlobalDefaultServerGameMode=/Script/FPSTemplate.ShooterGameModeBase

View File

@@ -33,7 +33,7 @@ void ADS_GameMode::BeginPlay()
void ADS_GameMode::InitGame(const FString& MapName, const FString& Options, FString& ErrorMessage)
{
Super::InitGame(MapName, Options, ErrorMessage);
UE_LOGFMT(LogTemp, Error, "We got into InitGame of ADS_GameMode");
#if WITH_GAMELIFT
CachedCommandLine = FCommandLine::Get();

View File

@@ -5,5 +5,7 @@ namespace DedicatedServersTags
namespace GameSessionsAPI
{
UE_DEFINE_GAMEPLAY_TAG_COMMENT(ListFleets, "DedicatedServersTags.GameSessionsAPI.ListFleets", "List Fleets resource on the GameSessions API")
UE_DEFINE_GAMEPLAY_TAG_COMMENT(FindOrCreateGameSession, "DedicatedServersTags.GameSessionsAPI.FindOrCreateGameSession", "Retrieves an active game session, creating one if one doesn't exist.")
}
}

View File

@@ -8,5 +8,6 @@ namespace DedicatedServersTags
namespace GameSessionsAPI
{
UE_DECLARE_GAMEPLAY_TAG_EXTERN(ListFleets);
UE_DECLARE_GAMEPLAY_TAG_EXTERN(FindOrCreateGameSession)
}
}