Edit

Share via


PFLobbyConnectToLobbyCompletedStateChange

Information specific to the ConnectToLobbyCompleted type of state change.

Syntax

struct PFLobbyConnectToLobbyCompletedStateChange : PFLobbyStateChange {  
    HRESULT result;  
    PFEntityKey newMember;  
    const char* lobbyId;  
    void* asyncContext;  
    PFLobbyHandle lobby;  
}  

Members

result   HRESULT

Indicates the result of the ConnectToLobby operation.

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

newMember   PFEntityKey

The entity provided to the call associated with this state change which is connecting to the lobby.

lobbyId   const char*
is null-terminated

The lobby ID provided to the call associated with this state change.

asyncContext   void*

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

lobby   PFLobbyHandle
must not be null

The lobby that was connected to.

Requirements

Header: PFLobby.h

See also

PFLobby members