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

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

* box.defを多言語対応

* 更にコマンドを追加

* Effects.jsonに対応

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

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

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

61 lines
1.3 KiB
C#

using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
namespace TJAPlayer3
{
class DBPuchichara
{
public class PuchicharaEffect
{
public PuchicharaEffect()
{
AllPurple = false;
Autoroll = 0;
ShowAdlib = false;
SplitLane = false;
}
[JsonProperty("allpurple")]
public bool AllPurple;
[JsonProperty("AutoRoll")]
public int Autoroll;
[JsonProperty("showadlib")]
public bool ShowAdlib;
[JsonProperty("splitlane")]
public bool SplitLane;
}
public class PuchicharaData
{
public PuchicharaData()
{
Name = "(None)";
Rarity = "Common";
Author = "(None)";
}
public PuchicharaData(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;
}
}
}