Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HeroId != 0L)
            {
                hash ^= HeroId.GetHashCode();
            }
            if (ConfId != 0)
            {
                hash ^= ConfId.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (BreakLevel != 0)
            {
                hash ^= BreakLevel.GetHashCode();
            }
            if (Exp != 0)
            {
                hash ^= Exp.GetHashCode();
            }
            hash ^= awakeInfo_.GetHashCode();
            if (AwakeLevel != 0)
            {
                hash ^= AwakeLevel.GetHashCode();
            }
            if (TianmingLevel != 0)
            {
                hash ^= TianmingLevel.GetHashCode();
            }
            hash ^= Attributes.GetHashCode();
            return(hash);
        }
Exemplo n.º 2
0
 public abstract SsmlUnit AppendBreak(BreakLevel breakLevel);
Exemplo n.º 3
0
 public override SsmlUnit AppendBreak(BreakLevel breakLevel)
 {
     SsmlText += string.Format(StrengthBreakTemplate, BreakLvlStrengthStrDict[breakLevel]);
     return(this);
 }
 public virtual void SetValidation(BreakLevel level)
 {
     /* NOOP override to implement */
 }