干掉了浩方查马甲代码
This commit is contained in:
@@ -37,17 +37,14 @@ namespace AnotherReplayReader.Apm
|
||||
|
||||
public static List<DataRow> GetList(ApmPlotter plotter,
|
||||
ApmPlotterFilterOptions options,
|
||||
PlayerIdentity identity,
|
||||
TimeSpan begin,
|
||||
TimeSpan end,
|
||||
out int apmRowIndex)
|
||||
{
|
||||
// these commands should appear in this order by default
|
||||
var orderedCommands = new List<byte>();
|
||||
orderedCommands.AddRange(RA3Commands.UnknownCommands);
|
||||
orderedCommands.AddRange(RA3Commands.AutoCommands);
|
||||
orderedCommands.AddRange(new byte[]
|
||||
{
|
||||
orderedCommands.AddRange(
|
||||
[
|
||||
0xF5,
|
||||
0xF8,
|
||||
0x2A,
|
||||
@@ -83,7 +80,9 @@ namespace AnotherReplayReader.Apm
|
||||
0x02,
|
||||
0x0C,
|
||||
0x10,
|
||||
});
|
||||
]);
|
||||
orderedCommands.AddRange(RA3Commands.AutoCommands);
|
||||
orderedCommands.AddRange(RA3Commands.UnknownCommands);
|
||||
|
||||
var dataList = new List<DataRow>
|
||||
{
|
||||
@@ -108,13 +107,6 @@ namespace AnotherReplayReader.Apm
|
||||
}
|
||||
dataList.Add(new("存活状态(推测)", plotter.Players.Select(GetStatus)));
|
||||
}
|
||||
if (plotter.Replay.Type is ReplayType.Lan && identity.IsUsable)
|
||||
{
|
||||
string GetIpAndName(Player player) => player.IsComputer
|
||||
? "这是 AI"
|
||||
: identity.QueryRealNameAndIP(player.PlayerIp) ?? string.Empty;
|
||||
dataList.Add(new("局域网 IP", plotter.Players.Select(GetIpAndName)));
|
||||
}
|
||||
apmRowIndex = dataList.Count;
|
||||
// kill-death ratio
|
||||
if (plotter.Replay.Footer?.TryGetKillDeathRatios() is { } kdRatios)
|
||||
|
||||
Reference in New Issue
Block a user