Skip to content

Instantly share code, notes, and snippets.

@unwitherer
Created June 10, 2017 18:01
blog latent07
#pragma once
#include "CoreMinimal.h"
#include "LatentActions.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "LatentWaiter.generated.h"
DECLARE_DYNAMIC_DELEGATE_OneParam(FWaitUntilFinishedDispatcher, ALatenterActor*, latenter);
UCLASS()
class BLOGTEST416_API UBPFL_Latenter : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable, Category = Latenter, meta = (Latent, LatentInfo = "latentInfo_", HidePin = "worldContextObject_", DefaultToSelf = "worldContextObject_"))
static void WaitUntilFinished(const UObject* worldContextObject_, FLatentActionInfo latentInfo_, const FWaitUntilFinishedDispatcher onEventDispatcher);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment