1
0
mirror of synced 2024-11-24 23:50:21 +01:00
OpenTaiko/TJAPlayer3/Common/NamePlateConfig.cs
2021-09-21 00:16:38 +02:00

36 lines
942 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TJAPlayer3
{
class NamePlateConfig
{
public void tNamePlateConfig()
{
if (!File.Exists("NamePlate.json"))
ConfigManager.SaveConfig(data, "NamePlate.json");
data = ConfigManager.GetConfig<Data>(@"NamePlate.json");
}
public class Data
{
public string[] Name = { "どんちゃん", "かっちゃん" };
public string[] Title = { "どんちゃんですよ!", "かっちゃんですよ!" };
public string[] Dan = { "達人", "達人" };
public bool[] DanGold = { false, true };
public int[] DanType = { 1, 2 };
public int[] TitleType = { 1, 2 };
}
public Data data = new Data();
}
}