语法
参数
lobby PFLobbyHandle
大厅的句柄。
connectionString char**library-allocated output 输出的连接字符串。
返回值
类型:HRESULT 如果调用成功,则为S_OK;否则为错误代码。可通过 PFMultiplayerGetErrorMessage() 检索错误代码的可读形式。
备注
如果此大厅对象是通过调用 PFMultiplayerCreateAndJoinLobby() 创建的,则此方法将返回错误,直到 PFMultiplayerStartProcessingLobbyStateChanges() 提供一个成功的 PFLobbyCreateAndJoinLobbyCompletedStateChange。如果此大厅对象是通过调用 PFMultiplayerCreateAndClaimServerLobby() 创建的,则此方法将返回错误,直到 PFMultiplayerStartProcessingLobbyStateChanges() 提供一个成功的 PFLobbyCreateAndClaimServerLobbyCompletedStateChange。
如果此大厅对象是通过调用 PFMultiplayerClaimServerLobby() 创建的,则此方法将返回错误,直到 PFMultiplayerStartProcessingLobbyStateChanges() 提供一个成功的 PFLobbyClaimServerLobbyCompletedStateChange。
如果此大厅对象是通过调用 PFMultiplayerJoinLobby() 创建的,则此方法将返回错误,直到 PFMultiplayerStartProcessingLobbyStateChanges() 提供一个成功的 PFLobbyJoinLobbyCompletedStateChange。
