PartyCreateNewNetworkCompletedStateChange
Information specific to the CreateNewNetworkCompleted type of state change.
Syntax
struct PartyCreateNewNetworkCompletedStateChange : PartyStateChange {
PartyStateChangeResult result;
PartyError errorDetail;
PartyLocalUser* localUser;
PartyNetworkConfiguration networkConfiguration;
uint32_t regionCount;
const PartyRegion* regions;
void* asyncIdentifier;
PartyNetworkDescriptor networkDescriptor;
PartyString appliedInitialInvitationIdentifier;
}
Members
result
PartyStateChangeResult
Indicates that the create new network operation Succeeded or provides the reason that it failed.
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().
localUser
PartyLocalUser*
The local user provided to the call associated with this state change.
networkConfiguration
PartyNetworkConfiguration
The network configuration provided to the call associated with this state change.
regionCount
uint32_t
The number of regions provided to the call associated with this state change.
regions
const PartyRegion*
The regions provided to the call associated with this state change.
asyncIdentifier
void*
The async identifier provided to the call associated with this state change.
networkDescriptor
PartyNetworkDescriptor
The network descriptor of the network that was created.
The regionName and opaqueConnectionInformation fields are only populated if the result field is PartyStateChangeResult::Succeeded. The networkIdentifier field should always be populated. If the result field is PartyStateChangeResult::Succeeded, this network descriptor is serializable via PartyManager::SerializeNetworkDescriptor().
appliedInitialInvitationIdentifier
PartyString
The identifier for the network's initial invitation.
Requirements
Header: Party.h
See also
Party members
PartyManager::CreateNewNetwork
PartyManager::SerializeNetworkDescriptor