FFeaturePackContentSource

A content source which represents a content upack.

Windows
MacOS
Linux

Inheritance Hierarchy

IContentSource

FFeaturePackContentSource

References

Module

AddContentDialog

Header

/Engine/Source/Editor/AddContentDialog/Public/FeaturePackContentSource.h

Include

#include "FeaturePackContentSource.h"

Syntax

class FFeaturePackContentSource : public IContentSource

Remarks

A content source which represents a content upack.

Variables

Name Description

Public variable

TArray< FString...

 

ParseErrors

Errors found when parsing manifest (if any)

Constructors

Name Description

Public function

FFeaturePackContentSource()

Public function

FFeaturePackContentSource

(
    FString InFeaturePackPath
)

Destructors

Name Description

Public function Virtual

~FFeaturePackContentSource()

Functions

Name Description

Public function

void

 

BuildListOfAdditionalFiles

(
    TArray< FString >& AdditionalFileS...,
    TArray< FString >& FileList,
    bool& bContainsSourceFiles
)

Public function

void

 

CopyAdditionalFilesToFolder

(
    const FString& DestinationFolder,
    TArray< FString >& FilesCopied,
    bool& bHasSourceFiles,
    FString InGameFolder
)

Copies the list of files specified in 'AdditionFilesToInclude' section in the config.ini of the feature pack.

Public function

bool

 

GetAdditionalFilesForPack

(
    TArray< FString >& FileList,
    bool& bContainsSource
)

Returns a list of additional files (including the path) as specified in the config file if one exists in the pack file.

Public function Virtual Const

EContentSour...

 

GetCategory()

Gets the category for the content source.

Public function Virtual Const

FString

 

GetClassTypesUsed()

Gets the class types used in this pack.

Public function Const

FString

 

GetFocusAssetName()

Public function Virtual Const

TSharedPtr< ...

 

GetIconData()

Gets the image data for the icon which should represent the content source in the UI.

Public function Virtual Const

FString

 

GetIdent()

Get the identifier of the pack.

Public function Virtual Const

TArray< FLoc...

 

GetLocalizedAssetTypes()

Gets the asset types used in this pack.

Public function Virtual Const

TArray< FLoc...

 

GetLocalizedDescriptions()

Gets the description of the content source as an array or localized strings.

Public function Virtual Const

TArray< FLoc...

 

GetLocalizedNames()

Gets the name of the content source as an array of localized strings.

Public function Virtual Const

TArray< TSha...

 

GetScreenshotData()

Gets an array or image data for screenshots for the content source.

Public function Virtual Const

FString

 

GetSortKey()

Gets the category for the content source.

Public function Static

void

 

ImportPendingPacks()

Public function

void

 

InsertAdditionalFeaturePacks()

Public function

bool

 

InsertAdditionalResources

(
    TArray< FFeaturePackLevelSet > InAd...,
    EFeaturePackDetailLevel RequiredLev...,
    const FString& InDestinationFolder,
    TArray< FString >& InFilesCopied
)

Public function Virtual

bool

 

InstallToProject

(
    FString InstallPath
)

Installs the content in the content source to the specific path.

Public function Virtual Const

bool

 

IsDataValid()

Is the data in this content valid.

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