cfclient/Mt/Table.cs
2024-05-23 09:04:27 +08:00

29 lines
803 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mt
{
class Table
{
private static bool loadEd;
public static string RES_PATH = @"D:\opensource\pubgv4\branch\config_v4_dev3d_10_9\upload_files\";
public static EquipTable Equip = new EquipTable(RES_PATH + "equip@equip.json", "id");
public static MapTable Map = new MapTable(RES_PATH + "map@map.json", "map_id");
public static HeroTable Hero = new HeroTable(RES_PATH + "hero@hero.json", "id");
public static void Load()
{
if (!loadEd)
{
Equip.Load();
Map.Load();
Hero.Load();
}
}
}
}