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

# XStoreAddonLicense

> XStoreAddonLicense

# XStoreAddonLicense

アドオン ライセンスを表します。

## Syntax

```cpp theme={null}
typedef struct XStoreAddonLicense {  
    char skuStoreId[STORE_SKU_ID_SIZE];  
    char inAppOfferToken[IN_APP_OFFER_TOKEN_MAX_SIZE];  
    bool isActive;  
    time_t expirationDate;  
} XStoreAddonLicense  
```

### Members

*skuStoreId*\
型: char\[STORE\_SKU\_ID\_SIZE]

ライセンスの SKU ID。

*inAppOfferToken*\
型: char\[IN\_APP\_OFFER\_TOKEN\_MAX\_SIZE]

内部的にアイテムをマッピングするために使用できる、タイトル定義のオファー トークン。例: com.company.product.itemname。

*isActive*\
型: bool

ライセンスが有効かどうかを示します。

*expirationDate*\
型: time\_t

ライセンスの有効期限。

## Remarks

アドオンとは、ゲームのコンテキストで顧客に提供する製品または機能のことです。例: ゲーム内で使用する通貨、ゲームの新しいマップや武器、ゲームを広告なしでプレイする機能など。すべてのゲームおよびアドオンには、ユーザーがゲームまたはアドオンをプレイする権利を持っているかどうかを示す関連ライセンスがあります。ユーザーがゲームまたはアドオンを試用としてプレイする権利を持っている場合、ライセンスには試用に関する追加情報も含まれます。**XStoreAddonLicense** は、[XStoreQueryAddOnLicensesResult](/reference/system/xstore/functions/xstorequeryaddonlicensesresult) 関数のパラメーターです。

## Requirements

**ヘッダー:** XStore.h (XGameRuntime.h に含まれる)

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

## See also

[XStore](/reference/system/xstore/xstore_members)\
[XStoreQueryAddOnLicensesResult](/reference/system/xstore/functions/xstorequeryaddonlicensesresult)


## Related topics

- [XStoreQueryAddOnLicensesResult](/ja-jp/reference/system/xstore/functions/xstorequeryaddonlicensesresult.md)
- [XStore](/ja-jp/reference/system/xstore/xstore_members.md)
- [XStoreQueryAddOnLicensesAsync](/ja-jp/reference/system/xstore/functions/xstorequeryaddonlicensesasync.md)
- [XStoreQueryAddOnLicensesResultCount](/ja-jp/reference/system/xstore/functions/xstorequeryaddonlicensesresultcount.md)
- [XStoreIsLicenseValid](/ja-jp/reference/system/xstore/functions/xstoreislicensevalid.md)
