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

# PlayerLocation

> PlayerLocation data type.

## Properties

| Name | Type | Description |
| :- | :- | :- |
| City | String | City of the player's geographic location. |
| ContinentCode | [ContinentCode](https://docs.xbox.com/services/playfab/api-references/events/data-types/continentcode.md) | The two-character continent code for this location |
| CountryCode | [CountryCode](https://docs.xbox.com/services/playfab/api-references/events/data-types/countrycode.md) | The two-character ISO 3166-1 country code for the country/region associated with the location |
| Latitude | double | Latitude coordinate of the player's geographic location. |
| Longitude | double | Longitude coordinate of the player's geographic location. |


## Related topics

- [player_logged_in](https://docs.xbox.com/services/playfab/api-references/events/PlayerIdentity/player-logged-in.md)
- [PlayerProfile](https://docs.xbox.com/services/playfab/api-references/events/data-types/playerprofile.md)
- [XGameStreamingGetServerLocationName](https://docs.xbox.com/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname.md)
- [XGameStreamingGetServerLocationNameSize](https://docs.xbox.com/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationnamesize.md)
- [Player Segment configuration](https://docs.xbox.com/services/playfab/player-progression/player-data/player-segment-configuration.md)
