FPlayTimeLimitImpl::MockUser

Override a user's play time For testing the system without needing to potentially wait hours - waiting to accumulate time and waiting for the time to reset

Windows
MacOS
Linux

References

Module

PlayTimeLimit

Header

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

Include

#include "PlayTimeLimitImpl.h"

Source

/Engine/Plugins/Online/OnlineFramework/Source/PlayTimeLimit/Private/PlayTimeLimitImpl.cpp

Syntax

void MockUser
(
    const FUniqueNetId & UserId,
    const bool bHasTimeLimit,
    const double CurrentPlayTimeMinutes
)

Remarks

Override a user's play time For testing the system without needing to potentially wait hours - waiting to accumulate time and waiting for the time to reset

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