> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyCreateNewNetworkCompletedStateChange

> Information specific to the *CreateNewNetworkCompleted* type of state change.

Information specific to the *CreateNewNetworkCompleted* type of state change.

## Syntax

```cpp theme={null}
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](/services/playfab/multiplayer/networking/reference/enums/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()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

**`localUser`**   [PartyLocalUser](/services/playfab/multiplayer/networking/reference/classes/PartyLocalUser/partylocaluser)\*

The local user provided to the call associated with this state change.

**`networkConfiguration`**   [PartyNetworkConfiguration](/services/playfab/multiplayer/networking/reference/structs/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](/services/playfab/multiplayer/networking/reference/structs/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](/services/playfab/multiplayer/networking/reference/structs/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](/services/playfab/multiplayer/networking/reference/enums/partystatechangeresult). The networkIdentifier field should always be populated. If the result field is PartyStateChangeResult::Succeeded, this network descriptor is serializable via [PartyManager::SerializeNetworkDescriptor()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_serializenetworkdescriptor).

**`appliedInitialInvitationIdentifier`**   [PartyString](/services/playfab/multiplayer/networking/reference/typedefs)

The identifier for the network's initial invitation.

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)\
[PartyManager::CreateNewNetwork](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork)\
[PartyManager::SerializeNetworkDescriptor](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_serializenetworkdescriptor)


## Related topics

- [PartyManager::CreateNewNetwork](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_createnewnetwork.md)
- [PartyRegionUpdateMode](/services/playfab/multiplayer/networking/reference/enums/partyregionupdatemode.md)
- [PlayFab Party invitations and the security model](/services/playfab/multiplayer/networking/concepts-invitations-security-model.md)
- [PartyNetwork::GetNetworkDescriptor](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_getnetworkdescriptor.md)
- [PartyManager::SerializeNetworkDescriptor](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_serializenetworkdescriptor.md)
