continuity/Wonderking/Packets/Outgoing/Data/BaseStats.cs

19 lines
762 B
C#

// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License.
using System.Text.Json.Serialization;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
namespace Wonderking.Packets.Outgoing.Data;
[UsedImplicitly]
[Owned]
public class BaseStats
{
[JsonPropertyName("strength")] public required short Strength { get; set; }
[JsonPropertyName("dexterity")] public required short Dexterity { get; set; }
[JsonPropertyName("intelligence")] public required short Intelligence { get; set; }
[JsonPropertyName("vitality")] public required short Vitality { get; set; }
[JsonPropertyName("luck")] public required short Luck { get; set; }
[JsonPropertyName("wisdom")] public required short Wisdom { get; set; }
}