More HashSet trait fields & Lint support

This commit is contained in:
atlimit8
2015-09-05 15:54:00 -05:00
parent e74c0d6c13
commit 8250f223c4
57 changed files with 115 additions and 89 deletions

View File

@@ -8,7 +8,7 @@
*/
#endregion
using System;
using System.Collections.Generic;
using OpenRA.Traits;
namespace OpenRA.Mods.RA.Traits
@@ -18,7 +18,7 @@ namespace OpenRA.Mods.RA.Traits
{
[FieldLoader.Require]
[Desc("This unit's cloneable type is:")]
public readonly string[] Types = { };
public readonly HashSet<string> Types = new HashSet<string>();
}
public class Cloneable { }