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); }
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); }
public EffectMinMax(EffectMinMax copy) : this(copy.Id, copy.ValueMin, copy.ValueMax, copy) { }
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))); }