C++ Camera Controlled Turrets

Thanks a lot, that one is working now and I fixed the Munitions problems.
*What I am stuck on right now is the Turret Spawn Logic, if I add the part for the ShipBase.h


 // Spawn Turrets
	UPROPERTY(Category = BlueprintSpawn, EditDefaultsOnly, BlueprintReadOnly)
		TSubclassOf<ATurretBase> TurretBP;
	TArray<FName> TurretArray;
	TArray<ATurretBase*> SpawnedTurretArray;
 
	void GetTurretSockets();
	void SpawnTurret(FName _TurretSocketName);
        void DestroyTurrets();

I end up with the error Error: Shipbase.h(66) : error C2065: ‘ATurretBase’: undeclared identifier

Fixed those before by including the right .h but for this one I fail to find my error.*

Got this fixed by cleaning up my dependencies.

Also I found out that replacing AttachTo with SetupAttachment resolves the warnings about AttachTo being deprecated and using AttachToComponent being adviced without needing more arguments.
Not sure how to use that for the AttachRootComponentTo though.