Editar

Partilhar via


PFLobbyJoinLobbyAsServerCompletedStateChange

Information specific to the JoinLobbyAsServerCompleted type of state change.

Syntax

struct PFLobbyJoinLobbyAsServerCompletedStateChange : PFLobbyStateChange {  
    HRESULT result;  
    PFEntityKey newServer;  
    void* asyncContext;  
    PFLobbyHandle lobby;  
}  

Members

result   HRESULT

Indicates the result of the PFMultiplayerJoinLobbyAsServer() operation.

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

newServer   PFEntityKey

The server entity - which is joining the lobby - 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 joined.

Remarks

To use this feature, you must define PFMULTIPLAYER_INCLUDE_SERVER_APIS before including PFLobby.h.

Requirements

Header: PFLobby.h

See also

PFLobby members