This commit is contained in:
azw 2024-05-23 09:04:27 +08:00
parent d94a18c827
commit e0d12e680f
4 changed files with 37 additions and 0 deletions

21
Mt/Hero.cs Normal file
View File

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mt
{
class Hero : Mtb.Hero
{
}
class HeroTable : F6.IdMetaTable<Hero>
{
public HeroTable(string fileName, string primKey) : base(fileName, primKey)
{
}
}
}

View File

@ -12,6 +12,7 @@ namespace Mt
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()
{
@ -19,6 +20,7 @@ namespace Mt
{
Equip.Load();
Map.Load();
Hero.Load();
}
}
}

13
Mtb/Hero.cs Normal file
View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mtb
{
class Hero : F6.BaseTable
{
public readonly int id;
}
}

View File

@ -8,6 +8,7 @@ namespace cfclient.Objects
{
class Actor : WorldObject
{
// private
}
}