Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineEntitlementsInterface.h |
| Include | #include "Interfaces/OnlineEntitlementsInterface.h" |
Syntax
struct FOnlineEntitlement
Remarks
Details of an entitlement
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsConsumable | True if the entitlement is a consumable | |
| int32 | ConsumedCount | Number of prior uses for a consumable | |
| FString | EndDate | When the entitlement will expire | |
| FUniqueEntitlementId | Id | Unique Entitlement Id associated with this entitlement | |
| FString | ItemId | Id for the item that this entitlement is associated with | |
| FString | Name | Display name for the entitlement | |
| FString | Namespace | Namespace of the entitlement | |
| int32 | RemainingCount | Number of uses still available for a consumable | |
| FString | StartDate | When the entitlement started | |
| FString | Status | Current Status of the entitlement e.g. Active, Subscribe, Expire ... |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetAttribute
(
const FString& AttrName, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FOnlineEntitlement& Other |
Equality operator |