Use nameof for ContrailEndColor description
This commit is contained in:
committed by
Matthias Mailänder
parent
7ef1dccdcf
commit
1c2eaa2654
@@ -125,7 +125,7 @@ namespace OpenRA.Mods.Common.Projectiles
|
|||||||
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
|
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
|
||||||
public readonly int ContrailStartColorAlpha = 255;
|
public readonly int ContrailStartColorAlpha = 255;
|
||||||
|
|
||||||
[Desc("RGB color at the contrail end. Set to start color if undefined")]
|
[Desc("RGB color at the contrail end. Will default to " + nameof(ContrailStartColor) + " if left undefined")]
|
||||||
public readonly Color? ContrailEndColor;
|
public readonly Color? ContrailEndColor;
|
||||||
|
|
||||||
[Desc("Use player remap color instead of a custom color at the contrail end.")]
|
[Desc("Use player remap color instead of a custom color at the contrail end.")]
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ namespace OpenRA.Mods.Common.Projectiles
|
|||||||
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
|
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
|
||||||
public readonly int ContrailStartColorAlpha = 255;
|
public readonly int ContrailStartColorAlpha = 255;
|
||||||
|
|
||||||
[Desc("RGB color at the contrail end. Set to start color if undefined")]
|
[Desc("RGB color at the contrail end. Will default to " + nameof(ContrailStartColor) + " if left undefined")]
|
||||||
public readonly Color? ContrailEndColor;
|
public readonly Color? ContrailEndColor;
|
||||||
|
|
||||||
[Desc("Use player remap color instead of a custom color at the contrail end.")]
|
[Desc("Use player remap color instead of a custom color at the contrail end.")]
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
|
[Desc("The alpha value [from 0 to 255] of color at the contrail the start.")]
|
||||||
public readonly int StartColorAlpha = 255;
|
public readonly int StartColorAlpha = 255;
|
||||||
|
|
||||||
[Desc("RGB color at the contrail end. Set to start color if undefined")]
|
[Desc("RGB color at the contrail end. Will default to " + nameof(StartColor) + " if left undefined")]
|
||||||
public readonly Color? EndColor;
|
public readonly Color? EndColor;
|
||||||
|
|
||||||
[Desc("Use player remap color instead of a custom color at the contrail end.")]
|
[Desc("Use player remap color instead of a custom color at the contrail end.")]
|
||||||
|
|||||||
Reference in New Issue
Block a user