> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFVirtualCurrencyRechargeTime

> PFVirtualCurrencyRechargeTime 数据模型。

PFVirtualCurrencyRechargeTime 数据模型。

## 语法

```cpp theme={null}
typedef struct PFVirtualCurrencyRechargeTime {  
    int32_t rechargeMax;  
    time_t rechargeTime;  
    int32_t secondsToRecharge;  
} PFVirtualCurrencyRechargeTime;  
```

### 成员

**`rechargeMax`**   int32\_t

再生货币将自动递增到的最大值。请注意，通过使用 AddUserVirtualCurrency API 调用，该值可以超过此值。但是，只有在其低于此值之前，它才会自动再生。

**`rechargeTime`**   time\_t

UTC 服务器时间戳，指示虚拟货币下次递增的时间。

**`secondsToRecharge`**   int32\_t

虚拟货币下次充值递增前的剩余时间（以秒为单位）。

## 要求

**头文件：** PFTypes.h

## 另请参阅

[PFTypes 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)


## Related topics

- [PFVirtualCurrencyRechargeTimeDictionaryEntry](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfvirtualcurrencyrechargetimedictionaryentry.md)
- [服务 C API 概览 - PFTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [Add Virtual Currency Types](https://docs.xbox.com/api-reference/title-wide-data-management/add-virtual-currency-types.md)
- [List Virtual Currency Types](https://docs.xbox.com/api-reference/title-wide-data-management/list-virtual-currency-types.md)
- [Remove Virtual Currency Types](https://docs.xbox.com/api-reference/title-wide-data-management/remove-virtual-currency-types.md)
