2026-03-29 07:54:19 -04:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
2026-03-29 20:20:59 -04:00
|
|
|
#include "Interfaces/IHttpRequest.h"
|
2026-03-29 07:54:19 -04:00
|
|
|
#include "UI/HTTP/HTTPRequestManager.h"
|
|
|
|
|
#include "APITestManager.generated.h"
|
|
|
|
|
|
2026-04-03 20:34:49 -04:00
|
|
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnListFleetsResponseReceived, const FDSListFleetsResponse&, ListFleetsResponse, const bool, bWasSuccessful);
|
2026-03-30 17:30:24 -04:00
|
|
|
|
|
|
|
|
|
2026-03-29 07:54:19 -04:00
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
UCLASS()
|
|
|
|
|
class DEDICATEDSERVERS_API UAPITestManager : public UHTTPRequestManager
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
UFUNCTION()
|
2026-03-30 17:30:24 -04:00
|
|
|
void ListFleets();
|
|
|
|
|
|
|
|
|
|
UPROPERTY()
|
|
|
|
|
FOnListFleetsResponseReceived OnListFleetsResponseReceived;
|
2026-03-29 20:20:59 -04:00
|
|
|
|
|
|
|
|
void ListFleets_Response(FHttpRequestPtr Request, FHttpResponsePtr Response, bool bWasSuccessful);
|
2026-03-29 07:54:19 -04:00
|
|
|
};
|