I have followed this:
to try to set up delegates in my plugin.
In my PrivatePCH.h:
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FDataInDelegate);
in .h
DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FDataInDelegate, float, rotationX, float, rotationY, float, rotationZ);
UCLASS(config = Engine)
class UUnrealEdRemoteSettings : public UObject
{
GENERATED_BODY()
public:
UUnrealEdRemoteSettings(const FObjectInitializer& ObjectInitializer);
UPROPERTY(BlueprintAssignable)
FDataInDelegate OnTimeUpdated;
This gives me errors on build:
in the PCH.h
Error (active) this declaration has no storage class or type specifier
Error C2143 syntax error: missing ';' before '<class-head>'
AM I missing an include?