UCharacterMovementComponent::ReplicateMoveToServer

Here's how player movement prediction, replication and correction works in network games: