FPlayTimeLimitUser

Information about a user we are observing the play time and instituting limits for

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

PlayTimeLimit

Header

/Engine/Plugins/Online/OnlineFramework/Source/PlayTimeLimit/Public/PlayTimeLimitUser.h

Include

#include "PlayTimeLimitUser.h"

Syntax

Remarks

Information about a user we are observing the play time and instituting limits for

Variables

Name Description

Protected variable

float

 

LastKnownRewardRate

Last known reward rate so we can alert on changes

Protected variable

TOptional< doub...

 

NextNotificationTime

Time for the next notification (or empty for no notification)

Public variable

FString

 

OverrideButtonText

Public variable

FString

 

OverrideDialogText

Public variable

FString

 

OverrideDialogTitle

Protected variable

FUniqueNetIdRef

 

UserId

The user id

Constructors

Name Description

Public function

FPlayTimeLimitUser

(
    const FUniqueNetIdRef& InUserId
)

Constructor

Destructors

Name Description

Public function Virtual

~FPlayTimeLimitUser()

Destructor

Functions

Name Description

Public function Virtual

void

 

ClearDialogOverrideText()

Clear override dialog text

Public function Const

float

 

GetLastKnownRewardRate()

Get the last known reward rate

Public function Const

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

Public function Const

int32

 

GetPlayTimeMinutes()

Get the number of minutes this user has played

Public function Const

float

 

GetRewardRate()

Get the current reward rate

Public function Const

FUniqueNetId...

 

GetUserId()

Get the user's unique id

Public function Const

bool

 

HasTimeLimit()

Check if the user has a play time limit

Public function Virtual

void

 

Init()

Public function

void

 

SetLastKnownRewardRate

(
    float InLastKnownRewardRate
)

Set the last known reward rate

Public function Virtual

void

 

SetNextNotificationTime

(
    const TOptional< double >& InNextN...
)

Set the next time to send the user a notification

Public function Virtual

void

 

Tick()

Tick

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss