engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
FXmppUserJid类 参考

Jid for identifying user on the current connection as well as roster members 更多...

#include <XmppConnection.h>

Public 成员函数

FString GetBareId () const
 Return Bare id (id@domain)
 
FString GetFullPath () const
 full jid path <id@domain/resource>
 
bool IsValid () const
 
bool ParseResource (FString &OutAppId, FString &OutPlatform, FString &OutPlatformUserId) const
 Get the components that comprise the resource 更多...
 

静态 Public 成员函数

static FXmppUserJid FromFullJid (const FString &JidString)
 Create an FXmppUserJid from a formatted JID e.g., user@domain/resource 更多...
 
static FString ParseMucUserResource (const FString &InResource)
 Separate the MUC half of the resource (nickname:userid) from the UserJid resource portion (Vx:AppId:Platform:etc) This is highly dependent on FChatRoomMemberMcp::BuildMemberJidResourceString
 
static bool ParseResource (const FString &InResource, FString &OutAppId, FString &OutPlatform, FString &OutPlatformUserId)
 Get the components that comprise the resource 更多...
 

Public 属性

FString Domain
 domain user has access to
 
FString Id
 unique id for the user
 
FString Resource
 client resource user is logged in from
 

详细描述

Jid for identifying user on the current connection as well as roster members

成员函数说明

◆ FromFullJid()

static FXmppUserJid FXmppUserJid::FromFullJid ( const FString &  JidString)
static

Create an FXmppUserJid from a formatted JID e.g., user@domain/resource

参数
JidStringthe formatted JID
返回
FXmppUserJid populated from the formatted JID

◆ IsValid()

bool FXmppUserJid::IsValid ( ) const
inline
返回
true if jid has all valid elements

◆ ParseResource() [1/2]

static bool FXmppUserJid::ParseResource ( const FString &  InResource,
FString &  OutAppId,
FString &  OutPlatform,
FString &  OutPlatformUserId 
)
static

Get the components that comprise the resource

参数
InResourceThe resource to parse
OutAppIdThe app id the user is using
OutPlatformThe platform the user is using
OutPlatformUserIdThe platform user id (optional)
返回
Whether the Resource was successfully parsed or not

◆ ParseResource() [2/2]

bool FXmppUserJid::ParseResource ( FString &  OutAppId,
FString &  OutPlatform,
FString &  OutPlatformUserId 
) const
inline

Get the components that comprise the resource

参数
OutAppIdThe app id the user is using
OutPlatformThe platform the user is using
OutPlatformUserIdThe platform user id (optional)
返回
Whether the Resource was successfully parsed or not

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