Ejemplo n.º 1
0
 public override int GetHashCode() {
   int hash = 1;
   if (Success != false) hash ^= Success.GetHashCode();
   if (MapID != 0) hash ^= MapID.GetHashCode();
   if (role_ != null) hash ^= Role.GetHashCode();
   if (WorldID != 0) hash ^= WorldID.GetHashCode();
   if (_unknownFields != null) {
     hash ^= _unknownFields.GetHashCode();
   }
   return hash;
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (opts_ != null)
            {
                hash ^= Opts.GetHashCode();
            }
            if (MapID != 0)
            {
                hash ^= MapID.GetHashCode();
            }
            if (ConnTimeout != 0)
            {
                hash ^= ConnTimeout.GetHashCode();
            }
            hash ^= teamInfos_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 3
0
 public override Int32 GetHashCode()
 {
     return(((MapID == null) ? 0 : MapID.GetHashCode()) + Position.GetHashCode());
 }