Lesson 59 - Game Sessions API Data Asset
This commit is contained in:
11
Source/DedicatedServers/Private/Data/API/APIData.cpp
Normal file
11
Source/DedicatedServers/Private/Data/API/APIData.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user