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

# PFVirtualCurrencyRechargeTime

> PFVirtualCurrencyRechargeTime data model.

PFVirtualCurrencyRechargeTime data model.

## Syntax

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

### Members

**`rechargeMax`**   int32\_t

Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value.

**`rechargeTime`**   time\_t

Server timestamp in UTC indicating the next time the virtual currency will be incremented.

**`secondsToRecharge`**   int32\_t

Time remaining (in seconds) before the next recharge increment of the virtual currency.

## Requirements

**Header:** PFTypes.h

## See also

[PFTypes members](/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFVirtualCurrencyRechargeTimeDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfvirtualcurrencyrechargetimedictionaryentry.md)
- [Services C API overview - PFTypes.h](/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [Manage Virtual Currencies in Economy (Legacy)](/services/playfab/economy-monetization/economy/tutorials/currencies.md)
- [PFGetPlayerCombinedInfoResultPayload](/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforesultpayload.md)
- [What is PlayFab?](/services/playfab/get-started/what-is-playfab.md)
