Fix and enable SA1133, SA1134 style rules.

This commit is contained in:
Paul Chote
2019-05-23 18:43:21 +00:00
committed by abcdefg30
parent fbf9461890
commit 78a70be0d4
214 changed files with 1012 additions and 432 deletions

View File

@@ -17,9 +17,10 @@ namespace OpenRA.Mods.Common.Traits
{
public class RearmableInfo : ITraitInfo
{
[Desc("Actors that this actor can dock to and get rearmed by.")]
[ActorReference]
[FieldLoader.Require]
[ActorReference] public readonly HashSet<string> RearmActors = new HashSet<string> { };
[Desc("Actors that this actor can dock to and get rearmed by.")]
public readonly HashSet<string> RearmActors = new HashSet<string> { };
[Desc("Name(s) of AmmoPool(s) that use this trait to rearm.")]
public readonly HashSet<string> AmmoPools = new HashSet<string> { "primary" };