| TSharedFromThis
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineFramework/Source/PlayTimeLimit/Public/PlayTimeLimitUserMock.h |
Include |
#include "PlayTimeLimitUserMock.h" |
class FPlayTimeLimitUserMock : public FPlayTimeLimitUser
Mock implementation of FPlayTimeLimitUser
Name | Description | ||
---|---|---|---|
|
const bool |
bHasTimeLimit |
Do the time limits apply to the user? |
|
const double |
PlayTimeMinutesStart |
Override time played. Effective time played is PlayTimeMinutesStart + (Now - TimeOverrideSet) |
|
const double |
TimeOverrideSet |
The time this override was set. |
Name | Description | |
---|---|---|
|
FPlayTimeLimitUserMock ( |
Name | Description | ||
---|---|---|---|
|
GetPlayTimeMinutes() |
Get the number of minutes this user has played |
|
|
float |
GetRewardRate() |
Get the current reward rate |
|
HasTimeLimit() |
Check if the user has a play time limit |