.h
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FLoginErrorEvent, FString, ErrorMessage); UPROPERTY(BlueprintAssignable, Category = "Event") FLoginErrorEvent loginErrorEvent;
.cpp
loginErrorEvent.Broadcast(TEXT("hello World"));