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

# PartyLocalEndpoint

> Represents a local endpoint.

Represents a local endpoint.

## Syntax

```cpp theme={null}
class PartyLocalEndpoint : public PartyEndpoint  
```

## Public Methods

| Name | Description |
| - | - |
| [GetLocalUser](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_getlocaluser.md) | Gets the local user associated with this local endpoint. |
| [SendMessage](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_sendmessage.md) | Sends a message to other endpoints in the network. |
| [FlushMessages](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_flushmessages.md) | Forces all queued messages to the specified endpoints from this local endpoint to be sent as soon as possible regardless of their coalesce settings. |
| [GetEndpointStatistics](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_getendpointstatistics.md) | Gets one or more statistic counter values for the specified target endpoints. |

## Requirements

**Header:** Party.h

## See also

[Party members](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/party_members.md)\
[PartyEndpoint](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/partyendpoint.md)\
[PartyEndpoint::GetLocal](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getlocal.md)


## Related topics

- [PartyLocalEndpoint::SendMessage](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_sendmessage.md)
- [PartyLocalEndpoint::GetEndpointStatistics](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_getendpointstatistics.md)
- [PartyLocalEndpoint::FlushMessages](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_flushmessages.md)
- [PartyLocalEndpoint::GetLocalUser](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_getlocaluser.md)
- [PartyEndpoint::GetLocal](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getlocal.md)
