mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Switch to System.Text.Json Removed Newtonsoft.Json and DouglasCrockford.JsMin * Update GameConfiguration.cs * Update MasterConfiguration.cs * Update ThreadConfiguration.cs * Update StarterSpell.cs * Update StarterGearFactory.cs * Update Program_Setup.cs * Update LifestonedConverter.cs * Update Program_Setup.cs * Update Program_Setup.cs * Update ACE.Adaptor Shift JSON weenie [de]serialization to System.Text.Json * Update LifestonedConverter.cs * Update StarterGearFactory.cs * Update ACE.Server.csproj * Update ACE.Server.Tests.csproj * Update Program.cs * Update MySqlConfiguration.cs * Update DDDConfiguration.cs * Update ModContainer.cs * Update ModManager.cs * Update ModMetadata.cs * Update ModMetadata.cs
33 lines
699 B
C#
33 lines
699 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace ACE.Adapter.GDLE.Models
|
|
{
|
|
public class BodyPart
|
|
{
|
|
[JsonPropertyName("dtype")]
|
|
public int DType { get; set; }
|
|
|
|
|
|
[JsonPropertyName("dval")]
|
|
public int DVal { get; set; }
|
|
|
|
[JsonPropertyName("dvar")]
|
|
public float DVar { get; set; }
|
|
|
|
[JsonPropertyName("acache")]
|
|
public ArmorValues ArmorValues { get; set; }
|
|
|
|
[JsonPropertyName("bh")]
|
|
public int BH { get; set; }
|
|
|
|
[JsonPropertyName("bpsd")]
|
|
public Zones SD { get; set; }
|
|
|
|
|
|
public BodyPart()
|
|
{
|
|
ArmorValues = new ArmorValues();
|
|
SD = new Zones();
|
|
}
|
|
}
|
|
}
|