| IModularFeature
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePlayTimeLimit.h |
Include |
#include "Interfaces/OnlinePlayTimeLimit.h" |
class IOnlinePlayTimeLimit : public IModularFeature
Interface to provide play time limits
Name | Description | |
---|---|---|
|
~IOnlinePlayTimeLimit() |
Destructor |
Name | Description | ||
---|---|---|---|
|
GetModularFeatureName() |
Get the name of the modular feature, to be used to get the implementations |
|
|
GetPlayTimeMinutes ( |
Get the play time in minutes for the user |
|
|
float |
GetRewardRate ( |
Get the reward amount multiplier for the user Expected to start at 1.0 (full rewards), and is reduced based on their play time |
|
FWarnUserPla... |
GetWarnUserPlayTimeDelegate() |
Delegate called when a warning should be displayed to the user. See FWarnUserPlayTimeDelegate |
|
HasTimeLimit ( |
Does the user have a play time limit? |