> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/partynetwork.md)\*

The network of the invitation that was created.

**`invitation`**   [PartyInvitation](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/partyinvitation.md)\*

The invitation that was created.

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

## Requirements

**Header:** Party.h

## See also

[Party members](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/party_members.md)


## Related topics

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