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

# XPackageChunkSelectorType

> XPackageChunkSelectorType

# XPackageChunkSelectorType

指示选择器类型。

## 语法

```cpp theme={null}
enum class XPackageChunkSelectorType  : uint32_t  
{  
    Language,  
    Tag,  
    Chunk,  
    Feature  
}  
```

## 常量

| 常量 | 描述 |
| - | - |
| Language | 枚举语言属性。 |
| Tag | 枚举标签属性。 |
| Chunk | 枚举区块。 |
| Feature | 枚举功能。 |

## 备注

此枚举将选择器类型用于语言和标签属性。它还使用 chunk 常量来枚举安装区块。程序包包含构成游戏的所有文件。文件可以分组为称为区块的逻辑单元。区块具有数字 ID，也可以有零个或多个文本属性，如语言或用户定义的标签。许多 XPackage API 对区块组执行操作。

有关 XBOX One 游戏所使用的打包技术的信息，请参阅[打包概述](https://docs.xbox.com/zh-CN/build/core-features/common/packaging/overviews/packaging.md)。有关创建 XVC 程序包的步骤的信息，请参阅[开始为 XBOX 主机打包游戏](https://docs.xbox.com/zh-CN/build/core-features/common/packaging/overviews/packaging-getting-started-for-console.md)。

## 要求

**头文件：** XPackage.h

**支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[流式安装和 Intelligent Delivery](https://docs.xbox.com/zh-CN/build/core-features/common/packaging/overviews/streaming_install-intelligent_delivery.md)\
[XPackage](https://docs.xbox.com/zh-CN/reference/system/xpackage/xpackage_members.md)


## Related topics

- [XPackageChunkSelector](https://docs.xbox.com/zh-CN/reference/system/xpackage/structs/xpackagechunkselector.md)
- [XPackageEnumerateChunkAvailability](https://docs.xbox.com/zh-CN/reference/system/xpackage/functions/xpackageenumeratechunkavailability.md)
- [XPackage（API 内容）](https://docs.xbox.com/zh-CN/reference/system/xpackage/xpackage_members.md)
- [XPackageUninstallChunks](https://docs.xbox.com/zh-CN/reference/system/xpackage/functions/xpackageuninstallchunks.md)
- [XPackageFindChunkAvailability](https://docs.xbox.com/zh-CN/reference/system/xpackage/functions/xpackagefindchunkavailability.md)
