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

@@ -18,8 +18,12 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Replaces the captured actor with a new one.")]
public class TransformOnCaptureInfo : ITraitInfo
{
[ActorReference, FieldLoader.Require] public readonly string IntoActor = null;
[ActorReference]
[FieldLoader.Require]
public readonly string IntoActor = null;
public readonly int ForceHealthPercentage = 0;
public readonly bool SkipMakeAnims = true;
[Desc("Transform only if the capturer's CaptureTypes overlap with these types. Leave empty to allow all types.")]