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

# PFLocationModel

> PFLocationModel データ モデル。

PFLocationModel データ モデル。

## 構文

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

### メンバー

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

(省略可) 市区町村名。

**`continentCode`**   [PFContinentCode](/services/playfab/api-references/c/pftypes/enums/pfcontinentcode) const\*<br />*may be nullptr*

(省略可) この場所の 2 文字の大陸コード。

**`countryCode`**   [PFCountryCode](/services/playfab/api-references/c/pftypes/enums/pfcountrycode) const\*<br />*may be nullptr*

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

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

(省略可) 地理的な場所の緯度座標。

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

(省略可) 地理的な場所の経度座標。

## 要件

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

## 関連項目

[PFTypes メンバー](/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFPlayerProfileModel](/ja-jp/services/playfab/api-references/c/pftypes/structs/pfplayerprofilemodel.md)
- [Services C API overview - PFTypes.h](/ja-jp/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PlayerLocation](/ja-jp/services/playfab/api-references/events/data-types/playerlocation.md)
- [EventLocation](/ja-jp/services/playfab/api-references/events/data-types/eventlocation.md)
- [GameInputLocation](/ja-jp/reference/input/gameinput/deprecated/enums/gameinputlocation.md)
