Add a sequence reference attribute to label fallbacks.
This commit is contained in:
committed by
teinarss
parent
336656e8f7
commit
3a427c3630
@@ -55,10 +55,12 @@ namespace OpenRA.Traits
|
||||
{
|
||||
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)
|
||||
public readonly bool ActorNameFallback;
|
||||
public SequenceReferenceAttribute(string imageReference = null, bool prefix = false, bool actorNameFallback = false)
|
||||
{
|
||||
ImageReference = imageReference;
|
||||
Prefix = prefix;
|
||||
ActorNameFallback = actorNameFallback;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user