// Token: 0x0600BACA RID: 47818 RVA: 0x004404B0 File Offset: 0x0043E6B0
public Vector3 GetExtrapolatedPositionOffset()
{
float num = (float)(PhotonNetwork.time - this.IMNELEFELLD);
if (this.HNCFAJJGIPN.ExtrapolateIncludingRoundTripTime)
{
num += (float)PhotonNetwork.GetPing() / 1000f;
}
Vector3 result = Vector3.zero;
PhotonTransformViewPositionModel.ExtrapolateOptions extrapolateOption = this.HNCFAJJGIPN.ExtrapolateOption;
if (extrapolateOption != PhotonTransformViewPositionModel.ExtrapolateOptions.SynchronizeValues)
{
if (extrapolateOption != PhotonTransformViewPositionModel.ExtrapolateOptions.FixedSpeed)
{
if (extrapolateOption == PhotonTransformViewPositionModel.ExtrapolateOptions.EstimateSpeedAndTurn)
{
Vector3 a = (this.LPBKKPPALCD - this.DNCBFGDAEKL()) * (float)PhotonNetwork.sendRateOnSerialize;
result = a * num;
}
}
else
{
Vector3 normalized = (this.LPBKKPPALCD - this.DNCBFGDAEKL()).normalized;
result = normalized * this.HNCFAJJGIPN.ExtrapolateSpeed * num;
}
}
else
{
Quaternion rotation = Quaternion.Euler(0f, this.FEMCINHEMEO * num, 0f);
result = rotation * (this.JPAGJFHJAAB * num);
}
return(result);
}