namespace Content.Server.Ghost.Roles.Raffles; /// /// Defines settings for a ghost role raffle. /// [DataDefinition] public sealed partial class GhostRoleRaffleSettings { /// /// The initial duration of a raffle in seconds. This is the countdown timer's value when the raffle starts. /// [ViewVariables(VVAccess.ReadWrite)] [DataField(required: true)] public uint InitialDuration { get; set; } /// /// When the raffle is joined by a player, the countdown timer is extended by this value in seconds. /// [ViewVariables(VVAccess.ReadWrite)] [DataField(required: true)] public uint JoinExtendsDurationBy { get; set; } /// /// The maximum duration in seconds for the ghost role raffle. A raffle cannot run for longer than this /// duration, even if extended by joiners. Must be greater than or equal to . /// [ViewVariables(VVAccess.ReadWrite)] [DataField(required: true)] public uint MaxDuration { get; set; } }