using System.Text.Json.Serialization; using RadicadeServer.RecNet.Enums.Challenges; namespace RadicadeServer.RecNet.Progression.Objectives { public class Objective { public ObjectiveTypes type { get; set; } = ObjectiveTypes.ArenaWins; public int score { get; set; } = 3; public int xp { get; set; } = 10; [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public string? descriptionOverride { get; set; } = null; [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public string? tooltipOverride { get; set; } = null; } }