IOnlineEntitlements::GetItemEntitlement

Checks for and retrieves a single cached entitlement for a user

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineEntitlementsInterface.h"

Syntax

TSharedPtr< FOnlineEntitlement > GetItemEntitlement
(
    const FUniqueNetId & UserId,
    const FString & ItemId
)

Remarks

Checks for and retrieves a single cached entitlement for a user

Returns

entitlement entry if found, null otherwise

Parameters

Parameter

Description

UserId

the ID of the user to get this entitlement for

ItemId

the ID of the item to retrieve an entitlement for

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