From 07d3a5e052d0fd9d34e6ee724a5102ddc8f02d38 Mon Sep 17 00:00:00 2001 From: getnamo Date: Tue, 30 Jul 2019 16:47:08 -0700 Subject: [PATCH] expose the library function to c++ --- Source/SocketIOClient/Public/SocketIOFunctionLibrary.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/SocketIOClient/Public/SocketIOFunctionLibrary.h b/Source/SocketIOClient/Public/SocketIOFunctionLibrary.h index 2baadc7a..b6ddb2ab 100644 --- a/Source/SocketIOClient/Public/SocketIOFunctionLibrary.h +++ b/Source/SocketIOClient/Public/SocketIOFunctionLibrary.h @@ -14,7 +14,9 @@ UCLASS() class SOCKETIOCLIENT_API USocketIOFunctionLibrary : public UBlueprintFunctionLibrary { GENERATED_BODY() - + +public: + /** Static function to spawn a component that doesn't attach */ UFUNCTION(BlueprintCallable, Category = "SocketIO Client Static", meta = (WorldContext = "WorldContextObject")) static USocketIOClientComponent* ConstructSocketIOComponent(UObject* WorldContextObject);