From 691641bb02d989f075d9f824b22e19f5a6cff8b3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 02 七月 2021 18:45:54 +0800
Subject: [PATCH] 9046 【主干】【BT2】【BT3】【后端】培养功能

---
 ClientPack/ClientToMapServer/CA7_Pet/PetTrain.h          |    8 ++++++++
 ClientPack/ClientToMapServer/CA3_Item/LingQiTrain        |    0 
 ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo.des    |    1 +
 ClientPack/ClientToMapServer/CA5_Function/HorseTrain.h   |    8 ++++++++
 ClientPack/ClientToMapServer/CA7_Pet/PetTrain            |    0 
 ServerPack/MapServerPack/HA3_Function/TrainHorseData.h   |    3 +++
 ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo        |    0 
 ClientPack/ClientToMapServer/CA3_Item/LingQiTrain.des    |    1 +
 ClientPack/ClientToMapServer/CA3_Item/LingQiTrain.h      |    9 +++++++++
 ClientPack/ClientToMapServer/CA7_Pet/PetTrain.des        |    1 +
 ServerPack/MapServerPack/HA8_Item/PetTrainInfo.des       |    1 +
 ClientPack/ClientToMapServer/CA5_Function/HorseTrain     |    0 
 ServerPack/MapServerPack/HA8_Item/PetTrainInfo           |    0 
 ServerPack/MapServerPack/HA8_Item/PetTrainInfo.h         |    9 +++++++++
 ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo.h      |   10 ++++++++++
 ClientPack/ClientToMapServer/CA5_Function/HorseTrain.des |    1 +
 16 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain b/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain
diff --git a/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain.des b/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain.des
new file mode 100644
index 0000000..0006a6a
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain.des
@@ -0,0 +1 @@
+A3 27 灵器培养 #tagCMLingQiTrain
diff --git a/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain.h b/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain.h
new file mode 100644
index 0000000..1195f04
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/LingQiTrain.h
@@ -0,0 +1,9 @@
+// A3 27 灵器培养 #tagCMLingQiTrain
+
+struct	tagCMLingQiTrain
+{
+	tagHead		Head;
+	BYTE		EquipPlace;		//灵器装备位
+	BYTE		TrainType;		//培养类型: 1-基础培养,2-特殊培养,3-百分比培养
+	WORD		UseItemCnt;		//消耗材料个数
+};
diff --git a/ClientPack/ClientToMapServer/CA5_Function/HorseTrain b/ClientPack/ClientToMapServer/CA5_Function/HorseTrain
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/HorseTrain
diff --git a/ClientPack/ClientToMapServer/CA5_Function/HorseTrain.des b/ClientPack/ClientToMapServer/CA5_Function/HorseTrain.des
new file mode 100644
index 0000000..65f5407
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/HorseTrain.des
@@ -0,0 +1 @@
+A5 31 坐骑培养 #tagCMHorseTrain
diff --git a/ClientPack/ClientToMapServer/CA5_Function/HorseTrain.h b/ClientPack/ClientToMapServer/CA5_Function/HorseTrain.h
new file mode 100644
index 0000000..a6520b8
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/HorseTrain.h
@@ -0,0 +1,8 @@
+// A5 31 坐骑培养 #tagCMHorseTrain
+
+struct	tagCMHorseTrain
+{
+	tagHead		Head;
+	BYTE		TrainType;		//培养类型: 1-基础培养,2-特殊培养,3-百分比培养
+	WORD		UseItemCnt;		//消耗材料个数
+};
diff --git a/ClientPack/ClientToMapServer/CA7_Pet/PetTrain b/ClientPack/ClientToMapServer/CA7_Pet/PetTrain
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA7_Pet/PetTrain
diff --git a/ClientPack/ClientToMapServer/CA7_Pet/PetTrain.des b/ClientPack/ClientToMapServer/CA7_Pet/PetTrain.des
new file mode 100644
index 0000000..e72d2a4
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA7_Pet/PetTrain.des
@@ -0,0 +1 @@
+A7 05 宠物培养 #tagCMPetTrain
diff --git a/ClientPack/ClientToMapServer/CA7_Pet/PetTrain.h b/ClientPack/ClientToMapServer/CA7_Pet/PetTrain.h
new file mode 100644
index 0000000..00bb9f3
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA7_Pet/PetTrain.h
@@ -0,0 +1,8 @@
+// A7 05 宠物培养 #tagCMPetTrain
+
+struct	tagCMPetTrain
+{
+	tagHead		Head;
+	BYTE		TrainType;		//培养类型: 1-基础培养,2-特殊培养,3-百分比培养
+	WORD		UseItemCnt;		//消耗材料个数
+};
diff --git a/ServerPack/MapServerPack/HA3_Function/TrainHorseData.h b/ServerPack/MapServerPack/HA3_Function/TrainHorseData.h
index 9a97290..e17bc71 100644
--- a/ServerPack/MapServerPack/HA3_Function/TrainHorseData.h
+++ b/ServerPack/MapServerPack/HA3_Function/TrainHorseData.h
@@ -6,4 +6,7 @@
 	BYTE		LV;		//等阶
 	DWORD		EatItemCount;	//当前阶已吃丹个数
 	DWORD		SkinPlusState;	//幻化激活状态,按位存储是否激活,幻化编号ID对应位
+	BYTE		TrainTypes;	//培养类型数
+	DWORD		TrainLVList[TrainTypes];	//培养等阶列表,索引为培养类型减1
+	DWORD		TrainItemCountList[TrainTypes];	//培养当前阶已吃培养丹个数列表,索引为培养类型减1
 };
diff --git a/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo b/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo
diff --git a/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo.des b/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo.des
new file mode 100644
index 0000000..44f4cbf
--- /dev/null
+++ b/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo.des
@@ -0,0 +1 @@
+A8 18 灵器培养信息 #tagMCLingQiTrainInfo
diff --git a/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo.h b/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo.h
new file mode 100644
index 0000000..d0ec4ab
--- /dev/null
+++ b/ServerPack/MapServerPack/HA8_Item/LingQiTrainInfo.h
@@ -0,0 +1,10 @@
+// A8 18 灵器培养信息 #tagMCLingQiTrainInfo
+
+struct	tagMCLingQiTrainInfo
+{
+	tagHead		Head;
+	BYTE		EquipPlace;	//灵器装备位
+	BYTE		TrainTypes;	//培养类型数
+	DWORD		TrainLVList[TrainTypes];	//培养等阶列表,索引为培养类型减1
+	DWORD		TrainItemCountList[TrainTypes];	//培养当前阶已吃培养丹个数列表,索引为培养类型减1
+};
diff --git a/ServerPack/MapServerPack/HA8_Item/PetTrainInfo b/ServerPack/MapServerPack/HA8_Item/PetTrainInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA8_Item/PetTrainInfo
diff --git a/ServerPack/MapServerPack/HA8_Item/PetTrainInfo.des b/ServerPack/MapServerPack/HA8_Item/PetTrainInfo.des
new file mode 100644
index 0000000..de3f402
--- /dev/null
+++ b/ServerPack/MapServerPack/HA8_Item/PetTrainInfo.des
@@ -0,0 +1 @@
+A8 17 宠物培养信息 #tagMCPetTrainInfo
diff --git a/ServerPack/MapServerPack/HA8_Item/PetTrainInfo.h b/ServerPack/MapServerPack/HA8_Item/PetTrainInfo.h
new file mode 100644
index 0000000..fccd27a
--- /dev/null
+++ b/ServerPack/MapServerPack/HA8_Item/PetTrainInfo.h
@@ -0,0 +1,9 @@
+// A8 17 宠物培养信息 #tagMCPetTrainInfo
+
+struct	tagMCPetTrainInfo
+{
+	tagHead		Head;
+	BYTE		TrainTypes;	//培养类型数
+	DWORD		TrainLVList[TrainTypes];	//培养等阶列表,索引为培养类型减1
+	DWORD		TrainItemCountList[TrainTypes];	//培养当前阶已吃培养丹个数列表,索引为培养类型减1
+};

--
Gitblit v1.8.0