IOnlineEntitlements::GetEntitlement

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 > GetEntitlement
(
    const FUniqueNetId & UserId,
    const FUniqueEntitlementId & EntitlementId
)

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

EntitlementId

the ID of the entitlement to retrieve

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