exposing FViewport::FOnViewportResized delegate in BlueprintFunctionLibrary to Blueprints

Thank you for the suggestion.

But I already fail at the definitions :frowning: The Unreal reflection system seem to fail to recognize the existence of the FViewport Class defined in UnrealClient.h. Sorry, I’m still a c++ novice.

#pragma once
#include "UnrealClient.h" // for ViewportResize event bind
#include "ExposedFunctionsBPLibrary.generated.h"

UCLASS()
class UExposedFunctionsBPLibrary : public UBlueprintFunctionLibrary
{
   DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnViewportResized, FViewport*, 
   Viewport, uint32, ViewportSize);

   UPROPERTY()
   FOnViewportResized OnViewportResize;
}
error : Unable to find 'class', 'delegate', 'enum', or 'struct' with name 'FViewport'