public override int GetHashCode() { int hash = 1; if (Id != 0L) { hash ^= Id.GetHashCode(); } if (PlayerId != 0L) { hash ^= PlayerId.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Level != 0) { hash ^= Level.GetHashCode(); } if (Exp != 0L) { hash ^= Exp.GetHashCode(); } if (Prestige != 0) { hash ^= Prestige.GetHashCode(); } if (Gold != 0L) { hash ^= Gold.GetHashCode(); } if (Diamond != 0) { hash ^= Diamond.GetHashCode(); } hash ^= roles_.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (Id != 0) { hash ^= Id.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Lv != 0) { hash ^= Lv.GetHashCode(); } if (Exp != 0) { hash ^= Exp.GetHashCode(); } if (Power != 0) { hash ^= Power.GetHashCode(); } if (Coin != 0) { hash ^= Coin.GetHashCode(); } if (Diamond != 0) { hash ^= Diamond.GetHashCode(); } if (Crystal != 0) { hash ^= Crystal.GetHashCode(); } if (Hp != 0) { hash ^= Hp.GetHashCode(); } if (Ad != 0) { hash ^= Ad.GetHashCode(); } if (Ap != 0) { hash ^= Ap.GetHashCode(); } if (Addef != 0) { hash ^= Addef.GetHashCode(); } if (Apdef != 0) { hash ^= Apdef.GetHashCode(); } if (Dodge != 0) { hash ^= Dodge.GetHashCode(); } if (Pierce != 0) { hash ^= Pierce.GetHashCode(); } if (Critical != 0) { hash ^= Critical.GetHashCode(); } if (Guideid != 0) { hash ^= Guideid.GetHashCode(); } hash ^= strongArr_.GetHashCode(); if (Time != 0L) { hash ^= Time.GetHashCode(); } hash ^= taskArr_.GetHashCode(); if (Fuben != 0) { hash ^= Fuben.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }