Diff
checker
टेक्स्ट
टेक्स्ट
छवियां
दस्तावेज़
Excel
फ़ोल्डर्स
Legal
Enterprise
डेस्कटॉप
मूल्य
साइन इन करें
Diffchecker डेस्कटॉप डाउनलोड करें
टेक्स्ट की तुलना करें
दो टेक्स्ट फ़ाइलों के बीच अंतर ढूंढें
उपकरण
इतिहास
रियल-टाइम एडिटर
अपरिवर्तित संक्षिप्त करें
लाइन रैप बंद
लेआउट
विभाजित
संयुक्त
परिवर्तन हाइलाइट करें
स्मार्ट
शब्द
अक्षर
सिंटैक्स हाइलाइटिंग
सिंटैक्स चुनें
अनदेखा करें
टेक्स्ट बदलें
पहले अंतर पर जाएँ
इनपुट संपादित करें
Diffchecker Desktop
Diffchecker चलाने का सबसे सुरक्षित तरीका। Diffchecker Desktop ऐप पाएं: आपके diffs कभी आपके कंप्यूटर से बाहर नहीं जाते!
Desktop पाएं
Untitled diff
बनाया गया
7 वर्ष पहले
Diff कभी समाप्त नहीं होता
साफ़
निर्यात करें
शेयर करें
समझाएं
3 हटाए गए
लाइनें
कुल
हटाया गया
अक्षर
कुल
हटाया गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
57 लाइनें
सभी को कॉपी करें
3 जोड़े गए
लाइनें
कुल
जोड़ा गया
अक्षर
कुल
जोड़ा गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
57 लाइनें
सभी को कॉपी करें
public void OnEnterGate(int inGateID, PathData.GateType inGateType)
public void OnEnterGate(int inGateID, PathData.GateType inGateType)
{
{
if (Game.instance.sessionManager.eventDetails.currentSession.sessionType == SessionDetails.SessionType.Race)
if (Game.instance.sessionManager.eventDetails.currentSession.sessionType == SessionDetails.SessionType.Race)
{
{
if (inGateID % 5 == 0)
if (inGateID % 5 == 0)
{
{
this.UpdateDrivingStyleAndEngineModes();
this.UpdateDrivingStyleAndEngineModes();
}
}
if (this.mVehicle.pathController.GetCurrentPath().pathType == PathController.PathType.Track)
if (this.mVehicle.pathController.GetCurrentPath().pathType == PathController.PathType.Track)
{
{
int num = Game.instance.sessionManager.circuit.pitlaneEntryTrackPathID - 5;
int num = Game.instance.sessionManager.circuit.pitlaneEntryTrackPathID - 5;
if (inGateID == num || (inGateType == PathData.GateType.Sector && inGateID != 0))
if (inGateID == num || (inGateType == PathData.GateType.Sector && inGateID != 0))
{
{
if (inGateID == num)
if (inGateID == num)
{
{
RacingVehicle vehicleTeamMate = Game.instance.vehicleManager.GetVehicleTeamMate(this.mVehicle);
RacingVehicle vehicleTeamMate = Game.instance.vehicleManager.GetVehicleTeamMate(this.mVehicle);
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if (!this.mVehicle.performance.IsExperiencingCriticalIssue() && (!vehicleTeamMate.isPlayerDriver || Game.instance.sessionManager.
isUsingAIForPlayerDrivers
) && !vehicleTeamMate.behaviourManager.isOutOfRace && vehicleTeamMate.pathState.IsInPitlaneArea() && vehicleTeamMate.setup.PitTimeLeft() > 20f)
if (!this.mVehicle.performance.IsExperiencingCriticalIssue() && (!vehicleTeamMate.isPlayerDriver || Game.instance.sessionManager.
isUsingAIForPitting
) && !vehicleTeamMate.behaviourManager.isOutOfRace && vehicleTeamMate.pathState.IsInPitlaneArea() && vehicleTeamMate.setup.PitTimeLeft() > 20f)
{
{
this.CancelPit();
this.CancelPit();
return;
return;
}
}
}
}
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if (Game.instance.sessionManager.GetLapsRemaining() > 1 && (!this.mVehicle.isPlayerDriver || Game.instance.sessionManager.
isUsingAIForPlayerDrivers
) && this.DoesVehicleNeedToPit(inGateID == num) && !Game.instance.sessionManager.isRollingOut)
if (Game.instance.sessionManager.GetLapsRemaining() > 1 && (!this.mVehicle.isPlayerDriver || Game.instance.sessionManager.
isUsingAIForPitting
) && this.DoesVehicleNeedToPit(inGateID == num) && !Game.instance.sessionManager.isRollingOut)
{
{
this.PlanPitstop();
this.PlanPitstop();
}
}
}
}
}
}
}
}
else if (this.mVehicle.pathController.GetCurrentPath().pathType == PathController.PathType.Track)
else if (this.mVehicle.pathController.GetCurrentPath().pathType == PathController.PathType.Track)
{
{
int num2 = Game.instance.sessionManager.circuit.pitlaneEntryTrackPathID - 5;
int num2 = Game.instance.sessionManager.circuit.pitlaneEntryTrackPathID - 5;
if (inGateType == PathData.GateType.Sector || inGateID == num2)
if (inGateType == PathData.GateType.Sector || inGateID == num2)
{
{
bool flag = false;
bool flag = false;
if (this.mVehicle.behaviourManager.currentBehaviour.behaviourType == AIBehaviourStateManager.Behaviour.InOutLap && this.mVehicle.timer.HasSetLapTime())
if (this.mVehicle.behaviourManager.currentBehaviour.behaviourType == AIBehaviourStateManager.Behaviour.InOutLap && this.mVehicle.timer.HasSetLapTime())
{
{
PrefGameAIStrategyDifficulty.Type aistrategyDifficulty = App.instance.preferencesManager.gamePreferences.GetAIStrategyDifficulty();
PrefGameAIStrategyDifficulty.Type aistrategyDifficulty = App.instance.preferencesManager.gamePreferences.GetAIStrategyDifficulty();
if (aistrategyDifficulty == PrefGameAIStrategyDifficulty.Type.Realistic && !Game.instance.challengeManager.IsAttemptingChallenge())
if (aistrategyDifficulty == PrefGameAIStrategyDifficulty.Type.Realistic && !Game.instance.challengeManager.IsAttemptingChallenge())
{
{
if (this.mVehicle.strategy.ShouldPitForDifferentTyreTread(this.mVehicle.setup.currentSetup.tyreSet, 0f, true))
if (this.mVehicle.strategy.ShouldPitForDifferentTyreTread(this.mVehicle.setup.currentSetup.tyreSet, 0f, true))
{
{
flag = true;
flag = true;
}
}
}
}
else if (!this.mVehicle.sessionAIOrderController.IsDriverOnIdealTyreTread())
else if (!this.mVehicle.sessionAIOrderController.IsDriverOnIdealTyreTread())
{
{
flag = true;
flag = true;
}
}
}
}
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if ((this.HasCompletedOrderedLapCount() || flag || this.mVehicle.setup.tyreSet.GetCondition() < 0.2f) && !this.mVehicle.strategy.IsGoingToPit() && (!this.mVehicle.isPlayerDriver || Game.instance.sessionManager.
isUsingAIForPlayerDrivers
))
if ((this.HasCompletedOrderedLapCount() || flag || this.mVehicle.setup.tyreSet.GetCondition() < 0.2f) && !this.mVehicle.strategy.IsGoingToPit() && (!this.mVehicle.isPlayerDriver || Game.instance.sessionManager.
isUsingAIForPitting
))
{
{
this.ReturnToGarage();
this.ReturnToGarage();
}
}
}
}
}
}
}
}
सेव किए गए Diffs
ऑरिजनल टेक्स्ट
फ़ाइल खोलें
public void OnEnterGate(int inGateID, PathData.GateType inGateType) { if (Game.instance.sessionManager.eventDetails.currentSession.sessionType == SessionDetails.SessionType.Race) { if (inGateID % 5 == 0) { this.UpdateDrivingStyleAndEngineModes(); } if (this.mVehicle.pathController.GetCurrentPath().pathType == PathController.PathType.Track) { int num = Game.instance.sessionManager.circuit.pitlaneEntryTrackPathID - 5; if (inGateID == num || (inGateType == PathData.GateType.Sector && inGateID != 0)) { if (inGateID == num) { RacingVehicle vehicleTeamMate = Game.instance.vehicleManager.GetVehicleTeamMate(this.mVehicle); if (!this.mVehicle.performance.IsExperiencingCriticalIssue() && (!vehicleTeamMate.isPlayerDriver || Game.instance.sessionManager.isUsingAIForPlayerDrivers) && !vehicleTeamMate.behaviourManager.isOutOfRace && vehicleTeamMate.pathState.IsInPitlaneArea() && vehicleTeamMate.setup.PitTimeLeft() > 20f) { this.CancelPit(); return; } } if (Game.instance.sessionManager.GetLapsRemaining() > 1 && (!this.mVehicle.isPlayerDriver || Game.instance.sessionManager.isUsingAIForPlayerDrivers) && this.DoesVehicleNeedToPit(inGateID == num) && !Game.instance.sessionManager.isRollingOut) { this.PlanPitstop(); } } } } else if (this.mVehicle.pathController.GetCurrentPath().pathType == PathController.PathType.Track) { int num2 = Game.instance.sessionManager.circuit.pitlaneEntryTrackPathID - 5; if (inGateType == PathData.GateType.Sector || inGateID == num2) { bool flag = false; if (this.mVehicle.behaviourManager.currentBehaviour.behaviourType == AIBehaviourStateManager.Behaviour.InOutLap && this.mVehicle.timer.HasSetLapTime()) { PrefGameAIStrategyDifficulty.Type aistrategyDifficulty = App.instance.preferencesManager.gamePreferences.GetAIStrategyDifficulty(); if (aistrategyDifficulty == PrefGameAIStrategyDifficulty.Type.Realistic && !Game.instance.challengeManager.IsAttemptingChallenge()) { if (this.mVehicle.strategy.ShouldPitForDifferentTyreTread(this.mVehicle.setup.currentSetup.tyreSet, 0f, true)) { flag = true; } } else if (!this.mVehicle.sessionAIOrderController.IsDriverOnIdealTyreTread()) { flag = true; } } if ((this.HasCompletedOrderedLapCount() || flag || this.mVehicle.setup.tyreSet.GetCondition() < 0.2f) && !this.mVehicle.strategy.IsGoingToPit() && (!this.mVehicle.isPlayerDriver || Game.instance.sessionManager.isUsingAIForPlayerDrivers)) { this.ReturnToGarage(); } } } }
परिवर्तित टेक्स्ट
फ़ाइल खोलें
public void OnEnterGate(int inGateID, PathData.GateType inGateType) { if (Game.instance.sessionManager.eventDetails.currentSession.sessionType == SessionDetails.SessionType.Race) { if (inGateID % 5 == 0) { this.UpdateDrivingStyleAndEngineModes(); } if (this.mVehicle.pathController.GetCurrentPath().pathType == PathController.PathType.Track) { int num = Game.instance.sessionManager.circuit.pitlaneEntryTrackPathID - 5; if (inGateID == num || (inGateType == PathData.GateType.Sector && inGateID != 0)) { if (inGateID == num) { RacingVehicle vehicleTeamMate = Game.instance.vehicleManager.GetVehicleTeamMate(this.mVehicle); if (!this.mVehicle.performance.IsExperiencingCriticalIssue() && (!vehicleTeamMate.isPlayerDriver || Game.instance.sessionManager.isUsingAIForPitting) && !vehicleTeamMate.behaviourManager.isOutOfRace && vehicleTeamMate.pathState.IsInPitlaneArea() && vehicleTeamMate.setup.PitTimeLeft() > 20f) { this.CancelPit(); return; } } if (Game.instance.sessionManager.GetLapsRemaining() > 1 && (!this.mVehicle.isPlayerDriver || Game.instance.sessionManager.isUsingAIForPitting) && this.DoesVehicleNeedToPit(inGateID == num) && !Game.instance.sessionManager.isRollingOut) { this.PlanPitstop(); } } } } else if (this.mVehicle.pathController.GetCurrentPath().pathType == PathController.PathType.Track) { int num2 = Game.instance.sessionManager.circuit.pitlaneEntryTrackPathID - 5; if (inGateType == PathData.GateType.Sector || inGateID == num2) { bool flag = false; if (this.mVehicle.behaviourManager.currentBehaviour.behaviourType == AIBehaviourStateManager.Behaviour.InOutLap && this.mVehicle.timer.HasSetLapTime()) { PrefGameAIStrategyDifficulty.Type aistrategyDifficulty = App.instance.preferencesManager.gamePreferences.GetAIStrategyDifficulty(); if (aistrategyDifficulty == PrefGameAIStrategyDifficulty.Type.Realistic && !Game.instance.challengeManager.IsAttemptingChallenge()) { if (this.mVehicle.strategy.ShouldPitForDifferentTyreTread(this.mVehicle.setup.currentSetup.tyreSet, 0f, true)) { flag = true; } } else if (!this.mVehicle.sessionAIOrderController.IsDriverOnIdealTyreTread()) { flag = true; } } if ((this.HasCompletedOrderedLapCount() || flag || this.mVehicle.setup.tyreSet.GetCondition() < 0.2f) && !this.mVehicle.strategy.IsGoingToPit() && (!this.mVehicle.isPlayerDriver || Game.instance.sessionManager.isUsingAIForPitting)) { this.ReturnToGarage(); } } } }
अंतर खोजें