UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IMessageInterceptor Class Referenceabstract

#include <IMessageInterceptor.h>

Public Member Functions

virtual FName GetDebugName () const =0
 
virtual const FGuidGetInterceptorId () const =0
 
virtual bool InterceptMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context)=0
 
virtual ~IMessageInterceptor ()
 

Detailed Description

Interface for message interceptors.

Constructor & Destructor Documentation

◆ ~IMessageInterceptor()

virtual IMessageInterceptor::~IMessageInterceptor ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

◆ GetDebugName()

virtual FName IMessageInterceptor::GetDebugName ( ) const
pure virtual

Gets the interceptor's name (for debugging purposes).

Returns
The debug name.
See also
GetInterceptorId

◆ GetInterceptorId()

virtual const FGuid & IMessageInterceptor::GetInterceptorId ( ) const
pure virtual

Gets the interceptor's unique identifier (for debugging purposes).

Returns
The interceptor's identifier.
See also
GetDebugName

◆ InterceptMessage()

virtual bool IMessageInterceptor::InterceptMessage ( const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &  Context)
pure virtual

Intercepts a message before it is being passed to the message router.

Parameters
ContextThe context of the message to intercept.
Returns
true if the message was intercepted and should not be routed, false otherwise.

The documentation for this class was generated from the following file: