public override int GetHashCode() { int hash = 1; if (EntityId != 0) { hash ^= EntityId.GetHashCode(); } if (pos_ != null) { hash ^= Pos.GetHashCode(); } if (face_ != null) { hash ^= Face.GetHashCode(); } if (SkillId != 0) { hash ^= SkillId.GetHashCode(); } if (TargetId != 0) { hash ^= TargetId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Id != 0) { hash ^= Id.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Level != 0) { hash ^= Level.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (Desc.Length != 0) { hash ^= Desc.GetHashCode(); } if (IsOpen != false) { hash ^= IsOpen.GetHashCode(); } if (SkillId.Length != 0) { hash ^= SkillId.GetHashCode(); } if (HeroId.Length != 0) { hash ^= HeroId.GetHashCode(); } hash ^= levelDesc_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
// override object.GetHashCode public override int GetHashCode() { return(UserId.GetHashCode() ^ SkillId.GetHashCode()); }
public override int GetHashCode() { return(SkillId != null?SkillId.GetHashCode() : 0); }
public override int GetHashCode() { return(OfferId.GetHashCode() + SkillId.GetHashCode()); }