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