engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IXmppMessages类 参考abstract

Interface for sending/receiving messages between users (also admin to user notifications) 更多...

#include <XmppMessages.h>

Public 成员函数

 DECLARE_MULTICAST_DELEGATE_ThreeParams (FOnXmppMessageReceived, const TSharedRef< IXmppConnection > &, const FXmppUserJid &, const TSharedRef< FXmppMessage > &)
 Delegate callback for when a new message is received 更多...
 
virtual FOnXmppMessageReceived & OnReceiveMessage ()=0
 
virtual bool SendMessage (const FXmppUserJid &RecipientId, const FString &Type, const FString &Payload, bool bPayloadIsSerializedJson=false)=0
 Send a message to a user via xmpp service 更多...
 
virtual ~IXmppMessages ()
 destructor
 

详细描述

Interface for sending/receiving messages between users (also admin to user notifications)

成员函数说明

◆ DECLARE_MULTICAST_DELEGATE_ThreeParams()

IXmppMessages::DECLARE_MULTICAST_DELEGATE_ThreeParams ( FOnXmppMessageReceived  ,
const TSharedRef< IXmppConnection > &  ,
const FXmppUserJid &  ,
const TSharedRef< FXmppMessage > &   
)

Delegate callback for when a new message is received

参数
Connectionthe xmpp connection this message was received on
FromIdid of user that sent the message (might be admin)
Messagedata that was received

◆ OnReceiveMessage()

virtual FOnXmppMessageReceived & IXmppMessages::OnReceiveMessage ( )
pure virtual
返回
message received delegate

◆ SendMessage()

virtual bool IXmppMessages::SendMessage ( const FXmppUserJid &  RecipientId,
const FString &  Type,
const FString &  Payload,
bool  bPayloadIsSerializedJson = false 
)
pure virtual

Send a message to a user via xmpp service

参数
RecipientIduser to send message to (must be online)
Typemessage type
Payloadmessage data to send
返回
true if successfully sent

该类的文档由以下文件生成: