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