Fix IDE0028, IDE0300, IDE0301, IDE0302, IDE0303, IDE0304.
Silence IDE0305.
This commit is contained in:
committed by
Pavel Penev
parent
0740991c12
commit
79454d8fd2
@@ -16,11 +16,11 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
{
|
||||
public class UnhardcodeSquadManager : UpdateRule, IBeforeUpdateActors
|
||||
{
|
||||
readonly List<MiniYamlNodeBuilder> addNodes = new();
|
||||
readonly List<MiniYamlNodeBuilder> addNodes = [];
|
||||
|
||||
// Excludes AttackBomber and AttackTDGunboatTurreted as actors with these AttackBase traits aren't supposed to be controlled.
|
||||
readonly string[] attackBase =
|
||||
{
|
||||
[
|
||||
"AttackLeap",
|
||||
"AttackPopupTurreted",
|
||||
"AttackAircraft",
|
||||
@@ -32,10 +32,10 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
"AttackGarrisoned",
|
||||
"AttackOmni",
|
||||
"AttackSwallow"
|
||||
};
|
||||
readonly string[] vipsNames = { "Harvester", "BaseBuilding" };
|
||||
readonly string[] buildings = { "Building", "EnergyWall", "D2kBuilding" };
|
||||
readonly string[] excludedBuildings = { "LineBuild", "Plug" };
|
||||
];
|
||||
readonly string[] vipsNames = ["Harvester", "BaseBuilding"];
|
||||
readonly string[] buildings = ["Building", "EnergyWall", "D2kBuilding"];
|
||||
readonly string[] excludedBuildings = ["LineBuild", "Plug"];
|
||||
|
||||
public override string Name => "SquadManagerBotModule got new fields to configure ground attacks and defensive actions.";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user