2026-03-15 09:19:39 -04:00
|
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
|
|
|
#include "UI/API_Test/APITestOverlay.h"
|
2026-03-15 17:02:22 -04:00
|
|
|
|
#include "UI/API_Test/APITestManager.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "Components/Button.h"
|
|
|
|
|
|
#include "UI/API/ListFleets/ListFleetsBox.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void UAPITestOverlay::NativeConstruct()
|
|
|
|
|
|
{
|
|
|
|
|
|
Super::NativeConstruct();
|
|
|
|
|
|
|
|
|
|
|
|
check(APITestManagerClass);
|
|
|
|
|
|
APITestManager = NewObject<UAPITestManager>(this, APITestManagerClass);
|
|
|
|
|
|
|
|
|
|
|
|
check (ListFleetsBox)
|
|
|
|
|
|
check (ListFleetsBox->Button_ListFleets)
|
|
|
|
|
|
ListFleetsBox->Button_ListFleets->OnClicked.AddDynamic(APITestManager, &UAPITestManager::ListFleetsButtonClicked);
|
|
|
|
|
|
}
|