Files
Radicade/Server/ProgressionEvents/Objective.cs
T
2026-10-16 23:33:13 -07:00

19 lines
570 B
C#

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