wip
This commit is contained in:
@@ -93,7 +93,7 @@ namespace AnotherReplayReader
|
||||
var instantApms = ApmPlotter.CalculateInstantApm(data, begin, end);
|
||||
string PartialApmToString(double v, int i)
|
||||
{
|
||||
if (plotter.Players[i].IsComputer)
|
||||
if (plotter.PlayersArray[i].IsComputer)
|
||||
{
|
||||
return "这是 AI";
|
||||
}
|
||||
@@ -168,7 +168,7 @@ namespace AnotherReplayReader
|
||||
{
|
||||
var series = new LineSeries
|
||||
{
|
||||
Title = _replay.Players[i].PlayerName,
|
||||
Title = _plotter.Result.PlayersArray[i].PlayerName,
|
||||
};
|
||||
series.Points.AddRange(points);
|
||||
model.Series.Add(series);
|
||||
@@ -237,6 +237,15 @@ namespace AnotherReplayReader
|
||||
await FilterDataAsync(TimeSpan.MinValue, TimeSpan.MaxValue, true);
|
||||
}
|
||||
}
|
||||
|
||||
private async void OnOpenEventDumpClicked(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var plotter = await _plotter;
|
||||
var dump = new EventDump();
|
||||
dump.LoadStringHashes();
|
||||
dump.SetDumpData(_replay.Mod, plotter);
|
||||
await dump.ShowPlainText();
|
||||
}
|
||||
}
|
||||
|
||||
internal class ApmWindowPlotViewModel : INotifyPropertyChanged
|
||||
|
||||
Reference in New Issue
Block a user