跳轉到主要內容
兌換項目。

語法

參數

entityHandle   PFEntityHandle 用於驗證的 PFEntityHandle。 request   PFInventoryRedeemGooglePlayInventoryItemsRequest* 已填入的要求物件。 async   XAsyncBlock*
Inout
用於非同步作業的 XAsyncBlock。

傳回值

類型:HRESULT 此 API 作業的結果代碼。

備註

此 API 適用於 Windows 和 Android。兌換來自 Google Play 商店的項目。當非同步工作完成時,請呼叫 PFInventoryRedeemGooglePlayInventoryItemsGetResultSize 和 PFInventoryRedeemGooglePlayInventoryItemsGetResult 以取得結果。

需求

標頭: PFInventory.h

另請參閱

PFInventory 成員
最後修改於 2026年10月6日