2026-03-15 09:19:39 -04:00
|
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
|
#include "Blueprint/UserWidget.h"
|
|
|
|
|
|
#include "APITestOverlay.generated.h"
|
|
|
|
|
|
|
2026-03-15 17:02:22 -04:00
|
|
|
|
class UAPITestManager;
|
|
|
|
|
|
class UListFleetsBox;
|
2026-03-16 22:30:26 -04:00
|
|
|
|
class FDS_ListFleetsResponse;
|
2026-03-15 09:19:39 -04:00
|
|
|
|
/**
|
|
|
|
|
|
*
|
|
|
|
|
|
*/
|
|
|
|
|
|
UCLASS()
|
|
|
|
|
|
class DEDICATEDSERVERS_API UAPITestOverlay : public UUserWidget
|
|
|
|
|
|
{
|
|
|
|
|
|
GENERATED_BODY()
|
2026-03-15 17:02:22 -04:00
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
UPROPERTY(EditDefaultsOnly)
|
|
|
|
|
|
TSubclassOf<UAPITestManager> APITestManagerClass;
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
virtual void NativeConstruct() override;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
UPROPERTY(meta = (BindWidget))
|
|
|
|
|
|
TObjectPtr<UListFleetsBox> ListFleetsBox;
|
|
|
|
|
|
|
|
|
|
|
|
UPROPERTY()
|
|
|
|
|
|
TObjectPtr<UAPITestManager> APITestManager;
|
|
|
|
|
|
|
2026-03-16 22:30:26 -04:00
|
|
|
|
UFUNCTION()
|
|
|
|
|
|
void ListFleetsButtonClicked();
|
|
|
|
|
|
|
|
|
|
|
|
UFUNCTION()
|
|
|
|
|
|
void OnListFleetsResponseReceived(const FDS_ListFleetsResponse& ListFleetResponse, bool bWasSuccessful);
|
2026-03-15 17:02:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-03-15 09:19:39 -04:00
|
|
|
|
};
|