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

# PFSegmentsPlayerLocation

> PFSegmentsPlayerLocation データ モデル。

PFSegmentsPlayerLocation データ モデル。

## 構文

```cpp theme={null}
typedef struct PFSegmentsPlayerLocation {  
    const char* city;  
    PFContinentCode continentCode;  
    PFCountryCode countryCode;  
    double const* latitude;  
    double const* longitude;  
} PFSegmentsPlayerLocation;  
```

### メンバー

**`city`**   const char\*<br />*is null-terminated*

(省略可) プレイヤーの地理的位置の市区町村。

**`continentCode`**   [PFContinentCode](/services/playfab/api-references/c/pftypes/enums/pfcontinentcode)

この場所の 2 文字の大陸コード。

**`countryCode`**   [PFCountryCode](/services/playfab/api-references/c/pftypes/enums/pfcountrycode)

その場所に関連付けられた国の 2 文字の ISO 3166-1 国コード。

**`latitude`**   double const\*<br />*may be nullptr*

(省略可) プレイヤーの地理的位置の緯度座標。

**`longitude`**   double const\*<br />*may be nullptr*

(省略可) プレイヤーの地理的位置の経度座標。

## 要件

**ヘッダー:** PFSegmentsTypes.h

## 関連項目

[PFSegmentsTypes のメンバー](/services/playfab/api-references/c/pfsegmentstypes/pfsegmentstypes_members)


## Related topics

- [PFSegmentsPlayerLocationDictionaryEntry](/ja-jp/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsplayerlocationdictionaryentry.md)
- [Services C API overview - PFSegmentsTypes.h](/ja-jp/services/playfab/api-references/c/pfsegmentstypes/pfsegmentstypes_members.md)
- [PFSegmentsPlayerProfile](/ja-jp/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsplayerprofile.md)
- [PlayerLocation](/ja-jp/services/playfab/api-references/events/data-types/playerlocation.md)
- [PFSegmentsGetPlayerSegmentsResult](/ja-jp/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayersegmentsresult.md)
