12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #pragma once
- #include "Factories/Factory.h"
- #include "AkJsonFactory.generated.h"
- UCLASS(hidecategories=Object)
- class UAkJsonFactory : public UFactory
- {
- GENERATED_BODY()
- public:
- UAkJsonFactory(const class FObjectInitializer& ObjectInitializer);
- #if CPP
- /*------------------------------------------------------------------------------------
- UFactory Interface
- ------------------------------------------------------------------------------------*/
- /**
- * Create a new instance
- *
- * @param Class The type of class to create
- * @param InParent The parent class
- * @param Name The name of the new instance
- * @param Flags Creation flags
- * @param Context Creation context
- * @param Warn Warnings
- * @return The new object if creation was successful, otherwise false
- */
- virtual UObject* FactoryCreateNew(UClass* Class,UObject* InParent,FName Name,EObjectFlags Flags,UObject* Context,FFeedbackContext* Warn) override;
- #endif
- /**
- * @return true if this factory can deal with the file sent in.
- */
- virtual bool FactoryCanImport(const FString& Filename) override;
- virtual bool ShouldShowInNewMenu() const override;
- };
|