public bool Equals(EffectDice other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && other.m_diceface == m_diceface && other.m_dicenum == m_dicenum); }
public override bool Equals(object obj) { bool result; if (!(obj is EffectDice)) { result = false; } else { EffectDice effectDice = obj as EffectDice; result = (base.Equals(obj) && this.m_diceface == effectDice.m_diceface && this.m_dicenum == effectDice.m_dicenum); } return(result); }
public EffectDice(EffectDice copy) : this(copy.Id, copy.Value, copy.DiceNum, copy.DiceFace, copy) { }
public bool Equals(EffectDice other) { return(!object.ReferenceEquals(null, other) && (object.ReferenceEquals(this, other) || (base.Equals(other) && other.m_diceface == this.m_diceface && other.m_dicenum == this.m_dicenum))); }