PacketHandler::AddHandler

As above, but initializes from a string specifying the component module, and (optionally) additional options

Windows
MacOS
Linux

References

Module

PacketHandler

Header

/Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/PacketHandler.h

Include

#include "PacketHandler.h"

Source

/Engine/Source/Runtime/PacketHandlers/PacketHandler/Private/PacketHandler.cpp

Syntax

TSharedPtr< HandlerComponent > AddHandler
(
    const FString & ComponentStr,
    bool bDeferInitialize
)

Remarks

As above, but initializes from a string specifying the component module, and (optionally) additional options

Parameters

Parameter

Description

ComponentStr

The handler component to load

bDeferInitialize

Whether or not to defer triggering Initialize (for batch-adds - code calling this, triggers it instead)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss