Files
UnrealEngine/Engine/Source/Editor/BlueprintGraph/Classes/K2Node_AsyncAction.h
2025-05-18 13:04:45 +08:00

29 lines
757 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "K2Node_BaseAsyncTask.h"
#include "UObject/ObjectMacros.h"
#include "UObject/UObjectGlobals.h"
#include "K2Node_AsyncAction.generated.h"
class FBlueprintActionDatabaseRegistrar;
class UObject;
/** !!! The proxy object should have RF_StrongRefOnFrame flag. !!! */
UCLASS()
class BLUEPRINTGRAPH_API UK2Node_AsyncAction : public UK2Node_BaseAsyncTask
{
GENERATED_UCLASS_BODY()
// UK2Node interface
virtual void GetMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const override;
// End of UK2Node interface
/** Initialize the async task from a known function **/
void InitializeProxyFromFunction(const UFunction* ProxyFunction);
};