From c531f3586d69de147bacb12cb9ca7673f8984c12 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 18 二月 2025 15:21:14 +0800
Subject: [PATCH] 10393 2月11-14版本更新(商店限购改DWORD)
---
ClientPack/ClientToMapServer/CA3_Item/BuyItem.h | 8 ++++++++
ClientPack/ClientToMapServer/CA3_Item/BuyItem | 0
ClientPack/ClientToMapServer/CA3_Item/BuyItem.des | 1 +
ServerPack/MapServerPack/HA8_Item/ShopItemDayBuyCnt.h | 2 +-
4 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/ClientPack/ClientToMapServer/CA3_Item/BuyItem b/ClientPack/ClientToMapServer/CA3_Item/BuyItem
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/BuyItem
diff --git a/ClientPack/ClientToMapServer/CA3_Item/BuyItem.des b/ClientPack/ClientToMapServer/CA3_Item/BuyItem.des
new file mode 100644
index 0000000..87ba660
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/BuyItem.des
@@ -0,0 +1 @@
+A3 10 购买商城物品 #tagCMBuyItem
diff --git a/ClientPack/ClientToMapServer/CA3_Item/BuyItem.h b/ClientPack/ClientToMapServer/CA3_Item/BuyItem.h
new file mode 100644
index 0000000..263e314
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA3_Item/BuyItem.h
@@ -0,0 +1,8 @@
+// A3 10 购买商城物品 #tagCMBuyItem
+
+struct tagCMBuyItem
+{
+ tagHead Head;
+ WORD BuyItemIndex; //购买的物品索引
+ DWORD BuyCount; //购买数量
+};
diff --git a/ServerPack/MapServerPack/HA8_Item/ShopItemDayBuyCnt.h b/ServerPack/MapServerPack/HA8_Item/ShopItemDayBuyCnt.h
index 3eb1499..12fbbdc 100644
--- a/ServerPack/MapServerPack/HA8_Item/ShopItemDayBuyCnt.h
+++ b/ServerPack/MapServerPack/HA8_Item/ShopItemDayBuyCnt.h
@@ -3,7 +3,7 @@
struct tagMCShopItemDayBuyCnt
{
DWORD ItemIndex;
- WORD BuyCnt; // 今日已购买次数
+ DWORD BuyCnt; // 今日已购买次数
BYTE IsReset; //是否重置
};
--
Gitblit v1.8.0