Files
DedicatedServerCourse/Source/DedicatedServers/Public/UI/API_Test/APITestManager.h

30 lines
727 B
C
Raw Normal View History

2026-03-15 17:02:22 -04:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
2026-03-15 21:46:18 -04:00
#include "Interfaces/IHttpRequest.h"
2026-03-15 17:02:22 -04:00
#include "UI/HTTP/HTTPRequestManager.h"
#include "APITestManager.generated.h"
2026-03-16 22:30:26 -04:00
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnListFleetsResponseReceived, const FDS_ListFleetsResponse&, ListFleetResponse, bool, bWasSuccessful);
2026-03-15 17:02:22 -04:00
/**
*
*/
UCLASS()
class DEDICATEDSERVERS_API UAPITestManager : public UHTTPRequestManager
{
GENERATED_BODY()
public:
UFUNCTION()
2026-03-16 22:30:26 -04:00
void ListFleets();
UPROPERTY()
FOnListFleetsResponseReceived OnListFleetsResponseReceived;
2026-03-15 21:46:18 -04:00
void ListFleets_Response(FHttpRequestPtr Request, FHttpResponsePtr Response, bool bWasSuccessful);
2026-03-15 17:02:22 -04:00
};