From 3b2a6bb9047cfce9f501593b3669a9c1af6c5df4 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 05 十一月 2025 17:40:23 +0800
Subject: [PATCH] 130 战斗修改回合样式
---
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