mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-27 03:43:40 +00:00
28 lines
663 B
C++
28 lines
663 B
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Object.h"
|
|
#include "AsyncTaskResult.h"
|
|
#include "AsyncTaskQueue.generated.h"
|
|
|
|
class UAsyncTask;
|
|
|
|
UCLASS(Blueprintable)
|
|
class UAsyncTaskQueue : public UObject {
|
|
GENERATED_BODY()
|
|
public:
|
|
private:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
TArray<UAsyncTask*> TaskQueue_Internal;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
UAsyncTask* CurrentTask;
|
|
|
|
public:
|
|
UAsyncTaskQueue();
|
|
private:
|
|
UFUNCTION(BlueprintCallable)
|
|
void OnAsyncTaskFinished(const FAsyncTaskResult& Result);
|
|
|
|
};
|
|
|