mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user