Syntax
Parameters
entityId PartyString*library-allocated output 用户的输出实体 ID。
Return value
PartyError 如果调用成功,则返回c_partyErrorSuccess;否则返回错误代码。可通过 PartyManager::GetErrorMessage() 检索错误代码的可读形式。
Remarks
检索到的 PlayFab 实体 ID 与标题通过 PartyManager::CreateLocalUser() 或 PartyManager::CreateLocalUserWithEntityType() 提供的实体 ID 相同。这与表示实体的PFEntityKey 结构的 id 字段中的值相同。从 GetEntityType() 返回的值将表示 PFEntityKey 的另一半。实体 ID 字符串的内存在本地用户的生命周期内保持有效,即直到其 PartyDestroyLocalUserCompletedStateChange 已通过 PartyManager::StartProcessingStateChanges() 提供,并且所有引用本地用户的状态更改都已返回到 PartyManager::FinishProcessingStateChanges()。
Requirements
Header: Party.hSee also
PartyLocalUserPartyLocalUser::GetEntityType
PartyManager::CreateLocalUser
PartyManager::CreateLocalUserWithEntityType
