![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <XmppChat.h>
Public Member Functions | |
| virtual | ~IXmppChat () |
| virtual bool | SendChat (const FXmppUserJid &RecipientId, const FString &Message)=0 |
| DECLARE_MULTICAST_DELEGATE_ThreeParams (FOnXmppChatReceived, const TSharedRef< IXmppConnection > &, const FXmppUserJid &, const TSharedRef< FXmppChatMessage > &) | |
| virtual FOnXmppChatReceived & | OnReceiveChat ()=0 |
Interface for sending/receiving chat messages between users
|
inlinevirtual |
destructor
| IXmppChat::DECLARE_MULTICAST_DELEGATE_ThreeParams | ( | FOnXmppChatReceived | , |
| const TSharedRef< IXmppConnection > & | , | ||
| const FXmppUserJid & | , | ||
| const TSharedRef< FXmppChatMessage > & | |||
| ) |
Delegate callback for when a new chat message is received
| Connection | the xmpp connection that received the chat |
| FromId | id of user that sent the chat |
| Chat | data that was received |
|
pure virtual |
|
pure virtual |
Send a chat to a user via xmpp service
| RecipientId | user to send chat to (must be online) |
| Message | chat message to send |