![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <XmppMessages.h>
Public Member Functions | |
| virtual | ~IXmppMessages () |
| virtual bool | SendMessage (const FXmppUserJid &RecipientId, const FString &Type, const FString &Payload, bool bPayloadIsSerializedJson=false)=0 |
| virtual bool | SendMessage (const FXmppUserJid &RecipientId, const FString &Type, const TSharedRef< class FJsonObject > &Payload)=0 |
| DECLARE_MULTICAST_DELEGATE_ThreeParams (FOnXmppMessageReceived, const TSharedRef< IXmppConnection > &, const FXmppUserJid &, const TSharedRef< FXmppMessage > &) | |
| virtual FOnXmppMessageReceived & | OnReceiveMessage ()=0 |
Interface for sending/receiving messages between users (also admin to user notifications)
|
inlinevirtual |
destructor
| IXmppMessages::DECLARE_MULTICAST_DELEGATE_ThreeParams | ( | FOnXmppMessageReceived | , |
| const TSharedRef< IXmppConnection > & | , | ||
| const FXmppUserJid & | , | ||
| const TSharedRef< FXmppMessage > & | |||
| ) |
Delegate callback for when a new message is received
| Connection | the xmpp connection this message was received on |
| FromId | id of user that sent the message (might be admin) |
| Message | data that was received |
|
pure virtual |
|
pure virtual |
Send a message to a user via xmpp service
| RecipientId | user to send message to (must be online) |
| Type | message type |
| Payload | message data to send |
|
pure virtual |