From e0d12e680f5b90bc2b116e6d6cb746706f60f3f2 Mon Sep 17 00:00:00 2001 From: azw Date: Thu, 23 May 2024 09:04:27 +0800 Subject: [PATCH] 1 --- Mt/Hero.cs | 21 +++++++++++++++++++++ Mt/Table.cs | 2 ++ Mtb/Hero.cs | 13 +++++++++++++ Objects/Actor.cs | 1 + 4 files changed, 37 insertions(+) create mode 100644 Mt/Hero.cs create mode 100644 Mtb/Hero.cs diff --git a/Mt/Hero.cs b/Mt/Hero.cs new file mode 100644 index 0000000..dbd4b16 --- /dev/null +++ b/Mt/Hero.cs @@ -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 + { + + public HeroTable(string fileName, string primKey) : base(fileName, primKey) + { + + } + } +} diff --git a/Mt/Table.cs b/Mt/Table.cs index 2f7b863..c0093e0 100644 --- a/Mt/Table.cs +++ b/Mt/Table.cs @@ -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(); } } } diff --git a/Mtb/Hero.cs b/Mtb/Hero.cs new file mode 100644 index 0000000..a1a0322 --- /dev/null +++ b/Mtb/Hero.cs @@ -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; + } +} diff --git a/Objects/Actor.cs b/Objects/Actor.cs index 70ed219..e86fabe 100644 --- a/Objects/Actor.cs +++ b/Objects/Actor.cs @@ -8,6 +8,7 @@ namespace cfclient.Objects { class Actor : WorldObject { +// private } }