/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h
Allows classes to control if a replicated component can actually be replicated or not in a specific actor class. You can also choose a netcondition to filter to whom the component is replicated to. Called on existing replicated component right beforeBeginPlay()and after that on every new replicated component added to the OwnedComponent list
Return COND_None if this component should be replicated to everyone, COND_Never if it should not be replicated at all or any other conditions for specific filtering.
virtual ELifetimeCondition AllowActorComponentToReplicate ( const [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * ComponentToReplicate ) const