diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index a693cdf2..7644458e 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -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 diff --git a/Content/DedicatedServers/Data/DA_GameSessionsAPIData.uasset b/Content/DedicatedServers/Data/DA_GameSessionsAPIData.uasset index a1b881ef..4139c74b 100644 Binary files a/Content/DedicatedServers/Data/DA_GameSessionsAPIData.uasset and b/Content/DedicatedServers/Data/DA_GameSessionsAPIData.uasset differ diff --git a/Content/DedicatedServers/Portal/BP_PortalManager.uasset b/Content/DedicatedServers/Portal/BP_PortalManager.uasset index 485b3f09..60b77507 100644 Binary files a/Content/DedicatedServers/Portal/BP_PortalManager.uasset and b/Content/DedicatedServers/Portal/BP_PortalManager.uasset differ diff --git a/Source/DedicatedServers/Private/Game/DS_GameMode.cpp b/Source/DedicatedServers/Private/Game/DS_GameMode.cpp index 222c3332..7fbfd44b 100644 --- a/Source/DedicatedServers/Private/Game/DS_GameMode.cpp +++ b/Source/DedicatedServers/Private/Game/DS_GameMode.cpp @@ -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(); diff --git a/Source/DedicatedServers/Private/GameplayTags/DedicatedServerTags.cpp b/Source/DedicatedServers/Private/GameplayTags/DedicatedServerTags.cpp index 3d1818ea..78484a4d 100644 --- a/Source/DedicatedServers/Private/GameplayTags/DedicatedServerTags.cpp +++ b/Source/DedicatedServers/Private/GameplayTags/DedicatedServerTags.cpp @@ -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.") + } } \ No newline at end of file diff --git a/Source/DedicatedServers/Public/GameplayTags/DedicatedServerTags.h b/Source/DedicatedServers/Public/GameplayTags/DedicatedServerTags.h index 7824d30f..aa1dcced 100644 --- a/Source/DedicatedServers/Public/GameplayTags/DedicatedServerTags.h +++ b/Source/DedicatedServers/Public/GameplayTags/DedicatedServerTags.h @@ -8,5 +8,6 @@ namespace DedicatedServersTags namespace GameSessionsAPI { UE_DECLARE_GAMEPLAY_TAG_EXTERN(ListFleets); + UE_DECLARE_GAMEPLAY_TAG_EXTERN(FindOrCreateGameSession) } } \ No newline at end of file