|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <PackagesImport.h>
Public Member Functions | |
| void | ImportFromJson (const UArticyArchiveReader &Archive, const TSharedPtr< FJsonObject > &JsonPackage) |
| void | GatherScripts (UArticyImportData *Data) const |
| void | GatherText (const TSharedPtr< FJsonObject > &Json) |
| UArticyPackage * | GeneratePackageAsset (UArticyImportData *Data) const |
| TMap< FString, FArticyTexts > | GetTexts () const |
| FString | GetFolder () const |
| FString | GetFolderName () const |
| const FString | GetName () const |
| const FString | GetPreviousName () const |
| void | SetName (const FString &NewName) |
| FArticyId | GetId () const |
| bool | GetIsIncluded () const |
| FString | GetScriptFragmentHash () const |
| bool | operator== (const FArticyPackageDef &Other) const |
Represents a package definition in Articy with properties for ID, name, description, and models.
| void FArticyPackageDef::GatherScripts | ( | UArticyImportData * | Data | ) | const |
Gathers scripts from the package definition and adds them to the ArticyImportData.
| Data | A pointer to the UArticyImportData object. |
| void FArticyPackageDef::GatherText | ( | const TSharedPtr< FJsonObject > & | Json | ) |
Gathers text data from a JSON object and adds it to the package definition.
| Json | A shared pointer to the JSON object containing the text data. |
| UArticyPackage * FArticyPackageDef::GeneratePackageAsset | ( | UArticyImportData * | Data | ) | const |
Generates a package asset from the package definition.
| Data | A pointer to the UArticyImportData object. |
| FString FArticyPackageDef::GetFolder | ( | ) | const |
Gets the folder path for the package.
| FString FArticyPackageDef::GetFolderName | ( | ) | const |
Gets the folder name for the package.
| FArticyId FArticyPackageDef::GetId | ( | ) | const |
Gets the ID of the package.
| bool FArticyPackageDef::GetIsIncluded | ( | ) | const |
Checks if the package is included.
| const FString FArticyPackageDef::GetName | ( | ) | const |
Gets the name of the package.
| const FString FArticyPackageDef::GetPreviousName | ( | ) | const |
Gets the previous name of the package.
| FString FArticyPackageDef::GetScriptFragmentHash | ( | ) | const |
Gets the script fragment hash for the package definition.
| TMap< FString, FArticyTexts > FArticyPackageDef::GetTexts | ( | ) | const |
Gets the texts map from the package definition.
| void FArticyPackageDef::ImportFromJson | ( | const UArticyArchiveReader & | Archive, |
| const TSharedPtr< FJsonObject > & | JsonPackage ) |
Imports package definition data from a JSON object.
| Archive | A reference to the ArticyArchiveReader object. |
| JsonPackage | A shared pointer to the JSON object containing the package definition. |
|
inline |
Equality operator for package definitions based on ID.
| Other | The other package definition to compare with. |
| void FArticyPackageDef::SetName | ( | const FString & | NewName | ) |
Sets the name of the package.
| NewName | The new name for the package. |