Does the FastArray can be nested

Hi guys,I find that FastArray is fantastic,but there is a new question.
As the title,can use FastArrry nested?
Whether the ContainerA ,that inherit from FFastArraySerializer ,can used as a property for
another FFastArraySerializerItem?

e.g.
There are 4 struct:

USTRUCT()
struct FFastItemA : public FFastArraySerializerItem 
{
	GENERATED_BODY()
        ...Some Properties.
}

USTRUCT()
struct FFastContainerA: public FFastArraySerializer 
{
	GENERATED_BODY()
	
	UPROPERTY()
	TArray<FFastItemA > Items;
}

USTRUCT()
struct FFastItemB : public FFastArraySerializerItem 
{
	GENERATED_BODY()
        UPROPERTY()
        FFastContainerA  ContainerA;

        ...Some Properties.
}

USTRUCT()
struct FFastContainerB: public FFastArraySerializer 
{
	GENERATED_BODY()
	
	UPROPERTY()
	TArray<FFastItemB > Items;
}

Whether it can work well?

Apparently not: Can FFastNetArraySerializer be nested another USTRUCT? - #3 by Jambax

But you could always test it, to be sure.

Thanks a lot.
I will try find others solution.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.