Enum
BenefitType
Indicates the type of virtual benefit granted to a user when they purchase a
commerce product through CommerceService.
The BenefitType enum classifies the virtual items that a user receives as
part of a CommerceService commerce product purchase. Each benefit
entry returned by CommerceService:GetCommerceProductInfoAsync()
includes a BenefitType field that identifies whether the granted item is a
developer product, an individual avatar asset, or an avatar bundle.
Items 3#
| Name | Value | Summary |
|---|---|---|
DeveloperProduct | 0 | The benefit is a developer product whose receipt is delivered through
MarketplaceService:BindReceiptHandler() upon purchase of a
commerce product. |
AvatarAsset | 1 | The benefit is a single avatar asset granted to the user's inventory upon purchase of a commerce product. |
AvatarBundle | 2 | The benefit is an avatar bundle granted to the user's inventory upon purchase of a commerce product. |