engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMessageInterceptor类 参考abstract

Interface for message interceptors. 更多...

#include <IMessageInterceptor.h>

Public 成员函数

virtual FName GetDebugName () const =0
 Gets the interceptor's name (for debugging purposes). 更多...
 
virtual const FGuid & GetInterceptorId () const =0
 Gets the interceptor's unique identifier (for debugging purposes). 更多...
 
virtual bool InterceptMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context)=0
 Intercepts a message before it is being passed to the message router. 更多...
 
virtual ~IMessageInterceptor ()
 Virtual destructor.
 

详细描述

Interface for message interceptors.

成员函数说明

◆ GetDebugName()

virtual FName IMessageInterceptor::GetDebugName ( ) const
pure virtual

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

返回
The debug name.
参见
GetInterceptorId

◆ GetInterceptorId()

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

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

返回
The interceptor's identifier.
参见
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.

参数
ContextThe context of the message to intercept.
返回
true if the message was intercepted and should not be routed, false otherwise.

该类的文档由以下文件生成: