From a5bfad07cc4924a2a94003361c65ebc2fcc2201a Mon Sep 17 00:00:00 2001 From: Norman Lansing Date: Sun, 5 Apr 2026 08:02:21 -0400 Subject: [PATCH] Lesson 78 - Create Player Session Endpoint --- .../Data/DA_GameSessionsAPIData.uasset | Bin 2012 -> 2152 bytes .../GameplayTags/DedicatedServerTags.cpp | 1 + .../Public/Data/API/APIData.h | 2 +- .../Public/GameplayTags/DedicatedServerTags.h | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Content/DedicatedServers/Data/DA_GameSessionsAPIData.uasset b/Content/DedicatedServers/Data/DA_GameSessionsAPIData.uasset index 4139c74b391c507fc896a481ce8f1522ee83df61..53d0fcda43338e48e96ab021f8771a21e0153cbf 100644 GIT binary patch delta 728 zcmcb^|3YAbgy;_4O|z2Xv~`MJozK``_l8%x=8RL;MBOkx2?hp+5=I~a1VStmCu&;? zu`n=z1fBzFAYyO_5kL^mil9MiVEkyHI0$!7{Hn|-FLI2(s817zBU<795ka7}XgqCtqjOkZ>+aO)N zo4+0yVo|`*0RfAP7=BW;54CI3{4cAljpMA0{{fyUFiS- delta 637 zcmaDMaEE__glJm)tjb*0pt_Y;?ET%!^mbTB?s%>^Q8$cFoPmL%gb_#p!A0hY6SXZb zGBYrM1eUQdFaQw)8;Ae`F;)Z(QUl{l0mVVsY2sI9M)AptjPjEW7&#_8Fmfmr0)3=|dLQpmb zlm<~Sb)raOf>1VAbwC#iYhsfTgX;PVv8bIC3|vr2pow4rvXB?b1~~%e10=VBWswc-f~sc#Y374+ w*ezkAKpGrQAXyNA1sceRoXp}9-L#z4)RJO^&dKlCC4f=Ck6j%|YI4{E03~%wAOHXW diff --git a/Source/DedicatedServers/Private/GameplayTags/DedicatedServerTags.cpp b/Source/DedicatedServers/Private/GameplayTags/DedicatedServerTags.cpp index 78484a4d..8e812c49 100644 --- a/Source/DedicatedServers/Private/GameplayTags/DedicatedServerTags.cpp +++ b/Source/DedicatedServers/Private/GameplayTags/DedicatedServerTags.cpp @@ -6,6 +6,7 @@ namespace DedicatedServersTags { 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.") + UE_DEFINE_GAMEPLAY_TAG_COMMENT(CreatePlayerSession, "DedicatedServersTags.GameSessionsAPI.CreatePlayerSession", "Creates a new Player Session on the GameSessions API") } } \ No newline at end of file diff --git a/Source/DedicatedServers/Public/Data/API/APIData.h b/Source/DedicatedServers/Public/Data/API/APIData.h index fbbdd96b..36c832d4 100644 --- a/Source/DedicatedServers/Public/Data/API/APIData.h +++ b/Source/DedicatedServers/Public/Data/API/APIData.h @@ -21,7 +21,7 @@ public: protected: - // Name of this API - for labeling in the Data Asset; This is nto used by any code. + // Name of this API - for labeling in the Data Asset; This is not used by any code. UPROPERTY(EditDefaultsOnly) FString Name; diff --git a/Source/DedicatedServers/Public/GameplayTags/DedicatedServerTags.h b/Source/DedicatedServers/Public/GameplayTags/DedicatedServerTags.h index aa1dcced..f3906883 100644 --- a/Source/DedicatedServers/Public/GameplayTags/DedicatedServerTags.h +++ b/Source/DedicatedServers/Public/GameplayTags/DedicatedServerTags.h @@ -9,5 +9,6 @@ namespace DedicatedServersTags { UE_DECLARE_GAMEPLAY_TAG_EXTERN(ListFleets); UE_DECLARE_GAMEPLAY_TAG_EXTERN(FindOrCreateGameSession) + UE_DECLARE_GAMEPLAY_TAG_EXTERN(CreatePlayerSession) } } \ No newline at end of file