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

# PlayerLocation

> PlayerLocation 数据类型。

## 属性

| 名称            | 类型                                                                                | 描述                                |
| :------------ | :-------------------------------------------------------------------------------- | :-------------------------------- |
| City          | String                                                                            | 玩家地理位置所在的城市。                      |
| ContinentCode | [ContinentCode](/services/playfab/api-references/events/data-types/continentcode) | 该位置的两字符大洲代码                       |
| CountryCode   | [CountryCode](/services/playfab/api-references/events/data-types/countrycode)     | 与该位置相关联的国家/地区的两字符 ISO 3166-1 国家代码 |
| Latitude      | double                                                                            | 玩家地理位置的纬度坐标。                      |
| Longitude     | double                                                                            | 玩家地理位置的经度坐标。                      |


## Related topics

- [PFSegmentsPlayerLocation](/zh-CN/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsplayerlocation.md)
- [PFSegmentsPlayerLocationDictionaryEntry](/zh-CN/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsplayerlocationdictionaryentry.md)
- [player_logged_in](/zh-CN/services/playfab/api-references/events/PlayerIdentity/player-logged-in.md)
- [PlayerProfile](/zh-CN/services/playfab/api-references/events/data-types/playerprofile.md)
- [PFLocationModel](/zh-CN/services/playfab/api-references/c/pftypes/structs/pflocationmodel.md)
