Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
Untitled diff
作成日
7 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
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;
}
}
}
}
保存された差分
原文
ファイルを開く
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; } }
違いを見つける