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

# XPackageKind

> XPackageKind

# XPackageKind

表示安裝套件的類型。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
enum class XPackageKind  : uint32_t  
{  
    Game,  
    Content,  
    PublisherContent  
}  
```

<a id="constantsSection" />

## 常數

| 常數 | 描述 |
| - | - |
| Game | 安裝套件包含遊戲。 |
| Content | 安裝套件包含可下載內容 (DLC)。 |
| PublisherContent | 安裝套件包含由發行者託管的內容。如需詳細資訊，請參閱 [Publisher Content 套件](/zh-TW/build/core-features/common/packaging/packaging-publisher-content)。 |

<a id="remarksSection" />

## 備註

此列舉中的常數表示用於遊戲和內容的安裝套件類型。如需搭配 XBOX One 遊戲使用之封裝技術的資訊，請參閱[封裝概觀](/zh-TW/build/core-features/common/packaging/overviews/packaging)。如需建立 XVC 套件之步驟的資訊，請參閱[開始封裝 XBOX 主機遊戲](/zh-TW/build/core-features/common/packaging/overviews/packaging-getting-started-for-console)。

<a id="requirementsSection" />

## 需求

**標頭：** XPackage.h

**支援的平台：** Windows、XBOX One 系列主機與 XBOX Series 主機

<a id="seealsoSection" />

## 另請參閱

[如何為 PC 和 XBOX One 建立及使用可下載內容套件 (DLC)](/zh-TW/build/core-features/common/packaging/packaging-downloadable-content-dlc)\
[Publisher Content 套件](/zh-TW/build/core-features/common/packaging/packaging-publisher-content)\
[XPackage](/zh-TW/reference/system/xpackage/xpackage_members)


## Related topics

- [XPackageKind](/reference/system/xpackage/enums/xpackagekind.md)
- [XPackageGetPackageKind](/reference/system/xpackage/functions/xpackagegetpackagekind.md)
