2022-03-06 20:20:45 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace TJAPlayer3
|
|
|
|
|
{
|
|
|
|
|
class DBCharacter
|
|
|
|
|
{
|
|
|
|
|
public class CharacterData
|
|
|
|
|
{
|
2022-06-10 16:58:56 +02:00
|
|
|
|
public CharacterData()
|
|
|
|
|
{
|
|
|
|
|
Name = "(None)";
|
|
|
|
|
Rarity = "Common";
|
|
|
|
|
Author = "(None)";
|
|
|
|
|
}
|
|
|
|
|
|
2022-03-06 20:20:45 +01:00
|
|
|
|
public CharacterData(string pcn, string pcr, string pca)
|
|
|
|
|
{
|
|
|
|
|
Name = pcn;
|
|
|
|
|
Rarity = pcr;
|
|
|
|
|
Author = pca;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty("name")]
|
|
|
|
|
public string Name;
|
|
|
|
|
|
|
|
|
|
[JsonProperty("rarity")]
|
|
|
|
|
public string Rarity;
|
|
|
|
|
|
|
|
|
|
[JsonProperty("author")]
|
|
|
|
|
public string Author;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|