From b67207c6e5171f11d81caee3b1506fd48711ac16 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 09 七月 2024 15:35:22 +0800
Subject: [PATCH] 10205 【越南】【主干】【港台】【砍树】自选礼包
---
ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem | 0
ServerPack/MapServerPack/HA1_Sys/CoinToGoldCountInfo.h | 1 +
ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem.des | 1 +
ServerPack/MapServerPack/HAA_SaleActivity/ActBuyCountGiftInfo.h | 8 +-------
ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem.h | 8 ++++++++
5 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem b/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem
diff --git a/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem.des b/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem.des
new file mode 100644
index 0000000..f031856
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem.des
@@ -0,0 +1 @@
+A1 26 充值自选物品选择 #tagCMSelectCTGItem
diff --git a/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem.h b/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem.h
new file mode 100644
index 0000000..8242e17
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA1_Sys/SelectCTGItem.h
@@ -0,0 +1,8 @@
+// A1 26 充值自选物品选择 #tagCMSelectCTGItem
+
+struct tagCMSelectCTGItem
+{
+ tagHead Head;
+ WORD RecordID; //充值ID
+ DWORD SelectItemValue; // 自选物品索引值,每两位存储每个自选索引对应选择的物品索引+1,存储位值为0代表未选择,最多支持选择4种物品
+};
diff --git a/ServerPack/MapServerPack/HA1_Sys/CoinToGoldCountInfo.h b/ServerPack/MapServerPack/HA1_Sys/CoinToGoldCountInfo.h
index 69c4b5b..b8f3175 100644
--- a/ServerPack/MapServerPack/HA1_Sys/CoinToGoldCountInfo.h
+++ b/ServerPack/MapServerPack/HA1_Sys/CoinToGoldCountInfo.h
@@ -7,6 +7,7 @@
DWORD TotalPayCount; // 累计总购买次数
WORD WeekPayCount; // 周总购买次数
WORD MonthPayCount; // 月总购买次数
+ DWORD SelectItemValue; // 自选物品索引值,每两位存储每个自选索引对应选择的物品索引+1,存储位值为0代表未选择,最多支持选择4种物品
};
struct tagMCCoinToGoldCountInfo
diff --git a/ServerPack/MapServerPack/HAA_SaleActivity/ActBuyCountGiftInfo.h b/ServerPack/MapServerPack/HAA_SaleActivity/ActBuyCountGiftInfo.h
index c7ea3d8..54debef 100644
--- a/ServerPack/MapServerPack/HAA_SaleActivity/ActBuyCountGiftInfo.h
+++ b/ServerPack/MapServerPack/HAA_SaleActivity/ActBuyCountGiftInfo.h
@@ -14,12 +14,6 @@
tagMCActBuyCountGiftItem AwardItemList[Count]; // 奖励物品列表
};
-struct tagMCActBuyCountCTGID
-{
- WORD CTGID; // 充值表ID
- WORD Discount; // 折扣力度百分比
-};
-
struct tagMCActBuyCountGiftInfo
{
tagHead Head;
@@ -30,7 +24,7 @@
BYTE ResetType; // 重置类型,0-0点重置;1-5点重置
WORD LimitLV; // 限制等级
BYTE CTGIDCount;
- tagMCActBuyCountCTGID CTGIDInfoList[CTGIDCount]; // CTGID信息列表;总购买次数前端自己统计,直接取CTGID对应的累计购买次数累加
+ WORD CTGIDList[CTGIDCount]; // CTGID列表;总购买次数前端自己统计,直接取CTGID对应的累计购买次数累加
BYTE GiftCount;
tagMCActBuyCountGift BuyCountGiftList[GiftCount]; // 购买次数礼包列表
};
--
Gitblit v1.8.0