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

# XPackageInstallationProgress

> XPackageInstallationProgress

# XPackageInstallationProgress

包含有关安装进度的信息。

<a id="syntaxSection" />

## 语法

```cpp theme={null}
typedef struct XPackageInstallationProgress {  
    uint64_t totalBytes;  
    uint64_t installedBytes;  
    uint64_t launchBytes;  
    bool launchable;  
    bool completed;  
} XPackageInstallationProgress  
```

<a id="membersSection" />

### 成员

*totalBytes*\
类型：uint64\_t

正在安装的总字节数。

*installedBytes*\
类型：uint64\_t

到目前为止已安装的字节数。

*launchBytes*\
类型：uint64\_t

启动游戏所需的字节数。

*launchable*\
类型：bool

指示当前是否可以启动安装。

*completed*\
类型：bool

指示安装是否已完成。

<a id="remarksSection" />

## 备注

`XPackageInstallationProgress` 结构提供有关包安装进度的详细信息。`XPackageInstallationProgress` 指示正在安装的字节数。它指示已安装的字节数以及启动游戏所需的字节数。它还让你知道包安装过程何时完成。

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

<a id="requirementsSection" />

## 要求

**头文件：** XPackage.h

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

<a id="seealsoSection" />

## 另请参阅

[可下载内容 (DLC) 包概述](/build/core-features/common/packaging/packaging-downloadable-content-dlc)\
[XPackage](/reference/system/xpackage/xpackage_members)


## Related topics

- [XPackageGetInstallationProgress](/zh-CN/reference/system/xpackage/functions/xpackagegetinstallationprogress.md)
- [XPackage](/zh-CN/reference/system/xpackage/xpackage_members.md)
- [XPackageInstallationProgressCallback](/zh-CN/reference/system/xpackage/functions/xpackageinstallationprogresscallback.md)
- [XPackageRegisterInstallationProgressChanged](/zh-CN/reference/system/xpackage/functions/xpackageregisterinstallationprogresschanged.md)
- [XPackageUnregisterInstallationProgressChanged](/zh-CN/reference/system/xpackage/functions/xpackageunregisterinstallationprogresschanged.md)
