Example #1
0
 public override bool IsSameCondition(BaseGuideCondition condition)
 {
     if (type != condition.type)
     {
         return(false);
     }
     return(base.IsSameCondition(condition));
 }
Example #2
0
 public virtual bool IsSameCondition(BaseGuideCondition condition)
 {
     if (type == condition.type && IsSameIntArray(condition.intParames) &&
         strParames.Equals(condition.strParames))
     {
         return(true);
     }
     return(false);
 }
Example #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);
    }