using Content.Shared.Ghost.Roles.Raffles;
using Robust.Shared.Prototypes;
namespace Content.Server.Ghost.Roles.Raffles;
///
/// Raffle configuration.
///
[DataDefinition]
public sealed partial class GhostRoleRaffleConfig
{
public GhostRoleRaffleConfig(GhostRoleRaffleSettings settings)
{
SettingsOverride = settings;
}
///
/// Specifies the raffle settings to use.
///
[DataField("settings", required: true)]
public ProtoId Settings { get; set; } = "default";
///
/// If not null, the settings from are ignored and these settings are used instead.
/// Intended for allowing admins to set custom raffle settings for admeme ghost roles.
///
[ViewVariables(VVAccess.ReadOnly)]
public GhostRoleRaffleSettings? SettingsOverride { get; set; }
///
/// Sets which is used.
///
[DataField("decider")]
public ProtoId Decider { get; set; } = "default";
}