Redigera

PartyStateChange

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 Party library.

Syntax

struct PartyStateChange {  
    PartyStateChangeType stateChangeType;  
}  

Members

stateChangeType   PartyStateChangeType

The specific type of the state change represented.

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

Remarks

PartyStateChange structures are reported by PartyManager::StartProcessingStateChanges() for the title to handle and then promptly pass back via the PartyManager::FinishProcessingStateChanges() 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: Party.h

See also

Party members
PartyManager::StartProcessingStateChanges
PartyManager::FinishProcessingStateChanges