UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IMessageContext.h File Reference
#include "CoreTypes.h"
#include "Async/TaskGraphInterfaces.h"
#include "Containers/Array.h"
#include "Containers/Map.h"
#include "Misc/Crc.h"
#include "Misc/Guid.h"
#include "Templates/SharedPointer.h"
#include "UObject/Class.h"
#include "UObject/NameTypes.h"
#include "UObject/WeakObjectPtr.h"
#include "UObject/WeakObjectPtrTemplates.h"

Go to the source code of this file.

Classes

struct  FMessageAddress
 
class  IMessageContext
 

Typedefs

typedef TRange< EMessageScopeFMessageScopeRange
 
typedef TRangeBound< EMessageScopeFMessageScopeRangeBound
 

Enumerations

enum class  EMessageScope : uint8 { Thread , Process , Network , All }
 
enum class  EMessageFlags : uint32 { None = 0 , Reliable = 1 << 0 , Traced = 1 << 1 }
 

Functions

 ENUM_CLASS_FLAGS (EMessageFlags)
 

Typedef Documentation

◆ FMessageScopeRange

Type definition for message scope ranges.

◆ FMessageScopeRangeBound

Type definition for message scope range bounds.

Enumeration Type Documentation

◆ EMessageFlags

enum class EMessageFlags : uint32
strong
Enumerator
None 

No special flags

Reliable 

Guarantee that this message is delivered

Traced 

Trace this object through the transport on message bus. Only supported if the underlying transport handles the flag.

◆ EMessageScope

enum class EMessageScope : uint8
strong

Enumerates scopes for published messages.

The scope determines to which endpoints a published message will be delivered. By default, messages will be published to everyone on the local network (Subnet), but it is often useful to restrict the group of recipients to more local scopes, or to widen it to a larger audience outside the local network.

For example, if a message is to be handled only by subscribers in the same application, the scope should be set to Process. If messages need to be published between different networks (i.e. between LAN and WLAN), it should be set to Network instead.

Scopes only apply to published messages. Messages that are being sent to specific recipients will always be delivered, regardless of the endpoint locations.

Enumerator
Thread 

Deliver to subscribers in the same thread.

Process 

Deliver to subscribers in the same process.

Network 

Deliver to subscribers on the network.

All 

Deliver to all subscribers.

Note: This must be the last value in this enumeration.

Function Documentation

◆ ENUM_CLASS_FLAGS()

ENUM_CLASS_FLAGS ( EMessageFlags  )