Add a lint check for cursor definitions.
This commit is contained in:
committed by
reaperrr
parent
cefb2e7cc6
commit
bbbed49f82
@@ -63,6 +63,17 @@ namespace OpenRA.Traits
|
||||
}
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public sealed class CursorReferenceAttribute : Attribute
|
||||
{
|
||||
public readonly LintDictionaryReference DictionaryReference;
|
||||
|
||||
public CursorReferenceAttribute(LintDictionaryReference dictionaryReference = LintDictionaryReference.None)
|
||||
{
|
||||
DictionaryReference = dictionaryReference;
|
||||
}
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
||||
public sealed class GrantedConditionReferenceAttribute : Attribute { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user