Kaynağa Gözat

删除AI、console等客户端无用组件,给server专用;
设置部分配置为服务器专用;删除无用配置

大爷 2 yıl önce
ebeveyn
işleme
8c69244b7a
63 değiştirilmiş dosya ile 67 ekleme ve 1393 silme
  1. 0 0
      Config/Excel/AIConfig@s.xlsx
  2. 0 0
      Config/Excel/Character@s.xlsx
  3. 0 0
      Config/Excel/ItemIdConfig@s.xlsx
  4. 0 0
      Config/Excel/ItemTypeConfig@s.xlsx
  5. 0 0
      Config/Excel/Monster@s.xlsx
  6. 0 0
      Config/Excel/SkillConfig@s.xlsx
  7. BIN
      Config/Excel/UnitConfig.xlsx
  8. 0 0
      Config/Excel/UpLevelExp@s.xlsx
  9. 4 4
      DotNet/Hotfix/Helper/MapHelper.cs
  10. 0 0
      DotNet/Hotfix/Module/AI.meta
  11. 0 0
      DotNet/Hotfix/Module/AI/AIComponentSystem.cs
  12. 0 0
      DotNet/Hotfix/Module/AI/AIComponentSystem.cs.meta
  13. 0 0
      DotNet/Hotfix/Module/AI/AIDispatcherComponentSystem.cs
  14. 0 0
      DotNet/Hotfix/Module/AI/AIDispatcherComponentSystem.cs.meta
  15. 0 0
      DotNet/Hotfix/Module/Console.meta
  16. 0 0
      DotNet/Hotfix/Module/Console/ConsoleComponentSystem.cs
  17. 0 0
      DotNet/Hotfix/Module/Console/ConsoleComponentSystem.cs.meta
  18. 0 0
      DotNet/Hotfix/Module/Console/ReloadConfigConsoleHandler.cs
  19. 0 0
      DotNet/Hotfix/Module/Console/ReloadConfigConsoleHandler.cs.meta
  20. 0 0
      DotNet/Hotfix/Module/Console/ReloadDllConsoleHandler.cs
  21. 0 0
      DotNet/Hotfix/Module/Console/ReloadDllConsoleHandler.cs.meta
  22. 1 0
      DotNet/Hotfix/Scenes/EntryEvent2_InitServer.cs
  23. 0 91
      DotNet/Model/Generate/Config/UnitConfig.cs
  24. 0 0
      DotNet/Model/Module/AI/AAIHandler.cs
  25. 0 0
      DotNet/Model/Module/AI/AAIHandler.cs.meta
  26. 0 0
      DotNet/Model/Module/AI/AIComponent.cs
  27. 0 0
      DotNet/Model/Module/AI/AIComponent.cs.meta
  28. 0 0
      DotNet/Model/Module/AI/AIConfig.cs
  29. 0 0
      DotNet/Model/Module/AI/AIConfig.cs.meta
  30. 0 0
      DotNet/Model/Module/AI/AIDispatcherComponent.cs
  31. 0 0
      DotNet/Model/Module/AI/AIDispatcherComponent.cs.meta
  32. 60 0
      DotNet/Model/Module/AreaData.cs
  33. 0 0
      DotNet/Model/Module/Console/ConsoleComponent.cs
  34. 0 0
      DotNet/Model/Module/Console/ConsoleComponent.cs.meta
  35. 0 0
      DotNet/Model/Module/Console/ConsoleHandlerAttribute.cs
  36. 0 0
      DotNet/Model/Module/Console/ConsoleHandlerAttribute.cs.meta
  37. 0 0
      DotNet/Model/Module/Console/IConsoleHandler.cs
  38. 0 0
      DotNet/Model/Module/Console/IConsoleHandler.cs.meta
  39. 0 0
      DotNet/Model/Module/Console/ModeContex.cs
  40. 0 0
      DotNet/Model/Module/Console/ModeContex.cs.meta
  41. 2 3
      Unity/Assets/Scripts/Codes/Hotfix/Share/Init/EntryEvent1_InitShare.cs
  42. 0 8
      Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Move.meta
  43. 0 8
      Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Numeric.meta
  44. 0 8
      Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Recast.meta
  45. 0 91
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/AIConfig.cs
  46. 0 11
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/AIConfig.cs.meta
  47. 0 142
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/Character.cs
  48. 0 11
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/Character.cs.meta
  49. 0 97
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/ItemIdConfig.cs
  50. 0 11
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/ItemIdConfig.cs.meta
  51. 0 124
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/ItemTypeConfig.cs
  52. 0 11
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/ItemTypeConfig.cs.meta
  53. 0 244
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/Monster.cs
  54. 0 11
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/Monster.cs.meta
  55. 0 160
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/SkillConfig.cs
  56. 0 11
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/SkillConfig.cs.meta
  57. 0 91
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/UnitConfig.cs
  58. 0 11
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/UnitConfig.cs.meta
  59. 0 166
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/UpLevelExp.cs
  60. 0 11
      Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/UpLevelExp.cs.meta
  61. 0 52
      Unity/Assets/Scripts/Codes/Model/Share/Const/Struct.cs
  62. 0 8
      Unity/Assets/Scripts/Codes/Model/Share/Module/AI.meta
  63. 0 8
      Unity/Assets/Scripts/Codes/Model/Share/Module/Console.meta

+ 0 - 0
Config/Excel/AIConfig.xlsx → Config/Excel/AIConfig@s.xlsx


+ 0 - 0
Config/Excel/Character.xlsx → Config/Excel/Character@s.xlsx


+ 0 - 0
Config/Excel/ItemIdConfig.xlsx → Config/Excel/ItemIdConfig@s.xlsx


+ 0 - 0
Config/Excel/ItemTypeConfig.xlsx → Config/Excel/ItemTypeConfig@s.xlsx


+ 0 - 0
Config/Excel/Monster.xlsx → Config/Excel/Monster@s.xlsx


+ 0 - 0
Config/Excel/SkillConfig.xlsx → Config/Excel/SkillConfig@s.xlsx


BIN
Config/Excel/UnitConfig.xlsx


+ 0 - 0
Config/Excel/UpLevelExp.xlsx → Config/Excel/UpLevelExp@s.xlsx


+ 4 - 4
DotNet/Hotfix/Helper/MapHelper.cs

@@ -20,7 +20,7 @@ namespace ET.Server
         public static void EnterAreaByInstanceId(WNPlayer player, long instanceId, float targetX, float targetY, bool forceChange)
         {
             Map map = player.DomainScene().GetComponent<GameMapComponent>().Get(instanceId);
-            Struct.AreaData areaData = new Struct.AreaData(map.MapId, instanceId);
+            AreaData areaData = new AreaData(map.MapId, instanceId);
             areaData.targetX = targetX;
             areaData.targetY = targetY;
             DispatchByInstanceId(player, areaData, forceChange);
@@ -33,7 +33,7 @@ namespace ET.Server
         /// <param name="areaData"></param>
         /// <param name="forceCreate"></param>
         /// <returns></returns>
-        public static Map DispatchByInstanceId(WNPlayer player, Struct.AreaData areaData, bool forceCreate)
+        public static Map DispatchByInstanceId(WNPlayer player, AreaData areaData, bool forceCreate)
         {
             if (player.GetMapInstanceId() == areaData.instanceId)
             {
@@ -52,7 +52,7 @@ namespace ET.Server
         /// <param name="areaData"></param>
         /// <param name="forceChange"></param>
         /// <returns></returns>
-        public static Map ChangeArea(WNPlayer player, Struct.AreaData areaData, bool forceChange)
+        public static Map ChangeArea(WNPlayer player, AreaData areaData, bool forceChange)
         {
             Map map = player.Map;
 
@@ -158,7 +158,7 @@ namespace ET.Server
 
             if (map != null)
             {
-                ChangeArea(player, new Struct.AreaData(10098, map.Id), false);
+                ChangeArea(player, new AreaData(10098, map.Id), false);
             }
 
             return map;

+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/AI.meta → DotNet/Hotfix/Module/AI.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/AI/AIComponentSystem.cs → DotNet/Hotfix/Module/AI/AIComponentSystem.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/AI/AIComponentSystem.cs.meta → DotNet/Hotfix/Module/AI/AIComponentSystem.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/AI/AIDispatcherComponentSystem.cs → DotNet/Hotfix/Module/AI/AIDispatcherComponentSystem.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/AI/AIDispatcherComponentSystem.cs.meta → DotNet/Hotfix/Module/AI/AIDispatcherComponentSystem.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Console.meta → DotNet/Hotfix/Module/Console.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Console/ConsoleComponentSystem.cs → DotNet/Hotfix/Module/Console/ConsoleComponentSystem.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Console/ConsoleComponentSystem.cs.meta → DotNet/Hotfix/Module/Console/ConsoleComponentSystem.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Console/ReloadConfigConsoleHandler.cs → DotNet/Hotfix/Module/Console/ReloadConfigConsoleHandler.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Console/ReloadConfigConsoleHandler.cs.meta → DotNet/Hotfix/Module/Console/ReloadConfigConsoleHandler.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Console/ReloadDllConsoleHandler.cs → DotNet/Hotfix/Module/Console/ReloadDllConsoleHandler.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Console/ReloadDllConsoleHandler.cs.meta → DotNet/Hotfix/Module/Console/ReloadDllConsoleHandler.cs.meta


+ 1 - 0
DotNet/Hotfix/Scenes/EntryEvent2_InitServer.cs

@@ -9,6 +9,7 @@ namespace ET.Server
     {
         protected override async ETTask Run(Scene scene, ET.EventType.EntryEvent2 args)
         {
+            Root.Instance.Scene.AddComponent<AIDispatcherComponent>();
             // 发送普通actor消息
             Root.Instance.Scene.AddComponent<ActorMessageSenderComponent>();
             // 发送location actor消息

+ 0 - 91
DotNet/Model/Generate/Config/UnitConfig.cs

@@ -1,91 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class UnitConfigCategory : ConfigSingleton<UnitConfigCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, UnitConfig> dict = new Dictionary<int, UnitConfig>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<UnitConfig> list = new List<UnitConfig>();
-		
-        public void Merge(object o)
-        {
-            UnitConfigCategory s = o as UnitConfigCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (UnitConfig config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public UnitConfig Get(int id)
-        {
-            this.dict.TryGetValue(id, out UnitConfig item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (UnitConfig)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, UnitConfig> GetAll()
-        {
-            return this.dict;
-        }
-
-        public UnitConfig GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class UnitConfig: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>Type</summary>
-		[ProtoMember(2)]
-		public int Type { get; set; }
-		/// <summary>名字</summary>
-		[ProtoMember(3)]
-		public string Name { get; set; }
-		/// <summary>位置</summary>
-		[ProtoMember(4)]
-		public int Position { get; set; }
-		/// <summary>体重</summary>
-		[ProtoMember(6)]
-		public int Weight { get; set; }
-
-	}
-}

+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/AI/AAIHandler.cs → DotNet/Model/Module/AI/AAIHandler.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/AI/AAIHandler.cs.meta → DotNet/Model/Module/AI/AAIHandler.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/AI/AIComponent.cs → DotNet/Model/Module/AI/AIComponent.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/AI/AIComponent.cs.meta → DotNet/Model/Module/AI/AIComponent.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/AI/AIConfig.cs → DotNet/Model/Module/AI/AIConfig.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/AI/AIConfig.cs.meta → DotNet/Model/Module/AI/AIConfig.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/AI/AIDispatcherComponent.cs → DotNet/Model/Module/AI/AIDispatcherComponent.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/AI/AIDispatcherComponent.cs.meta → DotNet/Model/Module/AI/AIDispatcherComponent.cs.meta


+ 60 - 0
DotNet/Model/Module/AreaData.cs

@@ -0,0 +1,60 @@
+namespace ET.Server
+{
+    /// <summary>
+    /// 场景数据
+    /// </summary>
+    public class AreaData
+    {
+        public MapConfig prop { get; set; }
+        public int areaId { get; set; }
+        public long instanceId { get; set; }
+        public float targetX { get; set; }
+        public float targetY { get; set; }
+        public int logicServerId { get; set; }
+        public ENTER_TYPE enterType = ENTER_TYPE.NONE;
+
+        public AreaData(int areaId)
+        {
+            this.prop = MapConfigCategory.Instance.Get(areaId);
+            this.areaId = areaId;
+        }
+
+        public AreaData(MapConfig prop)
+        {
+            this.areaId = prop.Id;
+            this.prop = prop;
+        }
+
+        public AreaData(int areaId, long instanceId)
+        {
+            this.prop = MapConfigCategory.Instance.Get(areaId);
+            this.areaId = areaId;
+            this.instanceId = instanceId;
+        }
+
+        public AreaData(int areaId, float targetX, float targetY)
+        {
+            this.prop = MapConfigCategory.Instance.Get(areaId);
+            this.areaId = areaId;
+            this.targetX = targetX;
+            this.targetY = targetY;
+        }
+
+        public AreaData(int areaId, float targetX, float targetY, ENTER_TYPE enterType)
+        {
+            this.prop = MapConfigCategory.Instance.Get(areaId);
+            this.areaId = areaId;
+            this.targetX = targetX;
+            this.targetY = targetY;
+            this.enterType = enterType;
+        }
+
+        public AreaData(int areaId, long instanceId, ENTER_TYPE enterType)
+        {
+            this.prop = MapConfigCategory.Instance.Get(areaId);
+            this.areaId = areaId;
+            this.instanceId = instanceId;
+            this.enterType = enterType;
+        }
+    }
+}

+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/Console/ConsoleComponent.cs → DotNet/Model/Module/Console/ConsoleComponent.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/Console/ConsoleComponent.cs.meta → DotNet/Model/Module/Console/ConsoleComponent.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/Console/ConsoleHandlerAttribute.cs → DotNet/Model/Module/Console/ConsoleHandlerAttribute.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/Console/ConsoleHandlerAttribute.cs.meta → DotNet/Model/Module/Console/ConsoleHandlerAttribute.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/Console/IConsoleHandler.cs → DotNet/Model/Module/Console/IConsoleHandler.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/Console/IConsoleHandler.cs.meta → DotNet/Model/Module/Console/IConsoleHandler.cs.meta


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/Console/ModeContex.cs → DotNet/Model/Module/Console/ModeContex.cs


+ 0 - 0
Unity/Assets/Scripts/Codes/Model/Share/Module/Console/ModeContex.cs.meta → DotNet/Model/Module/Console/ModeContex.cs.meta


+ 2 - 3
Unity/Assets/Scripts/Codes/Hotfix/Share/Init/EntryEvent1_InitShare.cs

@@ -1,4 +1,4 @@
-namespace ET
+namespace ET
 {
     [Event(SceneType.Process)]
     public class EntryEvent1_InitShare: AEvent<EventType.EntryEvent1>
@@ -8,10 +8,9 @@ namespace ET
             Root.Instance.Scene.AddComponent<NetThreadComponent>();
             Root.Instance.Scene.AddComponent<OpcodeTypeComponent>();
             Root.Instance.Scene.AddComponent<MessageDispatcherComponent>();
-            Root.Instance.Scene.AddComponent<AIDispatcherComponent>();
             Root.Instance.Scene.AddComponent<ClientSceneManagerComponent>();
 
             await ETTask.CompletedTask;
         }
     }
-}
+}

+ 0 - 8
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Move.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 069fa286008182847950a814f31931e3
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Numeric.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ad2461a885cf71940812b6f3ca8cb6a5
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Unity/Assets/Scripts/Codes/Hotfix/Share/Module/Recast.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ce6c6236ff156ac47a06c57952ca1abb
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 91
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/AIConfig.cs

@@ -1,91 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class AIConfigCategory : ConfigSingleton<AIConfigCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, AIConfig> dict = new Dictionary<int, AIConfig>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<AIConfig> list = new List<AIConfig>();
-		
-        public void Merge(object o)
-        {
-            AIConfigCategory s = o as AIConfigCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (AIConfig config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public AIConfig Get(int id)
-        {
-            this.dict.TryGetValue(id, out AIConfig item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (AIConfig)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, AIConfig> GetAll()
-        {
-            return this.dict;
-        }
-
-        public AIConfig GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class AIConfig: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>所属ai</summary>
-		[ProtoMember(2)]
-		public int AIConfigId { get; set; }
-		/// <summary>此ai中的顺序</summary>
-		[ProtoMember(3)]
-		public int Order { get; set; }
-		/// <summary>节点名字</summary>
-		[ProtoMember(4)]
-		public string Name { get; set; }
-		/// <summary>节点参数</summary>
-		[ProtoMember(5)]
-		public int[] NodeParams { get; set; }
-
-	}
-}

+ 0 - 11
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/AIConfig.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b76356787158f774b8bdb449877a19b3
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 142
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/Character.cs

@@ -1,142 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class CharacterCategory : ConfigSingleton<CharacterCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, Character> dict = new Dictionary<int, Character>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<Character> list = new List<Character>();
-		
-        public void Merge(object o)
-        {
-            CharacterCategory s = o as CharacterCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (Character config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public Character Get(int id)
-        {
-            this.dict.TryGetValue(id, out Character item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (Character)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, Character> GetAll()
-        {
-            return this.dict;
-        }
-
-        public Character GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class Character: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>职业名称</summary>
-		[ProtoMember(2)]
-		public string ProName { get; set; }
-		/// <summary>职业ID</summary>
-		[ProtoMember(3)]
-		public int pro { get; set; }
-		/// <summary>初始等级</summary>
-		[ProtoMember(4)]
-		public int initLevel { get; set; }
-		/// <summary>初始暴击率</summary>
-		[ProtoMember(5)]
-		public int initCritRata { get; set; }
-		/// <summary>初始暴伤%</summary>
-		[ProtoMember(6)]
-		public int CritDamage { get; set; }
-		/// <summary>初始穿透</summary>
-		[ProtoMember(7)]
-		public int Piercethrough { get; set; }
-		/// <summary>生命恢复</summary>
-		[ProtoMember(8)]
-		public int baseHPRegen { get; set; }
-		/// <summary>治疗效果</summary>
-		[ProtoMember(9)]
-		public int HealEffect { get; set; }
-		/// <summary>被治疗效果</summary>
-		[ProtoMember(10)]
-		public int HealedEffect { get; set; }
-		/// <summary>基础攻速</summary>
-		[ProtoMember(11)]
-		public int baseAtkSpeed { get; set; }
-		/// <summary>基础移动速度</summary>
-		[ProtoMember(12)]
-		public int baseMoveSpeed { get; set; }
-		/// <summary>初始模型</summary>
-		[ProtoMember(13)]
-		public string model { get; set; }
-		/// <summary>初始武器模型</summary>
-		[ProtoMember(14)]
-		public string weaponmodel { get; set; }
-		/// <summary>初始时装</summary>
-		[ProtoMember(15)]
-		public string initFashion { get; set; }
-		/// <summary>初始装备</summary>
-		[ProtoMember(16)]
-		public string initEquip { get; set; }
-		/// <summary>初始携带道具</summary>
-		[ProtoMember(17)]
-		public string initItem { get; set; }
-		/// <summary>初始技能列表</summary>
-		[ProtoMember(18)]
-		public string initSkill { get; set; }
-		/// <summary>总数</summary>
-		[ProtoMember(19)]
-		public string count { get; set; }
-		/// <summary>音效</summary>
-		[ProtoMember(20)]
-		public string Sound { get; set; }
-		/// <summary>等级上限</summary>
-		[ProtoMember(21)]
-		public int finalLevel { get; set; }
-		/// <summary>基础移速值</summary>
-		[ProtoMember(22)]
-		public string inspeed { get; set; }
-
-	}
-}

+ 0 - 11
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/Character.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5f5c2db39a28c5e4dab6ec4b8c62115f
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 97
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/ItemIdConfig.cs

@@ -1,97 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class ItemIdConfigCategory : ConfigSingleton<ItemIdConfigCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, ItemIdConfig> dict = new Dictionary<int, ItemIdConfig>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<ItemIdConfig> list = new List<ItemIdConfig>();
-		
-        public void Merge(object o)
-        {
-            ItemIdConfigCategory s = o as ItemIdConfigCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (ItemIdConfig config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public ItemIdConfig Get(int id)
-        {
-            this.dict.TryGetValue(id, out ItemIdConfig item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (ItemIdConfig)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, ItemIdConfig> GetAll()
-        {
-            return this.dict;
-        }
-
-        public ItemIdConfig GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class ItemIdConfig: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>物品类型名称</summary>
-		[ProtoMember(2)]
-		public string TypeName { get; set; }
-		/// <summary>tips显示绑定</summary>
-		[ProtoMember(3)]
-		public int ShowBind { get; set; }
-		/// <summary>排序</summary>
-		[ProtoMember(4)]
-		public int Order { get; set; }
-		/// <summary>次级排序规则</summary>
-		[ProtoMember(5)]
-		public string OrderRule { get; set; }
-		/// <summary>穿戴音效</summary>
-		[ProtoMember(6)]
-		public string Wear { get; set; }
-		/// <summary>卸下音效</summary>
-		[ProtoMember(7)]
-		public string Remove { get; set; }
-
-	}
-}

+ 0 - 11
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/ItemIdConfig.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0d9b7c7d9243b1248bee226b4a767cde
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 124
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/ItemTypeConfig.cs

@@ -1,124 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class ItemTypeConfigCategory : ConfigSingleton<ItemTypeConfigCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, ItemTypeConfig> dict = new Dictionary<int, ItemTypeConfig>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<ItemTypeConfig> list = new List<ItemTypeConfig>();
-		
-        public void Merge(object o)
-        {
-            ItemTypeConfigCategory s = o as ItemTypeConfigCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (ItemTypeConfig config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public ItemTypeConfig Get(int id)
-        {
-            this.dict.TryGetValue(id, out ItemTypeConfig item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (ItemTypeConfig)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, ItemTypeConfig> GetAll()
-        {
-            return this.dict;
-        }
-
-        public ItemTypeConfig GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class ItemTypeConfig: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>物品分类</summary>
-		[ProtoMember(2)]
-		public string ParentType { get; set; }
-		/// <summary>代码类型</summary>
-		[ProtoMember(3)]
-		public string ParentCode { get; set; }
-		/// <summary>排列顺序</summary>
-		[ProtoMember(4)]
-		public int Order { get; set; }
-		/// <summary>子类代码1</summary>
-		[ProtoMember(5)]
-		public string SubType1 { get; set; }
-		/// <summary>子类代码2</summary>
-		[ProtoMember(6)]
-		public string SubType2 { get; set; }
-		/// <summary>子类代码3</summary>
-		[ProtoMember(7)]
-		public string SubType3 { get; set; }
-		/// <summary>子类代码4</summary>
-		[ProtoMember(8)]
-		public string SubType4 { get; set; }
-		/// <summary>子类代码5</summary>
-		[ProtoMember(9)]
-		public string SubType5 { get; set; }
-		/// <summary>子类代码6</summary>
-		[ProtoMember(10)]
-		public string SubType6 { get; set; }
-		/// <summary>子类代码7</summary>
-		[ProtoMember(11)]
-		public string SubType7 { get; set; }
-		/// <summary>子类代码8</summary>
-		[ProtoMember(12)]
-		public string SubType8 { get; set; }
-		/// <summary>子类代码9</summary>
-		[ProtoMember(13)]
-		public string SubType9 { get; set; }
-		/// <summary>子类代码10</summary>
-		[ProtoMember(14)]
-		public string SubType10 { get; set; }
-		/// <summary>子类代码11</summary>
-		[ProtoMember(15)]
-		public string SubType11 { get; set; }
-		/// <summary>子类代码12</summary>
-		[ProtoMember(16)]
-		public string SubType12 { get; set; }
-
-	}
-}

+ 0 - 11
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/ItemTypeConfig.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 372c20d0781663c40a1a78fd858bc786
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 244
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/Monster.cs

@@ -1,244 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class MonsterCategory : ConfigSingleton<MonsterCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, Monster> dict = new Dictionary<int, Monster>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<Monster> list = new List<Monster>();
-		
-        public void Merge(object o)
-        {
-            MonsterCategory s = o as MonsterCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (Monster config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public Monster Get(int id)
-        {
-            this.dict.TryGetValue(id, out Monster item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (Monster)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, Monster> GetAll()
-        {
-            return this.dict;
-        }
-
-        public Monster GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class Monster: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>怪物名字</summary>
-		[ProtoMember(2)]
-		public string Name { get; set; }
-		/// <summary>副名字/称号</summary>
-		[ProtoMember(3)]
-		public string Title { get; set; }
-		/// <summary>等级</summary>
-		[ProtoMember(4)]
-		public int Level { get; set; }
-		/// <summary>战斗规模</summary>
-		[ProtoMember(5)]
-		public int FightType { get; set; }
-		/// <summary>1等级压制 0或空不压制</summary>
-		[ProtoMember(6)]
-		public int LvRepress { get; set; }
-		/// <summary>名字颜色</summary>
-		[ProtoMember(7)]
-		public int Qcolor { get; set; }
-		/// <summary>怪物类型</summary>
-		[ProtoMember(8)]
-		public int Type { get; set; }
-		/// <summary>定力值</summary>
-		[ProtoMember(9)]
-		public int MPValue { get; set; }
-		/// <summary>怪物可获取的技能类型</summary>
-		[ProtoMember(10)]
-		public int SkillType { get; set; }
-		/// <summary>玩家围攻数量</summary>
-		[ProtoMember(11)]
-		public float FightCount { get; set; }
-		/// <summary>存活时间</summary>
-		[ProtoMember(12)]
-		public float AliveTime { get; set; }
-		/// <summary>致死玩家时间</summary>
-		[ProtoMember(13)]
-		public float KillPlayerTime { get; set; }
-		/// <summary>生命</summary>
-		[ProtoMember(14)]
-		public int MaxHP { get; set; }
-		/// <summary>攻击</summary>
-		[ProtoMember(15)]
-		public int MaxAttack { get; set; }
-		/// <summary>防御</summary>
-		[ProtoMember(16)]
-		public int MaxDefence { get; set; }
-		/// <summary>暴击率</summary>
-		[ProtoMember(17)]
-		public int CritRate { get; set; }
-		/// <summary>暴击伤害</summary>
-		[ProtoMember(18)]
-		public int CritDamage { get; set; }
-		/// <summary>穿透</summary>
-		[ProtoMember(19)]
-		public int IgnoreDefencePer { get; set; }
-		/// <summary>变成普通怪的概率</summary>
-		[ProtoMember(20)]
-		public int Prob1 { get; set; }
-		/// <summary>普通怪ID</summary>
-		[ProtoMember(21)]
-		public int ReviveID1 { get; set; }
-		/// <summary>变成稀有怪的概率</summary>
-		[ProtoMember(22)]
-		public int Prob2 { get; set; }
-		/// <summary>稀有怪ID</summary>
-		[ProtoMember(23)]
-		public int ReviveID2 { get; set; }
-		/// <summary>变成首脑怪的概率</summary>
-		[ProtoMember(24)]
-		public int Prob3 { get; set; }
-		/// <summary>首脑怪ID</summary>
-		[ProtoMember(25)]
-		public int ReviveID3 { get; set; }
-		/// <summary>变成精英怪的概率</summary>
-		[ProtoMember(26)]
-		public int Prob4 { get; set; }
-		/// <summary>精英怪ID</summary>
-		[ProtoMember(27)]
-		public int ReviveID4 { get; set; }
-		/// <summary>显示个性语言概率</summary>
-		[ProtoMember(28)]
-		public int DialogChance { get; set; }
-		/// <summary>个性语言</summary>
-		[ProtoMember(29)]
-		public string DialogWords { get; set; }
-		/// <summary>战死时语言概率</summary>
-		[ProtoMember(30)]
-		public int DeadDialogChance { get; set; }
-		/// <summary>战死时语言内容</summary>
-		[ProtoMember(31)]
-		public string DeadDialogWords { get; set; }
-		/// <summary>非战斗状态时语音概率</summary>
-		[ProtoMember(32)]
-		public int IdleSpeakChance { get; set; }
-		/// <summary>非战斗状态时语音内容</summary>
-		[ProtoMember(33)]
-		public string IdleSpeakWords { get; set; }
-		/// <summary>非战斗状态时语音播放间隔</summary>
-		[ProtoMember(34)]
-		public string IdleSpeakCoolDown { get; set; }
-		/// <summary>战斗状态时语音概率</summary>
-		[ProtoMember(35)]
-		public int FightSpeakChance { get; set; }
-		/// <summary>战斗状态时语音内容</summary>
-		[ProtoMember(36)]
-		public string FightSpeakWords { get; set; }
-		/// <summary>非战斗状态时语音播放间隔4</summary>
-		[ProtoMember(37)]
-		public string FightSpeakCoolDown { get; set; }
-		/// <summary>死亡时播放的语音</summary>
-		[ProtoMember(38)]
-		public string DeadSpeakWords { get; set; }
-		/// <summary>是否主动攻击</summary>
-		[ProtoMember(39)]
-		public int isAttack { get; set; }
-		/// <summary>身负特殊技能</summary>
-		[ProtoMember(40)]
-		public string Ability { get; set; }
-		/// <summary>触发特殊技能血量万分比</summary>
-		[ProtoMember(41)]
-		public string CallAbilityPerHP { get; set; }
-		/// <summary>特殊技能参数</summary>
-		[ProtoMember(42)]
-		public string AbilityPar { get; set; }
-		/// <summary>是否任务共享</summary>
-		[ProtoMember(43)]
-		public int ShareType { get; set; }
-		/// <summary>图标文件</summary>
-		[ProtoMember(44)]
-		public string Icon { get; set; }
-		/// <summary>怪物描述</summary>
-		[ProtoMember(45)]
-		public string MonsterDes { get; set; }
-		/// <summary>怪物攻略</summary>
-		[ProtoMember(46)]
-		public string MonsterRaid { get; set; }
-		/// <summary>性别</summary>
-		[ProtoMember(47)]
-		public int Sex { get; set; }
-		/// <summary>生物类型</summary>
-		[ProtoMember(48)]
-		public int Atype { get; set; }
-		/// <summary>首杀TC</summary>
-		[ProtoMember(49)]
-		public string FirstTc { get; set; }
-		/// <summary>常规TC</summary>
-		[ProtoMember(50)]
-		public string Tc { get; set; }
-		/// <summary>队伍模式TC</summary>
-		[ProtoMember(51)]
-		public string TeamTc { get; set; }
-		/// <summary>个人TC</summary>
-		[ProtoMember(52)]
-		public string PersonTc { get; set; }
-		/// <summary>助攻tc</summary>
-		[ProtoMember(53)]
-		public string AssistTC { get; set; }
-		/// <summary>基础经验</summary>
-		[ProtoMember(54)]
-		public int BaseExp { get; set; }
-		/// <summary>基础灵石</summary>
-		[ProtoMember(55)]
-		public int GoldBase { get; set; }
-		/// <summary>经验万分比</summary>
-		[ProtoMember(56)]
-		public int ExpRatio { get; set; }
-
-	}
-}

+ 0 - 11
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/Monster.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 92b0ebd750366684ab45ecfa914c3229
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 160
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/SkillConfig.cs

@@ -1,160 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class SkillConfigCategory : ConfigSingleton<SkillConfigCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, SkillConfig> dict = new Dictionary<int, SkillConfig>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<SkillConfig> list = new List<SkillConfig>();
-		
-        public void Merge(object o)
-        {
-            SkillConfigCategory s = o as SkillConfigCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (SkillConfig config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public SkillConfig Get(int id)
-        {
-            this.dict.TryGetValue(id, out SkillConfig item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (SkillConfig)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, SkillConfig> GetAll()
-        {
-            return this.dict;
-        }
-
-        public SkillConfig GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class SkillConfig: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>显示序列</summary>
-		[ProtoMember(2)]
-		public int SkillIndex { get; set; }
-		/// <summary>技能名称</summary>
-		[ProtoMember(3)]
-		public string SkillName { get; set; }
-		/// <summary>系别</summary>
-		[ProtoMember(4)]
-		public int ProId { get; set; }
-		/// <summary>系别</summary>
-		[ProtoMember(5)]
-		public int Tab { get; set; }
-		/// <summary>技能类型</summary>
-		[ProtoMember(6)]
-		public int SkillType { get; set; }
-		/// <summary>技能描述</summary>
-		[ProtoMember(7)]
-		public string SkillDesc { get; set; }
-		/// <summary>基础技能升级描述</summary>
-		[ProtoMember(8)]
-		public string UpDesc { get; set; }
-		/// <summary>基础技能学习物品code</summary>
-		[ProtoMember(9)]
-		public string SkillItemCode { get; set; }
-		/// <summary>最高等级</summary>
-		[ProtoMember(10)]
-		public int MaxLevel { get; set; }
-		/// <summary>是否绑定解锁</summary>
-		[ProtoMember(11)]
-		public int LearnSkill { get; set; }
-		/// <summary>技能图标</summary>
-		[ProtoMember(12)]
-		public string SkillIcon { get; set; }
-		/// <summary>解锁升级需要人物等级序列</summary>
-		[ProtoMember(13)]
-		public string UpReqLevel { get; set; }
-		/// <summary>重置人物等级序列需要金币</summary>
-		[ProtoMember(14)]
-		public string ResetReqLevel { get; set; }
-		/// <summary>升级需要人物仙阶等级</summary>
-		[ProtoMember(15)]
-		public int UpReqLevel2 { get; set; }
-		/// <summary>升级花费金币序列</summary>
-		[ProtoMember(16)]
-		public string UpCostGold { get; set; }
-		/// <summary>升至本级花费技能点序列</summary>
-		[ProtoMember(17)]
-		public string UpCostSP { get; set; }
-		/// <summary>升级消耗道具序列</summary>
-		[ProtoMember(18)]
-		public string UpCostItem { get; set; }
-		/// <summary>每等级提供战斗力</summary>
-		[ProtoMember(19)]
-		public string Power { get; set; }
-		/// <summary>对应基础技能</summary>
-		[ProtoMember(20)]
-		public int BaseId { get; set; }
-		/// <summary>强化技能孔位</summary>
-		[ProtoMember(21)]
-		public int Pos { get; set; }
-		/// <summary>强化技能分支类型</summary>
-		[ProtoMember(22)]
-		public int BranchType { get; set; }
-		/// <summary>强化技能分支Icon</summary>
-		[ProtoMember(23)]
-		public string StrongIcon { get; set; }
-		/// <summary>强化技能阶段前置</summary>
-		[ProtoMember(24)]
-		public int StrongUnLockPre { get; set; }
-		/// <summary>强化技能描述</summary>
-		[ProtoMember(25)]
-		public string StrongBranchDesc { get; set; }
-		/// <summary>天赋分支名称</summary>
-		[ProtoMember(26)]
-		public string GeniusName { get; set; }
-		/// <summary>对应强化名称</summary>
-		[ProtoMember(27)]
-		public string StrongName { get; set; }
-		/// <summary>强化图标图集</summary>
-		[ProtoMember(28)]
-		public string Atlas { get; set; }
-
-	}
-}

+ 0 - 11
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/SkillConfig.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5200bcf5b2df9dc4d8b8c665f41fdab8
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 91
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/UnitConfig.cs

@@ -1,91 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class UnitConfigCategory : ConfigSingleton<UnitConfigCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, UnitConfig> dict = new Dictionary<int, UnitConfig>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<UnitConfig> list = new List<UnitConfig>();
-		
-        public void Merge(object o)
-        {
-            UnitConfigCategory s = o as UnitConfigCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (UnitConfig config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public UnitConfig Get(int id)
-        {
-            this.dict.TryGetValue(id, out UnitConfig item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (UnitConfig)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, UnitConfig> GetAll()
-        {
-            return this.dict;
-        }
-
-        public UnitConfig GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class UnitConfig: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>Type</summary>
-		[ProtoMember(2)]
-		public int Type { get; set; }
-		/// <summary>名字</summary>
-		[ProtoMember(3)]
-		public string Name { get; set; }
-		/// <summary>位置</summary>
-		[ProtoMember(4)]
-		public int Position { get; set; }
-		/// <summary>身高</summary>
-		[ProtoMember(5)]
-		public int Height { get; set; }
-
-	}
-}

+ 0 - 11
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/UnitConfig.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7540ff2712fafb8488277a801a3e4119
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 166
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/UpLevelExp.cs

@@ -1,166 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MongoDB.Bson.Serialization.Attributes;
-using ProtoBuf;
-
-namespace ET
-{
-    [ProtoContract]
-    [Config]
-    public partial class UpLevelExpCategory : ConfigSingleton<UpLevelExpCategory>, IMerge
-    {
-        [ProtoIgnore]
-        [BsonIgnore]
-        private Dictionary<int, UpLevelExp> dict = new Dictionary<int, UpLevelExp>();
-		
-        [BsonElement]
-        [ProtoMember(1)]
-        private List<UpLevelExp> list = new List<UpLevelExp>();
-		
-        public void Merge(object o)
-        {
-            UpLevelExpCategory s = o as UpLevelExpCategory;
-            this.list.AddRange(s.list);
-        }
-		
-		[ProtoAfterDeserialization]        
-        public void ProtoEndInit()
-        {
-            foreach (UpLevelExp config in list)
-            {
-                config.AfterEndInit();
-                this.dict.Add(config.Id, config);
-            }
-            this.list.Clear();
-            
-            this.AfterEndInit();
-        }
-		
-        public UpLevelExp Get(int id)
-        {
-            this.dict.TryGetValue(id, out UpLevelExp item);
-
-            if (item == null)
-            {
-                throw new Exception($"配置找不到,配置表名: {nameof (UpLevelExp)},配置id: {id}");
-            }
-
-            return item;
-        }
-		
-        public bool Contain(int id)
-        {
-            return this.dict.ContainsKey(id);
-        }
-
-        public Dictionary<int, UpLevelExp> GetAll()
-        {
-            return this.dict;
-        }
-
-        public UpLevelExp GetOne()
-        {
-            if (this.dict == null || this.dict.Count <= 0)
-            {
-                return null;
-            }
-            return this.dict.Values.GetEnumerator().Current;
-        }
-    }
-
-    [ProtoContract]
-	public partial class UpLevelExp: ProtoObject, IConfig
-	{
-		/// <summary>Id</summary>
-		[ProtoMember(1)]
-		public int Id { get; set; }
-		/// <summary>境界编号</summary>
-		[ProtoMember(2)]
-		public int ClassID { get; set; }
-		/// <summary>境界名称</summary>
-		[ProtoMember(3)]
-		public string ClassName { get; set; }
-		/// <summary>是否开启</summary>
-		[ProtoMember(4)]
-		public int isValid { get; set; }
-		/// <summary>境界阶数</summary>
-		[ProtoMember(5)]
-		public int ClassUPLevel { get; set; }
-		/// <summary>阶数名称</summary>
-		[ProtoMember(6)]
-		public string UPName { get; set; }
-		/// <summary>成色</summary>
-		[ProtoMember(7)]
-		public int Qcolor { get; set; }
-		/// <summary>提升境界所需人物等级</summary>
-		[ProtoMember(8)]
-		public int ReqLevel { get; set; }
-		/// <summary>进阶需要完成事件</summary>
-		[ProtoMember(9)]
-		public string ReqEvents { get; set; }
-		/// <summary>进阶所需修为</summary>
-		[ProtoMember(10)]
-		public int ReqClassExp { get; set; }
-		/// <summary>属性1</summary>
-		[ProtoMember(11)]
-		public string Prop1 { get; set; }
-		/// <summary>参数1</summary>
-		[ProtoMember(12)]
-		public int Par1 { get; set; }
-		/// <summary>最小值1</summary>
-		[ProtoMember(13)]
-		public int Min1 { get; set; }
-		/// <summary>最大值1</summary>
-		[ProtoMember(14)]
-		public int Max1 { get; set; }
-		/// <summary>属性2</summary>
-		[ProtoMember(15)]
-		public string Prop2 { get; set; }
-		/// <summary>参数2</summary>
-		[ProtoMember(16)]
-		public int Par2 { get; set; }
-		/// <summary>最小值2</summary>
-		[ProtoMember(17)]
-		public int Min2 { get; set; }
-		/// <summary>最大值2</summary>
-		[ProtoMember(18)]
-		public int Max2 { get; set; }
-		/// <summary>属性3</summary>
-		[ProtoMember(19)]
-		public string Prop3 { get; set; }
-		/// <summary>参数3</summary>
-		[ProtoMember(20)]
-		public int Par3 { get; set; }
-		/// <summary>最小值3</summary>
-		[ProtoMember(21)]
-		public int Min3 { get; set; }
-		/// <summary>最大值3</summary>
-		[ProtoMember(22)]
-		public int Max3 { get; set; }
-		/// <summary>属性4</summary>
-		[ProtoMember(23)]
-		public string Prop4 { get; set; }
-		/// <summary>参数4</summary>
-		[ProtoMember(24)]
-		public int Par4 { get; set; }
-		/// <summary>最小值4</summary>
-		[ProtoMember(25)]
-		public int Min4 { get; set; }
-		/// <summary>最大值4</summary>
-		[ProtoMember(26)]
-		public int Max4 { get; set; }
-		/// <summary>属性5</summary>
-		[ProtoMember(27)]
-		public string Prop5 { get; set; }
-		/// <summary>参数5</summary>
-		[ProtoMember(28)]
-		public int Par5 { get; set; }
-		/// <summary>最小值5</summary>
-		[ProtoMember(29)]
-		public int Min5 { get; set; }
-		/// <summary>最大值5</summary>
-		[ProtoMember(30)]
-		public int Max5 { get; set; }
-
-	}
-}

+ 0 - 11
Unity/Assets/Scripts/Codes/Model/Client/Generate/Config/UpLevelExp.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 30e03b37e97085144a07618d35fc97b7
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 52
Unity/Assets/Scripts/Codes/Model/Share/Const/Struct.cs

@@ -69,58 +69,6 @@
             }
         }
 
-        /// <summary>
-        /// 场景数据
-        /// </summary>
-        public class AreaData
-        {
-            public MapConfig prop { get; set; }
-            public int areaId { get; set; }
-            public long instanceId { get; set; }
-            public float targetX { get; set; }
-            public float targetY { get; set; }
-            public int logicServerId { get; set; }
-            public ENTER_TYPE enterType = ENTER_TYPE.NONE;
-
-            public AreaData(int areaId) {
-                this.prop = MapConfigCategory.Instance.Get(areaId);
-                this.areaId = areaId;
-            }
-
-            public AreaData(MapConfig prop) {
-                this.areaId = prop.Id;
-                this.prop = prop;
-            }
-
-            public AreaData(int areaId, long instanceId) {
-                this.prop = MapConfigCategory.Instance.Get(areaId);
-                this.areaId = areaId;
-                this.instanceId = instanceId;
-            }
-
-            public AreaData(int areaId, float targetX, float targetY) {
-                this.prop = MapConfigCategory.Instance.Get(areaId);
-                this.areaId = areaId;
-                this.targetX = targetX;
-                this.targetY = targetY;
-            }
-
-            public AreaData(int areaId, float targetX, float targetY, ENTER_TYPE enterType) {
-                this.prop = MapConfigCategory.Instance.Get(areaId);
-                this.areaId = areaId;
-                this.targetX = targetX;
-                this.targetY = targetY;
-                this.enterType = enterType;
-            }
-
-            public AreaData(int areaId, long instanceId, ENTER_TYPE enterType) {
-                this.prop = MapConfigCategory.Instance.Get(areaId);
-                this.areaId = areaId;
-                this.instanceId = instanceId;
-                this.enterType = enterType;
-            }
-        }
-
         /// <summary>
         /// 怪物单位数据
         /// </summary>

+ 0 - 8
Unity/Assets/Scripts/Codes/Model/Share/Module/AI.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 17314ef2e141d8f4e8b75777cec648ce
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Unity/Assets/Scripts/Codes/Model/Share/Module/Console.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: aac5f3c9c8081e643874db9704c945a4
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: