Redigera

PFMatchmakingStateChange

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

A generic, base structure representation of an event or change in state in the Matchmaking library.

Syntax

struct PFMatchmakingStateChange {  
    PFMatchmakingStateChangeType stateChangeType;  
}  

Members

stateChangeType   PFMatchmakingStateChangeType

The specific type of the state change represented.

Use this field to determine which corresponding derived structure is represented by this PFMatchmakingStateChange structure header.

Remarks

PFMatchmakingStateChange structures are reported by PFMultiplayerStartProcessingMatchmakingStateChanges() for the title to handle and then promptly pass back via the PFMultiplayerFinishProcessingMatchmakingStateChanges() method.

The stateChangeType field indicates which kind of state change occurred, and this base structure should then be cast to a more specific derived structure to retrieve additional event-specific information.

Requirements

Header: PFMatchmaking.h

See also

PFMatchmaking members
PFMultiplayerStartProcessingMatchmakingStateChanges
PFMultiplayerFinishProcessingMatchmakingStateChanges