Navigation
API > API/Plugins > API/Plugins/AsyncMessageSystem > API/Plugins/AsyncMessageSystem/FAsyncMessageSystemBase
Description
Generates a new async message handle by atomically incrementing the NextMessageHandleId. If the new value of NextMessageHandleId is above the max allowed handle id, it will be wrapped.
| Name | GenerateNextValidMessageHandle |
| Type | function |
| Header File | /Engine/Plugins/Experimental/AsyncMessageSystem/Source/AsyncMessageSystem/Public/AsyncMessageSystemBase.h |
| Include Path | #include "AsyncMessageSystemBase.h" |
| Source | /Engine/Plugins/Experimental/AsyncMessageSystem/Source/AsyncMessageSystem/Private/AsyncMessageSystemBase.cpp |
FAsyncMessageHandle GenerateNextValidMessageHandle
(
const FAsyncMessageId ForMessageId,
TWeakPtr < FAsyncMessageBindingEndpoint > Endpoint
)