Redigera

PFLobbyFindLobbiesCompletedStateChange

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Information specific to the FindLobbiesCompleted type of state change.

Syntax

struct PFLobbyFindLobbiesCompletedStateChange : PFLobbyStateChange {  
    HRESULT result;  
    PFEntityKey searchingEntity;  
    void* asyncContext;  
    uint32_t searchResultCount;  
    const PFLobbySearchResult* searchResults;  
}  

Members

result   HRESULT

Indicates the result of the search lobbies operation.

The human-readable form of this result can be retrieved via PFMultiplayerGetErrorMessage().

searchingEntity   PFEntityKey

The entity provided to the call associated with this state change.

asyncContext   void*

The async context provided to the call associated with this state change.

searchResultCount   uint32_t

The number of results returned by the search operation.

searchResults   const PFLobbySearchResult*
array of size searchResultCount

The results returned by the search operation.

Requirements

Header: PFLobby.h

See also

PFLobby members