Fix IDE0028, IDE0300, IDE0301, IDE0302, IDE0303, IDE0304.
Silence IDE0305.
This commit is contained in:
committed by
Pavel Penev
parent
0740991c12
commit
79454d8fd2
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using OpenRA.Traits;
|
||||
|
||||
@@ -21,10 +20,10 @@ namespace OpenRA.Mods.Common.Traits
|
||||
"This can be prefixed with ! to invert the prerequisite (disabling production if the prerequisite is available)",
|
||||
"and/or ~ to hide the actor from the production palette if the prerequisite is not available.",
|
||||
"Prerequisites are granted by actors with the ProvidesPrerequisite trait.")]
|
||||
public readonly string[] Prerequisites = Array.Empty<string>();
|
||||
public readonly string[] Prerequisites = [];
|
||||
|
||||
[Desc("Production queue(s) that can produce this.")]
|
||||
public readonly HashSet<string> Queue = new();
|
||||
public readonly HashSet<string> Queue = [];
|
||||
|
||||
[Desc("Override the production structure type (from the Production Produces list) that this unit should be built at.")]
|
||||
public readonly string BuildAtProductionType = null;
|
||||
|
||||
Reference in New Issue
Block a user