Navigation
API > API/Editor > API/Editor/AddContentDialog
A content source which represents a content upack.
| Name | FFeaturePackContentSource |
| Type | class |
| Header File | /Engine/Source/Editor/AddContentDialog/Public/FeaturePackContentSource.h |
| Include Path | #include "FeaturePackContentSource.h" |
Syntax
class FFeaturePackContentSource : public IContentSource
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| FeaturePackContentSource.h | |||
FFeaturePackContentSource
(
FString InFeaturePackPath |
FeaturePackContentSource.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FFeaturePackContentSource() |
FeaturePackContentSource.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ParseErrors | TArray< FString > | Errors found when parsing manifest (if any) | FeaturePackContentSource.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AdditionalFeaturePacks | TArray< FFeaturePackLevelSet > | Other feature packs this pack needs (shared assets) | FeaturePackContentSource.h | |
| AdditionalFilesForPack | FFeatureAdditionalFiles | Additional files to copy when installing this pack | FeaturePackContentSource.h | |
| bContentsInPakFile | bool | Are the contents in a pack file or did we just read a manifest for the pack | FeaturePackContentSource.h | |
| bPackValid | bool | True if the pack is valid | FeaturePackContentSource.h | |
| Categories | TArray< EContentSourceCategory > | Defines the type(s) of feature pack this is | FeaturePackContentSource.h | |
| ClassTypes | FString | Comma delimited string listing the class types | FeaturePackContentSource.h | |
| FeaturePackPath | FString | The path of the file we used to create this feature pack instance | FeaturePackContentSource.h | |
| FocusAssetIdent | FString | Asset to focus after loading the pack | FeaturePackContentSource.h | |
| IconData | TSharedPtr< FImageData > | Image data for the icon | FeaturePackContentSource.h | |
| IconFilename | FString | Filename of the icon | FeaturePackContentSource.h | |
| Identity | FString | FeaturePackContentSource.h | ||
| LocalizedAssetTypesList | TArray< FLocalizedText > | Array of localised assset type names | FeaturePackContentSource.h | |
| LocalizedDescriptions | TArray< FLocalizedText > | Array of localised descriptions | FeaturePackContentSource.h | |
| LocalizedNames | TArray< FLocalizedText > | Array of localised names | FeaturePackContentSource.h | |
| LocalizedSearchTags | TArray< FLocalizedTextArray > | Tags searched when typing in the super search box | FeaturePackContentSource.h | |
| MountPoint | FString | Feature pack mount point | FeaturePackContentSource.h | |
| ScreenshotData | TArray< TSharedPtr< FImageData > > | Image data of the preview screenshots | FeaturePackContentSource.h | |
| ScreenshotFilenameArray | TArray< TSharedPtr< FJsonValue > > | Filenames of the preview screenshots | FeaturePackContentSource.h | |
| SortKey | FString | Key used when sorting in the add dialog | FeaturePackContentSource.h | |
| VersionNumber | FString | FeaturePackContentSource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildListOfAdditionalFiles
(
TArray< FString >& AdditionalFileSourceList, |
FeaturePackContentSource.h | ||
void CopyAdditionalFilesToFolder
(
const FString& DestinationFolder, |
Copies the list of files specified in 'AdditionFilesToInclude' section in the config.ini of the feature pack. | FeaturePackContentSource.h | |
bool GetAdditionalFilesForPack
(
TArray< FString >& FileList, |
Returns a list of additional files (including the path) as specified in the config file if one exists in the pack file. | FeaturePackContentSource.h | |
virtual const TArray< EContentSourceCategory > & GetCategories() |
Gets the category for the content source. | FeaturePackContentSource.h | |
virtual const FString & GetClassTypesUsed() |
Gets the class types used in this pack. | FeaturePackContentSource.h | |
const FString & GetFocusAssetName() |
FeaturePackContentSource.h | ||
virtual TSharedPtr< FImageData > GetIconData() |
Gets the image data for the icon which should represent the content source in the UI. | FeaturePackContentSource.h | |
virtual const FString & GetIdent() |
Gets the identity of the content. | FeaturePackContentSource.h | |
virtual const TArray< FLocalizedText > & GetLocalizedAssetTypes() |
Gets the asset types used in this pack. | FeaturePackContentSource.h | |
virtual const TArray< FLocalizedText > & GetLocalizedDescriptions() |
Gets the description of the content source as an array or localized strings. | FeaturePackContentSource.h | |
virtual const TArray< FLocalizedText > & GetLocalizedNames() |
Gets the name of the content source as an array of localized strings. | FeaturePackContentSource.h | |
virtual const TArray< TSharedPtr< FImageData > > & GetScreenshotData() |
Gets an array or image data for screenshots for the content source. | FeaturePackContentSource.h | |
virtual const FString & GetSortKey() |
Gets the category for the content source. | FeaturePackContentSource.h | |
void InsertAdditionalFeaturePacks() |
FeaturePackContentSource.h | ||
bool InsertAdditionalResources
(
TArray< FFeaturePackLevelSet > InAdditionalFeaturePacks, |
FeaturePackContentSource.h | ||
virtual bool InstallToProject
(
FString InstallPath |
Installs the content in the content source to the specific path. | FeaturePackContentSource.h | |
virtual bool IsDataValid() |
Is the data in this content valid. | FeaturePackContentSource.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ImportPendingPacks() |
FeaturePackContentSource.h | ||
static void ParseAndImportPacks() |
FeaturePackContentSource.h |