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

# 消耗型附加内容

> 配置 Store 托管和开发者托管的消耗型附加内容，用于销售有限使用次数的游戏内物品，例如虚拟货币和可多次购买的库存。

消耗型附加内容可用于向客户提供有限使用次数的游戏内物品，这些物品可以多次购买并按配置的接收数量使用。例如，用于提供可在游戏内商店中花费的虚拟货币。你可以配置两种类型的消耗型附加内容：**消耗型（Microsoft Store 托管）** 和 **消耗型（开发者托管）**。

## 消耗型（Microsoft Store 托管）

Microsoft Store 托管的消耗品在被履行之前可以多次购买。可以通过 Microsoft Store 或你自己的自定义服务来跟踪客户的余额。

## 消耗型（开发者托管）

开发者托管的消耗品只有在前一次购买被报告为已履行至 Store 后，同一客户才能再次购买。

有关更多信息，请参阅 [产品创建和上线](/publishing/game-publishing/publishing-processes/managed-creators/publishing-processes-product-onboarding-and-configuration)。

## 创建和配置消耗品

1. 在 Partner Center 中导航到你的游戏产品。
2. 从左侧导航中选择 **Add-ons**。
3. 在 **Add-ons** 页面，选择 **+ Create a new\...**，然后选择 **Consumable (Microsoft Store-managed)** 或 **Consumable (Developer-managed)**。
4. 为消耗品输入一个标识符。它将显示在 Partner Center UI 中，并在游戏代码中引用。

有关更多信息，请参阅 [创建并发布附加内容](/publishing/game-publishing/tutorial-xbox-managed/how-to-create-use-publish-add-ons)。

## 其他注意事项

如果你想向客户提供不同数量的消耗品，请为每种数量创建一个附加内容。在每个附加内容的 **Consumable setup** 页面中设置数量。你可以将数量设为 1，并使用游戏内逻辑向客户授予相应数量的物品；或者可以将数量设置为客户将收到的物品的相应数量。有关更多信息，请参阅 [基于消耗品的生态系统](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/commerce/fundamentals/xstore-consumable-based-ecosystems)。

## 后续步骤

<CardGroup cols={1}>
  <Card title="如何在捆绑包中添加和编辑产品" href="/publishing/game-publishing/how-to/how-to-addeditproductstobundle" />
</CardGroup>

## 另请参阅

* [附加内容](/publishing/game-publishing/concepts/add-ons)
* [可用性 - 市场、定价、发布时间表](/publishing/game-publishing/concepts/availability/availability-overview)
* [选择合适的产品类型](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/commerce/getting-started/xstore-choosing-the-right-product-type)


## Related topics

- [附加内容（Add-ons）](/zh-CN/publishing/game-publishing/concepts/add-ons.md)
- [游戏的产品共享模式](/zh-CN/publishing/xstore-commerce/xstore-product-sharing.md)
- [持久型附加内容](/zh-CN/publishing/game-publishing/concepts/add-ons/durable-add-ons.md)
- [FMA XR-123:游戏过程中安装和解锁附加内容](/zh-CN/publishing/certification/fma/xr-123.md)
- [XR-123 在游戏期间安装和解锁附加内容](/zh-CN/publishing/certification/xr/xr-123.md)
