Add linting to AI squad manager types.

This commit is contained in:
Matthias Mailänder
2022-12-22 20:21:54 +01:00
committed by abcdefg30
parent 0d654d5e53
commit 24ed5f7a1a

View File

@@ -21,21 +21,27 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Manages AI squads.")] [Desc("Manages AI squads.")]
public class SquadManagerBotModuleInfo : ConditionalTraitInfo public class SquadManagerBotModuleInfo : ConditionalTraitInfo
{ {
[ActorReference]
[Desc("Actor types that are valid for naval squads.")] [Desc("Actor types that are valid for naval squads.")]
public readonly HashSet<string> NavalUnitsTypes = new HashSet<string>(); public readonly HashSet<string> NavalUnitsTypes = new HashSet<string>();
[ActorReference]
[Desc("Actor types that are excluded from ground attacks.")] [Desc("Actor types that are excluded from ground attacks.")]
public readonly HashSet<string> AirUnitsTypes = new HashSet<string>(); public readonly HashSet<string> AirUnitsTypes = new HashSet<string>();
[ActorReference]
[Desc("Actor types that should generally be excluded from attack squads.")] [Desc("Actor types that should generally be excluded from attack squads.")]
public readonly HashSet<string> ExcludeFromSquadsTypes = new HashSet<string>(); public readonly HashSet<string> ExcludeFromSquadsTypes = new HashSet<string>();
[ActorReference]
[Desc("Actor types that are considered construction yards (base builders).")] [Desc("Actor types that are considered construction yards (base builders).")]
public readonly HashSet<string> ConstructionYardTypes = new HashSet<string>(); public readonly HashSet<string> ConstructionYardTypes = new HashSet<string>();
[ActorReference]
[Desc("Enemy building types around which to scan for targets for naval squads.")] [Desc("Enemy building types around which to scan for targets for naval squads.")]
public readonly HashSet<string> NavalProductionTypes = new HashSet<string>(); public readonly HashSet<string> NavalProductionTypes = new HashSet<string>();
[ActorReference]
[Desc("Own actor types that are prioritized when defending.")] [Desc("Own actor types that are prioritized when defending.")]
public readonly HashSet<string> ProtectionTypes = new HashSet<string>(); public readonly HashSet<string> ProtectionTypes = new HashSet<string>();