Most of the work of AActor::GetNetPriority is done to compute a multiplicative factor for the constant AActor::NetPriority based on distance from and sightlines to the Viewer as well as the time since the current actor last replicated.