Getting Started
Quick Start
Deploy one server, poll status, and connect using returned endpoint
Goal
Deploy via v2 API and read final connection endpoint in Unreal.
Blueprint Flow
- Build
FEGIK_CreateDeploymentV2Struct. - Call
CreateDeploymentV2. - Save
RequestIdfrom success. - Poll with
GetDeploymentStatusAndInfountil ready. - Read
FQDNandPortsfrom response.
Minimal C++
#include "Deployments/EGIK_CreateDeploymentV2.h"
#include "Deployments/EGIK_DeploymentStatusAndInfo.h"
FEGIK_CreateDeploymentV2Struct Req;
Req.Application = TEXT("my-game-server");
Req.Version = TEXT("1.0.0");
FEGIK_DeploymentUser User;
User.UserType = EEGIK_DeploymentUserType::IpAddress;
User.IpAddress = TEXT("1.1.1.1");
Req.Users.Add(User);
UEGIK_CreateDeploymentV2* CreateNode = UEGIK_CreateDeploymentV2::CreateDeploymentV2(Req);
CreateNode->OnSuccess.AddDynamic(this, &UMySubsystem::OnDeploymentCreated);
CreateNode->Activate();Success Criteria
RequestIdreceived.- Deployment status reaches ready state.
- You can construct a connect address from
FQDN+ game port.