Merge pull request #7251 from Mailaender/stylecop-clean-game

StyleCop cleaned OpenRA.Game Part 1
This commit is contained in:
Oliver Brakmann
2015-01-04 01:00:56 +01:00
61 changed files with 628 additions and 581 deletions

View File

@@ -58,7 +58,7 @@ namespace OpenRA.Mods.Common.Traits
public ReadOnlyList<MissionObjective> Objectives;
[Sync]
public int ObjectivesHash { get { return Objectives.Aggregate(0, (code, objective) => code ^ Sync.hash(objective.State)); } }
public int ObjectivesHash { get { return Objectives.Aggregate(0, (code, objective) => code ^ Sync.Hash(objective.State)); } }
// This property is used as a flag in 'Cooperative' games to mark that the player has completed all his objectives.
// The player's WinState is only updated when his allies have all completed their objective as well.