示例#1
0
 public override bool IsSameCondition(BaseGuideCondition condition)
 {
     if (type != condition.type)
     {
         return(false);
     }
     return(base.IsSameCondition(condition));
 }
示例#2
0
 public virtual bool IsSameCondition(BaseGuideCondition condition)
 {
     if (type == condition.type && IsSameIntArray(condition.intParames) &&
         strParames.Equals(condition.strParames))
     {
         return(true);
     }
     return(false);
 }
示例#3
0
    public override bool IsSameCondition(BaseGuideCondition condition)
    {
        if (type != condition.type)
        {
            return(false);
        }

        int needLevel = condition.GetIntParames(0);

        if (type == condition.type && level >= needLevel)
        {
            return(true);
        }
        return(false);
    }