FMessage

A simple base class for messages.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SwarmInterface

Header

/Engine/Source/Editor/SwarmInterface/Public/SwarmInterface.h

Include

#include "SwarmInterface.h"

Syntax

class FMessage

Remarks

A simple base class for messages. For each version of the messaging interface a newly derived type will inherit from this class. The base class is used to simply carry lightweight loads for messages, i.e. just the message type, which may be enough information in itself. For additional message data, subclass and add any additional data there.

Variables

Name Description

Public variable

TMessageType

 

Type

The type of the message, one of EMessageType

Public variable

TSwarmVersionVa...

 

Version

The version of the message format; one of ESwarmVersionValue

Constructors

Name Description

Public function

FMessage()

Default constructor, initializes to default values

Public function

FMessage

(
    TMessageType NewType
)

Constructor, initializes to specified values

Public function

FMessage

(
    TSwarmVersionValue NewVersion,
    TMessageType NewType
)

Constructor, initializes to specified values