1
This commit is contained in:
parent
d94a18c827
commit
e0d12e680f
21
Mt/Hero.cs
Normal file
21
Mt/Hero.cs
Normal 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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -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
13
Mtb/Hero.cs
Normal 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;
|
||||
}
|
||||
}
|
@ -8,6 +8,7 @@ namespace cfclient.Objects
|
||||
{
|
||||
class Actor : WorldObject
|
||||
{
|
||||
// private
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user