Navigation
Unreal Engine C++ API Reference > Plugins > OnlineSubsystem > Interfaces > IOnlinePlayTimeLimit
- IOnlinePlayTimeLimit::GetRewardRate()
- FPlayTimeLimitImpl::GetRewardRate()
References
Module | OnlineSubsystem |
Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePlayTimeLimit.h |
Include | #include "Interfaces/OnlinePlayTimeLimit.h" |
float GetRewardRate
&40;
const FUniqueNetId & UserId
&41;
Remarks
Get the reward amount multiplier for the user Expected to start at 1.0 (full rewards), and is reduced based on their play time the reward amount multiplier
Parameters
Name | Description |
---|---|
UserId | the id of the user to check |