|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <ArticyImportData.h>
Public Member Functions | |
| void | PostInitProperties () override |
| void | GetAssetRegistryTags (TArray< FAssetRegistryTag > &OutTags) const override |
| void | PostImport () |
| bool | ImportFromJson (const UArticyArchiveReader &Archive, const TSharedPtr< FJsonObject > RootObject) |
| const FAdiSettings & | GetSettings () const |
| FAdiSettings & | GetSettings () |
| const FArticyProjectDef & | GetProject () const |
| const FArticyGVInfo & | GetGlobalVars () const |
| const FADIHierarchy & | GetHierarchy () const |
| const FArticyObjectDefinitions & | GetObjectDefs () const |
| const FArticyPackageDefs & | GetPackageDefs () const |
| TArray< TSoftObjectPtr< UArticyPackage > > & | GetPackages () |
| TArray< UArticyPackage * > | GetPackagesDirect () |
| const TArray< TSoftObjectPtr< UArticyPackage > > & | GetPackages () const |
| const TArray< FAIDScriptMethod > & | GetUserMethods () const |
| void | GatherScripts () |
| void | AddScriptFragment (const FString &Fragment, const bool bIsInstruction) |
| const TSet< FArticyExpressoFragment > & | GetScriptFragments () const |
| void | AddChildToParentCache (FArticyId Parent, FArticyId Child) |
| const TMap< FArticyId, FArticyIdArray > & | GetParentChildrenCache () const |
| void | BuildCachedVersion () |
| void | ResolveCachedVersion () |
| bool | HasCachedVersion () const |
| void | SetInitialImportComplete () |
Static Public Member Functions | |
| static const TWeakObjectPtr< UArticyImportData > | GetImportData () |
Public Attributes | |
| class UAssetImportData * | ImportData |
| FArticyLanguages | Languages |
Protected Attributes | |
| FArticyImportDataStruct | CachedData |
| bool | bHasCachedVersion = false |
Friends | |
| class | FArticyEditorFunctionLibrary |
Main class for handling Articy import data.
Adds a child to the parent-child cache.
| Parent | The parent Articy ID. |
| Child | The child Articy ID. |
| void UArticyImportData::AddScriptFragment | ( | const FString & | Fragment, |
| const bool | bIsInstruction ) |
Adds a script fragment to the import data.
| Fragment | The script fragment to add. |
| bIsInstruction | Whether the fragment is an instruction. |
| void UArticyImportData::BuildCachedVersion | ( | ) |
Builds a cached version of the import data.
| void UArticyImportData::GatherScripts | ( | ) |
Gathers scripts from the import data.
|
static |
Retrieves the import data object.
| TArray< UArticyPackage * > UArticyImportData::GetPackagesDirect | ( | ) |
Retrieves the list of packages directly.
| bool UArticyImportData::ImportFromJson | ( | const UArticyArchiveReader & | Archive, |
| const TSharedPtr< FJsonObject > | RootObject ) |
Imports data from a JSON object using the specified archive.
| Archive | The archive reader. |
| RootObject | The root JSON object. |
| void UArticyImportData::PostImport | ( | ) |
Handles actions to perform after importing data.
|
override |
Initializes properties after construction.
| void UArticyImportData::ResolveCachedVersion | ( | ) |
Resolves the cached version of the import data.