Exemplo n.º 1
0
            public override int GetHashCode()
            {
                int hash = 17;

                hash = hash * 31 + name.GetHashCode();
                hash = hash * 31 + id.GetHashCode();
                hash = hash * 31 + type.GetHashCode();
                hash = hash * 31 + distance.GetHashCode();
                hash = hash * 31 + pos_x.GetHashCode();
                hash = hash * 31 + pos_y.GetHashCode();
                hash = hash * 31 + pos_z.GetHashCode();
                hash = hash * 31 + rotation.GetHashCode();
                hash = hash * 31 + hp.GetHashCode();
                hash = hash * 31 + max_hp.GetHashCode();
                hash = hash * 31 + mp.GetHashCode();
                hash = hash * 31 + max_mp.GetHashCode();
                hash = hash * 31 + gp.GetHashCode();
                hash = hash * 31 + max_gp.GetHashCode();
                hash = hash * 31 + cp.GetHashCode();
                hash = hash * 31 + max_cp.GetHashCode();
                hash = hash * 31 + job.GetHashCode();
                hash = hash * 31 + level.GetHashCode();
                hash = hash * 31 + shield_value.GetHashCode();
                hash = hash * 31 + debug_job.GetHashCode();
                hash = hash * 31 + bait.GetHashCode();
                return(hash);
            }
Exemplo n.º 2
0
            public override int GetHashCode()
            {
                int hash = 17;

                hash = hash * 31 + name.GetHashCode();
                hash = hash * 31 + id.GetHashCode();
                hash = hash * 31 + type.GetHashCode();
                hash = hash * 31 + distance.GetHashCode();
                hash = hash * 31 + pos_x.GetHashCode();
                hash = hash * 31 + pos_y.GetHashCode();
                hash = hash * 31 + pos_z.GetHashCode();
                hash = hash * 31 + hp.GetHashCode();
                hash = hash * 31 + max_hp.GetHashCode();
                hash = hash * 31 + mp.GetHashCode();
                hash = hash * 31 + max_mp.GetHashCode();
                hash = hash * 31 + tp.GetHashCode();
                hash = hash * 31 + gp.GetHashCode();
                hash = hash * 31 + max_gp.GetHashCode();
                hash = hash * 31 + cp.GetHashCode();
                hash = hash * 31 + max_cp.GetHashCode();
                hash = hash * 31 + job.GetHashCode();
                hash = hash * 31 + level.GetHashCode();
                hash = hash * 31 + debugJob.GetHashCode();
                return(hash);
            }