From 6927767013da803dabf2fa09a2f2dc76995add54 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 10 Mar 2019 11:05:13 +0000 Subject: [PATCH] Add authentication fingerprint to replay metadata. --- OpenRA.Game/GameInformation.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OpenRA.Game/GameInformation.cs b/OpenRA.Game/GameInformation.cs index b4ea8f4cec..4badea1395 100644 --- a/OpenRA.Game/GameInformation.cs +++ b/OpenRA.Game/GameInformation.cs @@ -122,7 +122,8 @@ namespace OpenRA Team = client.Team, SpawnPoint = runtimePlayer.SpawnPoint, IsRandomFaction = runtimePlayer.Faction.InternalName != client.Faction, - IsRandomSpawnPoint = runtimePlayer.SpawnPoint != client.SpawnPoint + IsRandomSpawnPoint = runtimePlayer.SpawnPoint != client.SpawnPoint, + Fingerprint = client.Fingerprint }; playersByRuntime.Add(runtimePlayer, player); @@ -167,6 +168,9 @@ namespace OpenRA /// True if the spawn point was chosen at random; otherwise, false. public bool IsRandomSpawnPoint; + /// Player authentication fingerprint for the OpenRA forum. + public string Fingerprint; + #endregion #region