Lesson 59 - Game Sessions API Data Asset

This commit is contained in:
Norman Lansing
2026-03-29 19:56:25 -04:00
parent a487c71b44
commit 62243acf46
9 changed files with 103 additions and 23 deletions

View File

@@ -0,0 +1,10 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "Data/API/APIData.h"
FString UAPIData::GetAPIEndPoint(const FGameplayTag& APIEndPoint)
{
const FString ResourceName = Resources.FindChecked(APIEndPoint);
return InvokeUrl + "/" + Stage + "/" + ResourceName;
}

View File

@@ -0,0 +1,9 @@
#include "GameplayTags/DedicatedServerTags.h"
namespace DedicatedServersTags
{
namespace GameSessionsAPI
{
UE_DEFINE_GAMEPLAY_TAG_COMMENT(ListFleets, "DedicatedServersTags.GameSessionsAPI.ListFleets", "List Fleets resource on the GameSessions API")
}
}