干掉了浩方查马甲代码
This commit is contained in:
@@ -37,6 +37,11 @@ namespace AnotherReplayReader.ReplayFile
|
||||
FactionId = int.Parse(playerEntry[5]);
|
||||
Team = int.Parse(playerEntry[7]);
|
||||
}
|
||||
|
||||
if (PlayerName.Length == 20)
|
||||
{
|
||||
PlayerName = Ra3.BattleNet.Database.Utils.ChineseEncoding.DecodeChineseFromBase64(PlayerName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -239,7 +239,7 @@ namespace AnotherReplayReader.ReplayFile
|
||||
public bool PathEquals(Replay replay) => PathEquals(replay.Path);
|
||||
public bool PathEquals(string path) => Path.Equals(path, StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
public string GetDetails(PlayerIdentity playerIdentity)
|
||||
public string GetDetails()
|
||||
{
|
||||
static string GetSizeString(double size)
|
||||
{
|
||||
@@ -273,8 +273,7 @@ namespace AnotherReplayReader.ReplayFile
|
||||
break;
|
||||
}
|
||||
var factionName = ModData.GetFaction(Mod, player.FactionId).Name;
|
||||
var realName = Type == ReplayType.Lan ? playerIdentity.FormatRealName(player.PlayerIp) : string.Empty;
|
||||
writer.WriteLine($"{player.PlayerName + realName},{factionName}");
|
||||
writer.WriteLine($"{player.PlayerName},{factionName}");
|
||||
}
|
||||
|
||||
return writer.ToString();
|
||||
|
||||
Reference in New Issue
Block a user