Navigation
API > API/Editor > API/Editor/SwarmInterface
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.
| Name | FMessage |
| Type | class |
| Header File | /Engine/Source/Editor/SwarmInterface/Public/SwarmInterface.h |
| Include Path | #include "SwarmInterface.h" |
Syntax
class FMessage
Derived Classes
FMessage derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMessage () |
Default constructor, initializes to default values | SwarmInterface.h | |
FMessage
(
TMessageType NewType |
Constructor, initializes to specified values | SwarmInterface.h | |
FMessage
(
TSwarmVersionValue NewVersion, |
Constructor, initializes to specified values | SwarmInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Type | TMessageType | The type of the message, one of EMessageType | SwarmInterface.h | |
| Version | TSwarmVersionValue | The version of the message format; one of ESwarmVersionValue | SwarmInterface.h |