FGantryExperienceInfo
Everything a menu needs to show one experience, installed or not: its name, description, whether it can be played here, and where it sits in the experience tree.
Get Experience Info and Get All Experience Info return these. Use them to build a mode selection screen: show the name and description, grey out an entry whose Availability is not Available, and show its Availability Reason. For an experience whose content is not installed, the name, description and metadata come from the copy its parent keeps.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
ExperienceTag read-only | FGameplayTag | () | The experience's Experience Tag. Pass it to Set Experience By Tag to activate it. |
ExperienceGuid read-only | FGuid | 00000000000000000000000000000000 | The experience's Experience Guid; invalid only for content saved before it had one. |
Experience read-only | TSoftObjectPtr<UGantryExperienceDefinition> | None | The definition asset, loaded when installed. Use with Set Experience, or to read your own fields. |
DisplayName read-only | FText | Name to show in a menu or on a loading screen. | |
Description read-only | FText | One or two lines for a store or selection screen. | |
OwningPluginName read-only | FString | Game feature plugin the definition belongs to; empty for the game's own content. | |
Metadata read-only | FGantryContentMetadata | Build information and compatibility: the experience's own when installed, its parent's copy when not. | |
Availability read-only | EGantryExperienceAvailability | NotInstalled | Whether it can be activated on this machine right now, and if not, which kind of problem stops it. |
AvailabilityReason read-only | FString | Explanation fit to show a player when Availability is not Available; empty otherwise. | |
bInstalled read-only | bool | False | Whether its definition asset is present on this machine. |
bSideLoaded read-only | bool | False | True for side-loaded content: an experience no shipped asset lists, such as a DLC pack's. |
Depth read-only | int32 | 0 | How far below the base experience it activates; the base is 0. Lower depths activate first. |
Parents read-only | TArray<FGameplayTag> | The experiences it sits under: the one that lists it, or what it names in Attach To. Empty for the base. | |
Children read-only | TArray<FGameplayTag> | The experiences that sit directly under it, sorted by tag. | |
OptionalDependencies read-only | TArray<FGameplayTag> | Experiences it uses when they are present but never requires. | |
Extends read-only | TArray<FGameplayTag> | Experiences it extends: when it is available, it activates whenever one of them does. |