Navigation
API > API/Runtime > API/Runtime/CoreUObject
An implementation of IMPCollector that uses an ICollectorMessage subclass to serialize the message, and directs messages received on the client to the given callback.
| Name | TMPCollectorClientMessageCallback |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Cooker/MPCollector.h |
| Include Path | #include "Cooker/MPCollector.h" |
Syntax
template<typename MessageType>
class TMPCollectorClientMessageCallback : public UE::Cook::IMPCollectorForMessage< MessageType >
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TMPCollectorClientMessageCallback
(
TUniqueFunction< void(FMPCollectorClientMessageContext&Context, bool bReadSuccessful, MessageType&... |
Cooker/MPCollector.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Callback | TUniqueFunction< void(FMPCollectorClientMessageContext &Context, bool bReadSuccessful, MessageType &&Message)> | Cooker/MPCollector.h |
Functions
Public
Overridden from IMPCollectorForMessage
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ClientReceiveMessage
(
FMPCollectorClientMessageContext& Context, |
Cooker/MPCollector.h |