Importers
Create Importer
Warning
All this code needs to be added to an editor module, or you could face compilation issues during shipping.
-
The first thing is to define a UStruct to carry all the parameters you need for each Data Table to be imported.
-
Then you have to create a child class from UAbstractImporter and override Execute_Implementation to implement the main logic of the importer.
-
Inside the Constructor, you have to set up a ParametersStruct (Any UStruct) and an optional importer name.
-
Inside the Execute, you have to implement the main logic of your importer.
-
Get filled settings through the import dialog using the GetSettings<>() function.
-
The Execute function has no return since the completion event could be executed in a different tick than the current one. In Execute, you can make HTTP calls and then return the positive or negative response via these two Delegates: