|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <PackagesImport.h>
Public Member Functions | |
| void | ImportFromJson (const UArticyArchiveReader &Archive, const TArray< TSharedPtr< FJsonValue > > *Json, FAdiSettings &Settings) |
| bool | ValidateImport (const UArticyArchiveReader &Archive, const TArray< TSharedPtr< FJsonValue > > *Json) |
| void | GatherScripts (UArticyImportData *Data) const |
| void | GenerateAssets (UArticyImportData *Data) const |
| TSet< FString > | GetPackageNames () const |
| TArray< FArticyPackageDef > | GetPackages () const |
| void | ResetPackages () |
Static Public Member Functions | |
| static TMap< FString, FArticyTexts > | GetTexts (const FArticyPackageDef &Package) |
Contains information about all imported packages and provides methods for importing, validating, and generating package assets.
| void FArticyPackageDefs::GatherScripts | ( | UArticyImportData * | Data | ) | const |
Gathers scripts from all package definitions and adds them to the ArticyImportData.
| Data | A pointer to the UArticyImportData object. |
| void FArticyPackageDefs::GenerateAssets | ( | UArticyImportData * | Data | ) | const |
Generates assets for all package definitions and stores them in the ArticyImportData.
| Data | A pointer to the UArticyImportData object. |
| TSet< FString > FArticyPackageDefs::GetPackageNames | ( | ) | const |
Gets a set of package names from the package definitions.
| TArray< FArticyPackageDef > FArticyPackageDefs::GetPackages | ( | ) | const |
Gets an array of package definitions.
|
static |
Gets the texts map from a specific package definition.
| Package | The package definition to retrieve texts from. |
| void FArticyPackageDefs::ImportFromJson | ( | const UArticyArchiveReader & | Archive, |
| const TArray< TSharedPtr< FJsonValue > > * | Json, | ||
| FAdiSettings & | Settings ) |
Imports package definitions from a JSON array.
| Archive | A reference to the ArticyArchiveReader object. |
| Json | A pointer to the JSON array containing the package definitions. |
| Settings | A reference to the FADISettings object. |
| void FArticyPackageDefs::ResetPackages | ( | ) |
Resets the packages array, clearing all package definitions.
| bool FArticyPackageDefs::ValidateImport | ( | const UArticyArchiveReader & | Archive, |
| const TArray< TSharedPtr< FJsonValue > > * | Json ) |
Validates the import of package definitions from a JSON array.
| Archive | A reference to the ArticyArchiveReader object. |
| Json | A pointer to the JSON array containing the package definitions. |