NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim::QChatUpdateServerRolePrioritiesParam结构体 参考

#include <nim_qchat_role_cpp_def.h>

Public 成员函数

 QChatUpdateServerRolePrioritiesParam ()=default
 
 QChatUpdateServerRolePrioritiesParam (const NIMQChatBatchUpdateServerRolePrioritiesParam &param)
 
NIMQChatBatchUpdateServerRolePrioritiesParam ToCParam () const
 

Public 属性

QChatBatchUpdateServerRolePrioritiesCallback cb
 
uint64_t server_id = 0
 
std::map< uint64_t, uint64_t > priority_map
 要批量更新的身份组信息,key: role_id, value: priority
 

Protected 属性

std::vector< NIMQChatBatchUpdateServeRolePriorityGroupc_role_infos_
 

构造及析构函数说明

◆ QChatUpdateServerRolePrioritiesParam() [1/2]

nim::QChatUpdateServerRolePrioritiesParam::QChatUpdateServerRolePrioritiesParam ( )
default

◆ QChatUpdateServerRolePrioritiesParam() [2/2]

nim::QChatUpdateServerRolePrioritiesParam::QChatUpdateServerRolePrioritiesParam ( const NIMQChatBatchUpdateServerRolePrioritiesParam param)
inline

成员函数说明

◆ ToCParam()

NIMQChatBatchUpdateServerRolePrioritiesParam nim::QChatUpdateServerRolePrioritiesParam::ToCParam ( ) const
inline

类成员变量说明

◆ c_role_infos_

std::vector<NIMQChatBatchUpdateServeRolePriorityGroup> nim::QChatUpdateServerRolePrioritiesParam::c_role_infos_
mutableprotected

◆ cb

QChatBatchUpdateServerRolePrioritiesCallback nim::QChatUpdateServerRolePrioritiesParam::cb

◆ priority_map

std::map<uint64_t, uint64_t> nim::QChatUpdateServerRolePrioritiesParam::priority_map

要批量更新的身份组信息,key: role_id, value: priority

◆ server_id

uint64_t nim::QChatUpdateServerRolePrioritiesParam::server_id = 0

该结构体的文档由以下文件生成: