Document the existing fields in CaptureNotificationInfo
This commit is contained in:
@@ -15,7 +15,10 @@ namespace OpenRA.Mods.Common.Traits.Sound
|
||||
{
|
||||
public class CaptureNotificationInfo : ITraitInfo
|
||||
{
|
||||
[Desc("The speech notification to play to the new owner.")]
|
||||
public readonly string Notification = "BuildingCaptured";
|
||||
|
||||
[Desc("Specifies if Notification is played with the voice of the new owners faction.")]
|
||||
public readonly bool NewOwnerVoice = true;
|
||||
|
||||
public object Create(ActorInitializer init) { return new CaptureNotification(this); }
|
||||
|
||||
Reference in New Issue
Block a user