Editar

Compartir a través de


PartyInvitationDestroyedStateChange

Information specific to the InvitationDestroyed type of state change.

Syntax

struct PartyInvitationDestroyedStateChange : PartyStateChange {  
    PartyNetwork* network;  
    PartyInvitation* invitation;  
    PartyDestroyedReason reason;  
    PartyError errorDetail;  
}  

Members

network   PartyNetwork*

The network of the invitation that was destroyed.

invitation   PartyInvitation*

The invitation that was destroyed.

Upon receiving this state change, the invitation object will no longer be queryable via PartyNetwork::GetInvitations().

reason   PartyDestroyedReason

The reason the invitation was destroyed.

If the invitation object was destroyed because it was explicitly revoked via PartyNetwork::RevokeInvitation() or automatically revoked when the creating local user left the network, this value will be PartyDestroyedReason::Requested. If the invitation object was destroyed because the local client is no longer authenticated in the network, this value will be PartyDestroyedReason::DeviceLostAuthentication.

errorDetail   PartyError

A diagnostic value providing additional troubleshooting information regarding any potential error condition.

The human-readable form of this error detail can be retrieved via PartyManager::GetErrorMessage().

Requirements

Header: Party.h

See also

Party members