コード例 #1
0
 public bool Equals(EffectCreature other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && other.m_monsterfamily == m_monsterfamily);
 }
コード例 #2
0
 public EffectCreature(EffectCreature copy)
     : this(copy.Id, copy.MonsterFamily, copy)
 {
 }
コード例 #3
0
 public bool Equals(EffectCreature other)
 {
     return(!object.ReferenceEquals(null, other) && (object.ReferenceEquals(this, other) || (base.Equals(other) && other.m_monsterfamily == this.m_monsterfamily)));
 }