IOnlinePurchase::IsAllowedToPurchase

Determine if user is allowed to purchase from store

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePurchaseInterface.h

Include

#include "Interfaces/OnlinePurchaseInterface.h"

Syntax

bool IsAllowedToPurchase
(
    const FUniqueNetId & UserId
)

Remarks

Determine if user is allowed to purchase from store

Returns

true if user can make a purchase

Parameters

Parameter

Description

UserId

user initiating the request

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