22 lines
560 B
C#
22 lines
560 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using cfg;
|
|
|
|
namespace Activity.Condition
|
|
{
|
|
/// <summary>
|
|
/// AB测试条件检查器
|
|
/// </summary>
|
|
public class ABTestConditionChecker : IConditionChecker
|
|
{
|
|
public int Priority => 999;
|
|
public List<Type> CareDataChangeWithType => null;
|
|
public bool NeedContinueListenAfterSatisfied => false;
|
|
|
|
public bool CanOpen(FishingEvent fishingEvent)
|
|
{
|
|
// AB测试类型的活动不启用
|
|
return !fishingEvent.IsABTest;
|
|
}
|
|
}
|
|
} |