Document the existing fields in CaptureNotificationInfo

This commit is contained in:
abcdefg30
2016-04-17 15:29:27 +02:00
parent c8cfb10ab1
commit a1d39b0a42

View File

@@ -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); }