From d1a44c0794d73b63a3d28f38aa210ebad8007be0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 10 十一月 2025 20:30:06 +0800
Subject: [PATCH] 247 【付费内容】特权卡-服务端
---
/dev/null | 17 -----------------
ServerPack/HA3_Function/InvestInfo.h | 13 ++++++-------
ServerPack/HA3_Function/InvestInfo.des | 2 +-
3 files changed, 7 insertions(+), 25 deletions(-)
diff --git a/ServerPack/HA3_Function/GoldInvestInfo b/ServerPack/HA3_Function/GoldInvestInfo
deleted file mode 100644
index e69de29..0000000
--- a/ServerPack/HA3_Function/GoldInvestInfo
+++ /dev/null
diff --git a/ServerPack/HA3_Function/GoldInvestInfo.des b/ServerPack/HA3_Function/GoldInvestInfo.des
deleted file mode 100644
index d0ad8c0..0000000
--- a/ServerPack/HA3_Function/GoldInvestInfo.des
+++ /dev/null
@@ -1 +0,0 @@
-A3 37 投资理财信息 #tagMCGoldInvestInfo
diff --git a/ServerPack/HA3_Function/GoldInvestInfo.h b/ServerPack/HA3_Function/GoldInvestInfo.h
deleted file mode 100644
index 36f2cd8..0000000
--- a/ServerPack/HA3_Function/GoldInvestInfo.h
+++ /dev/null
@@ -1,17 +0,0 @@
-// A3 37 投资理财信息 #tagMCGoldInvestInfo
-
-struct tagMCInvestReward
-{
- WORD RewardIndex; // 索引
- BYTE RewardValue; // 该等级已领取数据,0可认为未领取
-};
-
-struct tagMCGoldInvestInfo
-{
- tagHead Head;
- BYTE InvestType; // 投资类型
- DWORD CurDay; // 当前天数
- DWORD InvestGold; // 投资额度
- BYTE RewardRecordCnt; // 投资回报个数
- tagMCInvestReward InvestRewardList[RewardRecordCnt]; // 投资回报记录
-};
diff --git a/ServerPack/HA3_Function/InvestInfo.des b/ServerPack/HA3_Function/InvestInfo.des
index e89ef08..2ee437b 100644
--- a/ServerPack/HA3_Function/InvestInfo.des
+++ b/ServerPack/HA3_Function/InvestInfo.des
@@ -1 +1 @@
-A3 38 投资理财信息 #tagMCInvestInfo
+A3 38 投资信息 #tagSCInvestInfo
diff --git a/ServerPack/HA3_Function/InvestInfo.h b/ServerPack/HA3_Function/InvestInfo.h
index 83965dc..635d634 100644
--- a/ServerPack/HA3_Function/InvestInfo.h
+++ b/ServerPack/HA3_Function/InvestInfo.h
@@ -1,11 +1,10 @@
-// A3 38 投资理财信息 #tagMCInvestInfo
+// A3 38 投资信息 #tagSCInvestInfo
-struct tagMCInvestInfo
+struct tagSCInvestInfo
{
tagHead Head;
- BYTE InvestType; // 投资类型
- WORD CurDay; // 当前天数,投资第一天为1
- BYTE ValueCount;
- DWORD RewardValue[ValueCount]; //领奖记录值,按投资回报索引位记录是否已领取
- DWORD ProgressValue[ValueCount]; //投资相关可领取进度记录值: 9登录投资-记录已登录天数;11Boss投资-按回报索引位记录是否已击杀该boss
+ BYTE InvestType; // 投资类型
+ DWORD InvestBuyTime; // 投资购买时间戳,永久的通过该时间判断是否有效或已过天数,任意类型均有该值,过期没有重置,前端自己判断
+ DWORD InvestEndTime; // 投资到期时间戳,非永久的通过该时间判断到期时间,有天数限制的才有值
+ BYTE AwardState; // 今日是否已领取奖励
};
--
Gitblit v1.8.0