From a1d39b0a42fa66276865ed14664f61648eb03d9a Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Sun, 17 Apr 2016 15:29:27 +0200 Subject: [PATCH] Document the existing fields in CaptureNotificationInfo --- OpenRA.Mods.Common/Traits/Sound/CaptureNotification.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Mods.Common/Traits/Sound/CaptureNotification.cs b/OpenRA.Mods.Common/Traits/Sound/CaptureNotification.cs index 7e7574309f..164b67686a 100644 --- a/OpenRA.Mods.Common/Traits/Sound/CaptureNotification.cs +++ b/OpenRA.Mods.Common/Traits/Sound/CaptureNotification.cs @@ -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); }