/Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationState/ReplicationStateDescriptorBuilder.h
If a descriptor registry is provided, the function below will search the registry before creating a new ReplicationStateDescriptor. Any new created ReplicationStateDescriptor will be registered in the provided registry.
static [TRefCountPtr](API\Runtime\Core\Templates\TRefCountPtr)< const [FReplicationStateDescriptor](API\Runtime\IrisCore\Iris\ReplicationState\FReplicationStateDescriptor) > CreateDescriptorForFunction ( const [UFunction](API\Runtime\CoreUObject\UObject\UFunction) * Function, const [FParameters](API\Runtime\IrisCore\Iris\ReplicationState\FReplicationStateDescriptorBuild-\FParameters) & Parameters )