Add a lint check for cursor definitions.
This commit is contained in:
committed by
reaperrr
parent
cefb2e7cc6
commit
bbbed49f82
@@ -27,9 +27,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Armament names")]
|
||||
public readonly string[] Armaments = { "primary", "secondary" };
|
||||
|
||||
[CursorReference]
|
||||
[Desc("Cursor to display when hovering over a valid target.")]
|
||||
public readonly string Cursor = null;
|
||||
|
||||
[CursorReference]
|
||||
[Desc("Cursor to display when hovering over a valid target that is outside of range.")]
|
||||
public readonly string OutsideRangeCursor = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user