Skip to content

Commit

Permalink
refact: thuai7.pb -> thuaipb
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangmy21 authored May 7, 2024
1 parent 24515fb commit 7b46b1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion installer/Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

### Playback

每次调试后会在 `%InstallPath%\logic\Server` 中生成 `114514.thuai7.pb`,在 `Playback File` 中输入 `114514.thuai7.pb`,点击 `保存``启动`。也可以对回放文件进行改名,输入对应文件名即可。
每次调试后会在 `%InstallPath%\logic\Server` 中生成 `114514.thuaipb`,在 `Playback File` 中输入 `114514.thuaipb`,点击 `保存``启动`。也可以对回放文件进行改名,输入对应文件名即可。

## Login

Expand Down
4 changes: 2 additions & 2 deletions logic/Client/ViewModel/GeneralViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ Show the error message

myLogger.LogInfo(String.Format("ip:{0}, port:{1}, playerid:{2}, teamid:{3}, shiptype:{4}, playbackfile:{5}, playbackspeed:{6}", ip, port, playerID, teamID, shipTypeID, playbackFile, playbackSpeed));

//Playback("E:\\program\\Project\\THUAI7\\logic\\Client\\114514.thuai7.pb", 2.0);
//Playback("E:\\program\\Project\\THUAI7\\logic\\Client\\114514.thuaipb", 2.0);
if (playbackFile.Length == 0)
{
try
Expand Down Expand Up @@ -1129,7 +1129,7 @@ Show the error message
// "1"
//});

//Playback("E:\\program\\Project\\THUAI7\\logic\\Server\\bin\\Debug\\net8.0\\114514.thuai7.pb", 1);
//Playback("E:\\program\\Project\\THUAI7\\logic\\Server\\bin\\Debug\\net8.0\\114514.thuaipb", 1);

timerViewModel = Dispatcher.CreateTimer();
timerViewModel.Interval = TimeSpan.FromMilliseconds(50);
Expand Down
2 changes: 1 addition & 1 deletion playback/Playback/PlaybackConstant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public static class Constants
/// <summary>
/// 回放文件扩展名
/// </summary>
public static readonly string FileExtension = $".thuai{Version}.pb";
public static readonly string FileExtension = $".thuaipb";
/// <summary>
/// 回放文件头
/// </summary>
Expand Down

0 comments on commit 7b46b1f

Please sign in to comment.