APM!
This commit is contained in:
@@ -12,6 +12,7 @@ namespace AnotherReplayReader.ReplayFile
|
||||
{ "B", "凶残" },
|
||||
};
|
||||
|
||||
public bool IsComputer { get; }
|
||||
public string PlayerName { get; }
|
||||
public uint PlayerIp { get; }
|
||||
public int FactionId { get; }
|
||||
@@ -19,11 +20,11 @@ namespace AnotherReplayReader.ReplayFile
|
||||
|
||||
public Player(string[] playerEntry)
|
||||
{
|
||||
var isComputer = playerEntry[0][0] == 'C';
|
||||
IsComputer = playerEntry[0][0] == 'C';
|
||||
|
||||
PlayerName = playerEntry[0].Substring(1);
|
||||
|
||||
if (isComputer)
|
||||
if (IsComputer)
|
||||
{
|
||||
PlayerName = ComputerNames[PlayerName];
|
||||
PlayerIp = 0;
|
||||
|
||||
Reference in New Issue
Block a user