#include <ArticyJSONFactory.h>
|
| | UArticyJSONFactory () |
| virtual | ~UArticyJSONFactory () override |
| virtual bool | FactoryCanImport (const FString &Filename) override |
| virtual UClass * | ResolveSupportedClass () override |
| virtual UObject * | FactoryCreateFile (UClass *InClass, UObject *InParent, FName InName, EObjectFlags Flags, const FString &Filename, const TCHAR *Parms, FFeedbackContext *Warn, bool &bOutOperationCanceled) override |
| virtual bool | CanReimport (UObject *Obj, TArray< FString > &OutFilenames) override |
| virtual void | SetReimportPaths (UObject *Obj, const TArray< FString > &NewReimportPaths) override |
| virtual EReimportResult::Type | Reimport (UObject *Obj) override |
Factory for importing JSON files exported from Articy:draft.
◆ UArticyJSONFactory()
| UArticyJSONFactory::UArticyJSONFactory |
( |
| ) |
|
◆ ~UArticyJSONFactory()
| UArticyJSONFactory::~UArticyJSONFactory |
( |
| ) |
|
|
overridevirtual |
◆ CanReimport()
| bool UArticyJSONFactory::CanReimport |
( |
UObject * | Obj, |
|
|
TArray< FString > & | OutFilenames ) |
|
overridevirtual |
Determines if the factory can reimport the specified object.
- Parameters
-
| Obj | The object to reimport. |
| OutFilenames | The list of filenames for reimporting. |
- Returns
- true if the factory can reimport the object, false otherwise.
◆ FactoryCanImport()
| bool UArticyJSONFactory::FactoryCanImport |
( |
const FString & | Filename | ) |
|
|
overridevirtual |
Determines if the factory can import the specified file.
- Parameters
-
| Filename | The name of the file to check. |
- Returns
- true if the factory can import the file, false otherwise.
Checks if the factory can import the specified file.
- Parameters
-
| Filename | The name of the file to check. |
- Returns
- true if the factory can import the file, false otherwise.
◆ FactoryCreateFile()
| UObject * UArticyJSONFactory::FactoryCreateFile |
( |
UClass * | InClass, |
|
|
UObject * | InParent, |
|
|
FName | InName, |
|
|
EObjectFlags | Flags, |
|
|
const FString & | Filename, |
|
|
const TCHAR * | Parms, |
|
|
FFeedbackContext * | Warn, |
|
|
bool & | bOutOperationCanceled ) |
|
overridevirtual |
Creates an object from the specified file.
- Parameters
-
| InClass | The class to create. |
| InParent | The parent object. |
| InName | The name of the object. |
| Flags | Object flags. |
| Filename | The name of the file to import. |
| Parms | Additional parameters. |
| Warn | Feedback context for warnings and errors. |
| bOutOperationCanceled | Output flag indicating if the operation was canceled. |
- Returns
- The created object.
◆ Reimport()
| EReimportResult::Type UArticyJSONFactory::Reimport |
( |
UObject * | Obj | ) |
|
|
overridevirtual |
Reimports the specified object.
- Parameters
-
| Obj | The object to reimport. |
- Returns
- The result of the reimport operation.
◆ ResolveSupportedClass()
| UClass * UArticyJSONFactory::ResolveSupportedClass |
( |
| ) |
|
|
overridevirtual |
Resolves the class supported by this factory.
- Returns
- The class supported by this factory.
◆ SetReimportPaths()
| void UArticyJSONFactory::SetReimportPaths |
( |
UObject * | Obj, |
|
|
const TArray< FString > & | NewReimportPaths ) |
|
overridevirtual |
Sets the reimport paths for the specified object.
- Parameters
-
| Obj | The object to set reimport paths for. |
| NewReimportPaths | The new reimport paths. |
The documentation for this class was generated from the following files:
- Source/ArticyEditor/Public/ArticyJSONFactory.h
- Source/ArticyEditor/Private/ArticyJSONFactory.cpp