FMessageEndpoint::MakeMessage

Creates a message of the specified template type.

Windows
MacOS
Linux

References

Module

MessagingCommon

Header

/Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h

Include

#include "MessageEndpoint.h"

Syntax

template<typename T, typename... InArgTypes>
static T * MakeMessage
(
    InArgTypes &&... Args
)

Remarks

Creates a message of the specified template type.

Prefer using this helper rather than explicit new. See FEngineServicePong.

Parameters

Parameter

Description

Args

The constructor arguments to the template type

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