1
0
mirror of synced 2025-01-30 11:37:34 +01:00
OpenTaiko/TJAPlayer3/Databases/DBCharacter.cs
Takkkom f4d001d843
色々改善10 (#483)
* TJAP3EXの機能に対応

* スキンの再読み込み機能を追加

* box.defを多言語対応

* 更にコマンドを追加

* Effects.jsonに対応

* レア度によってもらえるコインの数が変わるように

* 譜面のエラーログを表示するように

* BARLINEの修正
2023-08-18 16:21:02 +09:00

49 lines
1.0 KiB
C#

using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
namespace TJAPlayer3
{
class DBCharacter
{
public class CharacterEffect
{
public CharacterEffect()
{
Gauge = "Normal";
}
[JsonProperty("gauge")]
public string Gauge;
}
public class CharacterData
{
public CharacterData()
{
Name = "(None)";
Rarity = "Common";
Author = "(None)";
}
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;
}
}
}