From ab51e29c1f5cc3838f44e702b01c7a43b641f572 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 04 十一月 2025 14:25:37 +0800
Subject: [PATCH] 197 子 【内政】淘金系统 / 【内政】淘金系统-客户端 - 功能开启前的限制
---
Main/System/CustomizedGift/CustomizedGiftModel.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Main/System/CustomizedGift/CustomizedGiftModel.cs b/Main/System/CustomizedGift/CustomizedGiftModel.cs
index 5f70623..d4cfe40 100644
--- a/Main/System/CustomizedGift/CustomizedGiftModel.cs
+++ b/Main/System/CustomizedGift/CustomizedGiftModel.cs
@@ -14,7 +14,7 @@
public const int activityType = (int)OpenServerActivityCenter.ActivityType.AT_Activity2;
public const int activityID = (int)NewDayActivityID.CustomizedGiftWin;
- public static Operation operaType = Operation.default35;
+ public static OperationType operaType = OperationType.default35;
public int actNum; //瀵瑰簲鐣岄潰
public event Action UpdateRechargeGiftActEvent;
@@ -56,7 +56,7 @@
}
}
- private void OperationEndEvent(Operation type, int state)
+ private void OperationEndEvent(OperationType type, int state)
{
if (type == operaType && state == 0)
{
@@ -68,7 +68,7 @@
}
}
- private void OperationAdvanceEvent(Operation type)
+ private void OperationAdvanceEvent(OperationType type)
{
if (type == operaType)
{
@@ -79,7 +79,7 @@
}
}
- private void OperationStartEvent(Operation type, int state)
+ private void OperationStartEvent(OperationType type, int state)
{
if (type == operaType && state == 0)
{
@@ -127,7 +127,7 @@
for (int i = 0; i < act.ctgIDs.Count; i++)
{
int ctgID = act.ctgIDs[i];
- RechargeManager.RechargeCount rechargeCount;
+ RechargeCount rechargeCount;
if (RechargeManager.Instance.TryGetRechargeCount(ctgID, out rechargeCount))
{
total += rechargeCount.totalCount;
@@ -142,7 +142,7 @@
OperationRechargeGiftAct act;
OperationTimeHepler.Instance.TryGetOperation(operaType, out act);
- RechargeManager.RechargeCount rechargeCount;
+ RechargeCount rechargeCount;
RechargeManager.Instance.TryGetRechargeCount(ctgID, out rechargeCount);
var ctgConfig = CTGConfig.Get(ctgID);
--
Gitblit v1.8.0