2022-06-25 12:28:10 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.IO;
|
2022-06-25 20:40:55 +02:00
|
|
|
|
using Newtonsoft.Json;
|
2022-06-25 12:28:10 +02:00
|
|
|
|
|
|
|
|
|
namespace TJAPlayer3
|
|
|
|
|
{
|
2022-06-25 20:40:55 +02:00
|
|
|
|
class DBEncyclopediaMenus : CSavableT<DBEncyclopediaMenus.EncyclopediaMenu>
|
2022-06-25 12:28:10 +02:00
|
|
|
|
{
|
|
|
|
|
public DBEncyclopediaMenus()
|
|
|
|
|
{
|
|
|
|
|
_fn = @".\Encyclopedia\Menus.json";
|
|
|
|
|
base.tDBInitSavable();
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-25 20:40:55 +02:00
|
|
|
|
#region [Auxiliary classes]
|
|
|
|
|
public class EncyclopediaMenu
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("menus")]
|
|
|
|
|
public KeyValuePair<int, EncyclopediaMenu>[] Menus;
|
|
|
|
|
|
|
|
|
|
[JsonProperty("pages")]
|
|
|
|
|
public int[] Pages;
|
|
|
|
|
}
|
2022-06-25 12:28:10 +02:00
|
|
|
|
|
2022-06-25 20:40:55 +02:00
|
|
|
|
#endregion
|
2022-06-25 12:28:10 +02:00
|
|
|
|
}
|
|
|
|
|
}
|