Files
henrik karlsson 562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00

25 lines
621 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "HandlerComponentFactory.generated.h"
class HandlerComponent;
/**
* A UObject alternative for loading HandlerComponents without strict module dependency
*/
UCLASS(abstract, MinimalAPI)
class UHandlerComponentFactory : public UObject
{
GENERATED_UCLASS_BODY()
public:
PACKETHANDLER_API virtual TSharedPtr<HandlerComponent> CreateComponentInstance(FString& Options)
PURE_VIRTUAL(UHandlerComponentFactory::CreateComponentInstance, return nullptr;);
};