| TSharedFromThis
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineFramework/Source/PlayTimeLimit/Public/PlayTimeLimitUser.h |
Include |
#include "PlayTimeLimitUser.h" |
class FPlayTimeLimitUser : public TSharedFromThis< FPlayTimeLimitUser, ESPMode::ThreadSafe >
Information about a user we are observing the play time and instituting limits for
Name | Description | ||
---|---|---|---|
|
float |
LastKnownRewardRate |
Last known reward rate so we can alert on changes |
|
TOptional< doub... |
NextNotificationTime |
Time for the next notification (or empty for no notification) |
|
OverrideButtonText |
||
|
OverrideDialogText |
||
|
OverrideDialogTitle |
||
|
TSharedRef< con... |
UserId |
The user id |
Name | Description | |
---|---|---|
|
FPlayTimeLimitUser ( |
Constructor |
Name | Description | |
---|---|---|
|
~FPlayTimeLimitUser() |
Destructor |
Name | Description | ||
---|---|---|---|
|
ClearDialogOverrideText() |
Clear override dialog text |
|
|
float |
GetLastKnownRewardRate() |
Get the last known reward rate |
|
TOptional< d... |
GetNextNotificationTime() |
Get the next time we are scheduled to send the user a notification This is for the periodic notification; if the reward rate changes we will immediately display a notification |
|
GetPlayTimeMinutes() |
Get the number of minutes this user has played |
|
|
float |
GetRewardRate() |
Get the current reward rate |
|
TSharedRef< ... |
GetUserId() |
Get the user's unique id |
|
HasTimeLimit() |
Check if the user has a play time limit |
|
|
Init() |
||
|
SetLastKnownRewardRate ( |
Set the last known reward rate |
|
|
SetNextNotificationTime ( |
Set the next time to send the user a notification |
|
|
Tick() |
Tick |