Hi everyone.
I have a Delegate that I need to use in a C++ Class that I have which is a BlueprintLibrary, this is the markup for my delegate:
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FFruitAbailable, float, FruitAbailable);
And this is how I created the variables in the .h file:
UPROPERTY(BlueprintAssignable, Category = "Kingdom Manager UI")
static FFruitAbailable FruitBroadcast;
And this is how I have created the variable in the .cpp file:
FFruitAbailable UKingdomManager::FruitBroadcast;
and this is the error I’m getting, can anybody help me with this issue?
Error: Unrecognized type ‘static’ -
type must be a UCLASS, USTRUCT or
UENUM CompilerResultsLog: Info Error:
UnrealHeade
Thank you.