Files
MinFt/Client/Assets/Scripts/TablesEx/FishingEventEx.cs
Liubing\LB 3d8d4d18f3 first commit
先修复一下,错误的场景

删除不必要的钓场资产

修复into场景

update:更新meta文件,修复报错

update:修复资源

修复第一章节建造

修复建造第三章

update:删除多余内容

update:更新README.md

update:还原图标

update:更新README

update:更新配置
2026-04-28 02:17:22 +08:00

63 lines
2.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Linq;
// [REMOVED] Activity.Condition module no longer exists
// using Activity.Condition;
namespace cfg
{
public partial class FishingEvent
{
// [REMOVED] IConditionChecker type no longer exists
// private List<IConditionChecker> _conditionCheckers;
// private Dictionary<Type, List<IConditionChecker>> _checkersByDataType;
// /// <summary>
// /// 获取所有条件检查器
// /// </summary>
// public List<IConditionChecker> GetConditionCheckers()
// {
// if (_conditionCheckers != null) return _conditionCheckers;
// _conditionCheckers=new List<IConditionChecker>();
// _conditionCheckers.AddRange(ConditionCheckerFactory.GetAllCommonCheckers());
// _conditionCheckers.AddRange(ConditionList.Select(condition =>
// ConditionCheckerFactory.CreateCheckerByConditionType(condition.Condition))
// .Where(checker => checker != null));
// _conditionCheckers.Sort((x, y)=>x.Priority.CompareTo(y.Priority));
// return _conditionCheckers;
// }
// /// <summary>
// /// 获取关心指定数据类型的检查器(按数据类型预先索引)
// /// </summary>
// public List<IConditionChecker> GetCheckersForDataType(Type dataType)
// {
// EnsureCheckersIndexed();
// return _checkersByDataType.GetValueOrDefault(dataType);
// }
// /// <summary>
// /// 确保检查器已按数据类型索引
// /// </summary>
// private void EnsureCheckersIndexed()
// {
// if (_checkersByDataType != null) return;
//
// _checkersByDataType = new Dictionary<Type, List<IConditionChecker>>();
//
// foreach (var checker in GetConditionCheckers())
// {
// // 某些检查器如时间、ABTest不会关心任何数据类型CareDataChangeWithType 可能为 null
// if (checker.CareDataChangeWithType == null) continue;
//
// foreach (var dataType in checker.CareDataChangeWithType)
// {
// if (!_checkersByDataType.ContainsKey(dataType))
// _checkersByDataType[dataType] = new List<IConditionChecker>();
//
// _checkersByDataType[dataType].Add(checker);
// }
// }
// }
}
}