1
0
mirror of synced 2024-12-01 02:27:21 +01:00
OpenTaiko/TJAPlayer3/Common/NamePlateConfig.cs

36 lines
942 B
C#
Raw Normal View History

2021-09-21 00:16:38 +02:00
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();
}
}