f4d001d843
* TJAP3EXの機能に対応 * スキンの再読み込み機能を追加 * box.defを多言語対応 * 更にコマンドを追加 * Effects.jsonに対応 * レア度によってもらえるコインの数が変わるように * 譜面のエラーログを表示するように * BARLINEの修正
61 lines
1.3 KiB
C#
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;
|
|
}
|
|
|
|
}
|
|
} |