engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IPortalUser类 参考abstract

Interface for the Portal application's user services. 更多...

#include <IPortalUser.h>

继承自 IPortalService .

Public 成员函数

virtual TAsyncResult< FPortalUserDetails > GetUserDetails ()=0
 Requests the details of the last or currently signed in user
 
virtual TAsyncResult< FPortalUserIsEntitledToItemResult > IsEntitledToItem (const FString &ItemId, EEntitlementCacheLevelRequest CacheLevel)=0
 Returns whether the use is entitled to the specified Item Id. 更多...
 

详细描述

Interface for the Portal application's user services.

Specializes in readonly requests for information about the last or currently signed-in user.

成员函数说明

◆ IsEntitledToItem()

virtual TAsyncResult< FPortalUserIsEntitledToItemResult > IPortalUser::IsEntitledToItem ( const FString &  ItemId,
EEntitlementCacheLevelRequest  CacheLevel 
)
pure virtual

Returns whether the use is entitled to the specified Item Id.

参数
ItemIdThe guid for the catalog item to check the entitled state for
CacheLevelThe level at which to allow referencing cached data

Behavior will vary based on the entitlement cache level specified and whether the user is signed-in or not, or if the user is signed-in but latest entitlements have yet to be retrieved. See documentation about the entitlement cache levels for details.

In the case where there is no cached entitlement data and the latest entitlements have yet to be retrieved, then false will be returned. The Portal will not wait for the entitlements to update before returning a response. This state can be detected when the RetrievedFromCacheLevel is None.


该类的文档由以下文件生成: