Download

This declaration has no storage class or type specifier

Hi,
i have a problem, i have created a c++ class that extends UStaticMeshSocket.


#include "Engine/StaticMeshSocket.h"
#include "BlindStaticMeshSocket.generated.h"

/**
 * 
 */
UCLASS()
class BLIND_API UBlindStaticMeshSocket : public UStaticMeshSocket
{
	GENERATED_BODY()
	
	UPROPERTY(VisibleAnywhere, Category = SocketManagement)
	class UArrowComponent* Arrow;

public:
#if WITH_EDITOR

	// Begin UObject interface
	virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override {};
	// End UObject interface

#endif // WITH_EDITOR

	UFUNCTION(BlueprintCallable, Category = SocketManagement)
	FVector GetRelativeLocation(); 

	UFUNCTION(BlueprintCallable, Category = SocketManagement)
	FRotator GetRelativeRotation();
	
};

Now I want create a TArray in another class but there is an error.


#include "BaseObjAbstract.h"
#include "BlindStaticMeshSocket.h"
#include "GameFramework/Actor.h"
#include "BaseBlindObject.generated.h"

UENUM(BlueprintType)        //"BlueprintType" is essential specifier
namespace ESoundMaterial
{

	//256 entries max
	enum Type
	{
		Blind_Material_01		UMETA(DisplayName = "Material_01"),
		Blind_Material_02		UMETA(DisplayName = "Material_02"),
		Blind_Material_03		UMETA(DisplayName = "Material_03"),

		//256th entry
		ESoundMaterial_Max      UMETA(Hidden),
	};
};

/**
 * 
 */
UCLASS()
class BLIND_API ABaseBlindObject : public ABaseObjAbstract
{
	GENERATED_BODY()
.....

public:
		UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Default)
		TArray<UBlindStaticMeshSocket> socketsMesh;


The error is a UCLASS() “This declaration has no storage class or type specifier”
Could someone help me ?