Esempio n. 1
0
 public bool Equals(EffectMinMax other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && other.m_maxvalue == m_maxvalue && other.m_minvalue == m_minvalue);
 }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            bool result;

            if (!(obj is EffectMinMax))
            {
                result = false;
            }
            else
            {
                EffectMinMax effectMinMax = obj as EffectMinMax;
                result = (base.Equals(obj) && this.m_minvalue == effectMinMax.m_minvalue && this.m_maxvalue == effectMinMax.m_maxvalue);
            }
            return(result);
        }
Esempio n. 3
0
 public EffectMinMax(EffectMinMax copy)
     : this(copy.Id, copy.ValueMin, copy.ValueMax, copy)
 {
 }
Esempio n. 4
0
 public bool Equals(EffectMinMax other)
 {
     return(!object.ReferenceEquals(null, other) && (object.ReferenceEquals(this, other) || (base.Equals(other) && other.m_maxvalue == this.m_maxvalue && other.m_minvalue == this.m_minvalue)));
 }