Diff
checker
टेक्स्ट
टेक्स्ट
छवियां
दस्तावेज़
Excel
फ़ोल्डर्स
Legal
Enterprise
डेस्कटॉप
मूल्य
साइन इन करें
Diffchecker डेस्कटॉप डाउनलोड करें
टेक्स्ट की तुलना करें
दो टेक्स्ट फ़ाइलों के बीच अंतर ढूंढें
उपकरण
इतिहास
रियल-टाइम एडिटर
अपरिवर्तित संक्षिप्त करें
लाइन रैप बंद
लेआउट
विभाजित
संयुक्त
परिवर्तन हाइलाइट करें
स्मार्ट
शब्द
अक्षर
सिंटैक्स हाइलाइटिंग
सिंटैक्स चुनें
अनदेखा करें
टेक्स्ट बदलें
पहले अंतर पर जाएँ
इनपुट संपादित करें
Diffchecker Desktop
Diffchecker चलाने का सबसे सुरक्षित तरीका। Diffchecker Desktop ऐप पाएं: आपके diffs कभी आपके कंप्यूटर से बाहर नहीं जाते!
Desktop पाएं
Untitled diff
बनाया गया
7 वर्ष पहले
Diff कभी समाप्त नहीं होता
साफ़
निर्यात करें
शेयर करें
समझाएं
1 हटाया गया
लाइनें
कुल
हटाया गया
अक्षर
कुल
हटाया गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
47 लाइनें
सभी को कॉपी करें
1 जोड़ा गया
लाइनें
कुल
जोड़ा गया
अक्षर
कुल
जोड़ा गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
47 लाइनें
सभी को कॉपी करें
public void SimulationUpdate()
public void SimulationUpdate()
{
{
this.RefreshCarCrashDataAfterLoad();
this.RefreshCarCrashDataAfterLoad();
if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track)
if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track)
{
{
this.ApplyQueueOrders();
this.ApplyQueueOrders();
}
}
if (this.mTargetPointSteeringBehaviour == null)
if (this.mTargetPointSteeringBehaviour == null)
{
{
this.mTargetPointSteeringBehaviour = this.mVehicle.steeringManager.GetBehaviour<TargetPointSteeringBehaviour>();
this.mTargetPointSteeringBehaviour = this.mVehicle.steeringManager.GetBehaviour<TargetPointSteeringBehaviour>();
}
}
switch (this.mStatus)
switch (this.mStatus)
{
{
case SessionStrategy.Status.NoActionRequired:
case SessionStrategy.Status.NoActionRequired:
{
{
SessionDetails.SessionType sessionType = Game.instance.sessionManager.eventDetails.currentSession.sessionType;
SessionDetails.SessionType sessionType = Game.instance.sessionManager.eventDetails.currentSession.sessionType;
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if (sessionType != SessionDetails.SessionType.Race && this.mVehicle.isPlayerDriver && !Game.instance.sessionManager.
isUsingAIForPlayerDrivers
&& (this.mVehicle.performance.fuel.IsOutOfFuel() || this.HasCompletedOrderedLapCount()))
if (sessionType != SessionDetails.SessionType.Race && this.mVehicle.isPlayerDriver && !Game.instance.sessionManager.
isUsingAIForPitting
&& (this.mVehicle.performance.fuel.IsOutOfFuel() || this.HasCompletedOrderedLapCount()))
{
{
this.mVehicle.strategy.ReturnToGarage();
this.mVehicle.strategy.ReturnToGarage();
}
}
if (this.mVehicle.timer.hasSeenChequeredFlag)
if (this.mVehicle.timer.hasSeenChequeredFlag)
{
{
this.mVehicle.strategy.ReturnToGarage();
this.mVehicle.strategy.ReturnToGarage();
}
}
break;
break;
}
}
case SessionStrategy.Status.Pitting:
case SessionStrategy.Status.Pitting:
if (Game.instance.sessionManager.flag == SessionManager.Flag.Chequered)
if (Game.instance.sessionManager.flag == SessionManager.Flag.Chequered)
{
{
this.CancelPit();
this.CancelPit();
}
}
if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track && this.mTargetPointSteeringBehaviour.state == TargetPointSteeringBehaviour.State.None)
if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track && this.mTargetPointSteeringBehaviour.state == TargetPointSteeringBehaviour.State.None)
{
{
this.mTargetPointSteeringBehaviour.SetTargetPath(PathController.PathType.PitlaneEntry, true);
this.mTargetPointSteeringBehaviour.SetTargetPath(PathController.PathType.PitlaneEntry, true);
}
}
break;
break;
case SessionStrategy.Status.WaitingForSetupCompletion:
case SessionStrategy.Status.WaitingForSetupCompletion:
this.WaitForSetupCompletion();
this.WaitForSetupCompletion();
break;
break;
case SessionStrategy.Status.PitThruPenalty:
case SessionStrategy.Status.PitThruPenalty:
if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track && this.mTargetPointSteeringBehaviour.state == TargetPointSteeringBehaviour.State.None)
if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track && this.mTargetPointSteeringBehaviour.state == TargetPointSteeringBehaviour.State.None)
{
{
this.mTargetPointSteeringBehaviour.SetTargetPath(PathController.PathType.PitlaneEntry, true);
this.mTargetPointSteeringBehaviour.SetTargetPath(PathController.PathType.PitlaneEntry, true);
}
}
break;
break;
}
}
}
}
सेव किए गए Diffs
ऑरिजनल टेक्स्ट
फ़ाइल खोलें
public void SimulationUpdate() { this.RefreshCarCrashDataAfterLoad(); if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track) { this.ApplyQueueOrders(); } if (this.mTargetPointSteeringBehaviour == null) { this.mTargetPointSteeringBehaviour = this.mVehicle.steeringManager.GetBehaviour<TargetPointSteeringBehaviour>(); } switch (this.mStatus) { case SessionStrategy.Status.NoActionRequired: { SessionDetails.SessionType sessionType = Game.instance.sessionManager.eventDetails.currentSession.sessionType; if (sessionType != SessionDetails.SessionType.Race && this.mVehicle.isPlayerDriver && !Game.instance.sessionManager.isUsingAIForPlayerDrivers && (this.mVehicle.performance.fuel.IsOutOfFuel() || this.HasCompletedOrderedLapCount())) { this.mVehicle.strategy.ReturnToGarage(); } if (this.mVehicle.timer.hasSeenChequeredFlag) { this.mVehicle.strategy.ReturnToGarage(); } break; } case SessionStrategy.Status.Pitting: if (Game.instance.sessionManager.flag == SessionManager.Flag.Chequered) { this.CancelPit(); } if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track && this.mTargetPointSteeringBehaviour.state == TargetPointSteeringBehaviour.State.None) { this.mTargetPointSteeringBehaviour.SetTargetPath(PathController.PathType.PitlaneEntry, true); } break; case SessionStrategy.Status.WaitingForSetupCompletion: this.WaitForSetupCompletion(); break; case SessionStrategy.Status.PitThruPenalty: if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track && this.mTargetPointSteeringBehaviour.state == TargetPointSteeringBehaviour.State.None) { this.mTargetPointSteeringBehaviour.SetTargetPath(PathController.PathType.PitlaneEntry, true); } break; } }
परिवर्तित टेक्स्ट
फ़ाइल खोलें
public void SimulationUpdate() { this.RefreshCarCrashDataAfterLoad(); if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track) { this.ApplyQueueOrders(); } if (this.mTargetPointSteeringBehaviour == null) { this.mTargetPointSteeringBehaviour = this.mVehicle.steeringManager.GetBehaviour<TargetPointSteeringBehaviour>(); } switch (this.mStatus) { case SessionStrategy.Status.NoActionRequired: { SessionDetails.SessionType sessionType = Game.instance.sessionManager.eventDetails.currentSession.sessionType; if (sessionType != SessionDetails.SessionType.Race && this.mVehicle.isPlayerDriver && !Game.instance.sessionManager.isUsingAIForPitting && (this.mVehicle.performance.fuel.IsOutOfFuel() || this.HasCompletedOrderedLapCount())) { this.mVehicle.strategy.ReturnToGarage(); } if (this.mVehicle.timer.hasSeenChequeredFlag) { this.mVehicle.strategy.ReturnToGarage(); } break; } case SessionStrategy.Status.Pitting: if (Game.instance.sessionManager.flag == SessionManager.Flag.Chequered) { this.CancelPit(); } if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track && this.mTargetPointSteeringBehaviour.state == TargetPointSteeringBehaviour.State.None) { this.mTargetPointSteeringBehaviour.SetTargetPath(PathController.PathType.PitlaneEntry, true); } break; case SessionStrategy.Status.WaitingForSetupCompletion: this.WaitForSetupCompletion(); break; case SessionStrategy.Status.PitThruPenalty: if (this.mVehicle.pathController.currentPathType == PathController.PathType.Track && this.mTargetPointSteeringBehaviour.state == TargetPointSteeringBehaviour.State.None) { this.mTargetPointSteeringBehaviour.SetTargetPath(PathController.PathType.PitlaneEntry, true); } break; } }
अंतर खोजें