Add UpgradeGrantedReferenceAttribute
This commit is contained in:
@@ -29,7 +29,7 @@ namespace OpenRA.Traits
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public sealed class SequenceReferenceAttribute : Attribute
|
||||
{
|
||||
public readonly string ImageReference; // the field name in the same trait info that contains the image name
|
||||
public readonly string ImageReference; // The field name in the same trait info that contains the image name.
|
||||
public readonly bool Prefix;
|
||||
public SequenceReferenceAttribute(string imageReference = null, bool prefix = false)
|
||||
{
|
||||
@@ -37,4 +37,7 @@ namespace OpenRA.Traits
|
||||
Prefix = prefix;
|
||||
}
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public sealed class UpgradeGrantedReferenceAttribute : Attribute { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user