Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlinePurchase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsAllowedToPurchase
(
const FUniqueNetId& UserId |
Determine if user is allowed to purchase on this platform from a policy or permission perspective | Interfaces/OnlinePurchaseInterface.h | |
bool IsAllowedToPurchase
(
const FUniqueNetId& UserId, |
Determine if user is allowed to purchase from store on this platform from a policy or permission perspective | Interfaces/OnlinePurchaseInterface.h |
IsAllowedToPurchase(const FUniqueNetId &)
Description
Determine if user is allowed to purchase on this platform from a policy or permission perspective
| Name | IsAllowedToPurchase |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePurchaseInterface.h |
| Include Path | #include "Interfaces/OnlinePurchaseInterface.h" |
bool IsAllowedToPurchase
(
const FUniqueNetId & UserId
)
true if user is allowed to make a purchase
Parameters
| Name | Remarks |
|---|---|
| UserId | user initiating the request |
IsAllowedToPurchase(const FUniqueNetId &, FOnlineError &)
Description
Determine if user is allowed to purchase from store on this platform from a policy or permission perspective
| Name | IsAllowedToPurchase |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePurchaseInterface.h |
| Include Path | #include "Interfaces/OnlinePurchaseInterface.h" |
bool IsAllowedToPurchase
(
const FUniqueNetId & UserId,
FOnlineError & Error
)
true if user is allowed to make a purchase
Parameters
| Name | Remarks |
|---|---|
| UserId | user initiating the request |
| Error | an error result indicating why the the user isn't allowed when relevant and available. |