/Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraphTypes.h
Returns the list of all actors held by the permenant and streaming level list. Prefer using AppendAllLists to prevent copying TArrays for nothing.
void GetAllActors ( [TArray](API\Runtime\Core\Containers\TArray)< [AActor](API\Runtime\Engine\GameFramework\AActor) * > & OutAllActors ) const