> ## 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.

# PartyInvitationCreatedStateChange

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

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

## Syntax

```cpp theme={null}
struct PartyInvitationCreatedStateChange : PartyStateChange {  
    PartyNetwork* network;  
    PartyInvitation* invitation;  
}  
```

### Members

**`network`**   [PartyNetwork](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/partynetwork)\*

The network of the invitation that was created.

**`invitation`**   [PartyInvitation](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/partyinvitation)\*

The invitation that was created.

Upon receiving this state change, the invitation object will be queryable via [PartyNetwork::GetInvitations()](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_getinvitations).

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)


## Related topics

- [PartyNetwork::GetInvitations](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_getinvitations.md)
- [PartyNetwork::CreateInvitation](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_createinvitation.md)
- [PlayFab Party invitations and the security model](/services/playfab/multiplayer/networking/concepts-invitations-security-model.md)
- [Party C/C++ API overview](/services/playfab/multiplayer/networking/reference/party_members.md)
- [PartyStateChangeType](/services/playfab/multiplayer/networking/reference/enums/partystatechangetype.md)
