Beispiel #1
0
 public void MergeFrom(RequestEnvelope other)
 {
     if (other == null)
     {
         return;
     }
     if (other.StatusCode != 0)
     {
         StatusCode = other.StatusCode;
     }
     if (other.RequestId != 0UL)
     {
         RequestId = other.RequestId;
     }
     requests_.Add(other.requests_);
     if (other.unknown6_ != null)
     {
         if (unknown6_ == null)
         {
             unknown6_ = new global::POGOProtos.Networking.Envelopes.Unknown6();
         }
         Unknown6.MergeFrom(other.Unknown6);
     }
     if (other.Latitude != 0D)
     {
         Latitude = other.Latitude;
     }
     if (other.Longitude != 0D)
     {
         Longitude = other.Longitude;
     }
     if (other.Accuracy != 0D)
     {
         Accuracy = other.Accuracy;
     }
     if (other.authInfo_ != null)
     {
         if (authInfo_ == null)
         {
             authInfo_ = new global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo();
         }
         AuthInfo.MergeFrom(other.AuthInfo);
     }
     if (other.authTicket_ != null)
     {
         if (authTicket_ == null)
         {
             authTicket_ = new global::POGOProtos.Networking.Envelopes.AuthTicket();
         }
         AuthTicket.MergeFrom(other.AuthTicket);
     }
     if (other.MsSinceLastLocationfix != 0L)
     {
         MsSinceLastLocationfix = other.MsSinceLastLocationfix;
     }
 }
Beispiel #2
0
 public void MergeFrom(RequestEnvelope other)
 {
     if (other == null)
     {
         return;
     }
     if (other.StatusCode != 0)
     {
         StatusCode = other.StatusCode;
     }
     if (other.RequestId != 0UL)
     {
         RequestId = other.RequestId;
     }
     requests_.Add(other.requests_);
     if (other.unknown6_ != null)
     {
         if (unknown6_ == null)
         {
             unknown6_ = new global::PokemonGoDesktop.API.Proto.Unknown6();
         }
         Unknown6.MergeFrom(other.Unknown6);
     }
     if (other.Latitude != 0D)
     {
         Latitude = other.Latitude;
     }
     if (other.Longitude != 0D)
     {
         Longitude = other.Longitude;
     }
     if (other.Altitude != 0D)
     {
         Altitude = other.Altitude;
     }
     if (other.authInfo_ != null)
     {
         if (authInfo_ == null)
         {
             authInfo_ = new global::PokemonGoDesktop.API.Proto.RequestEnvelope.Types.AuthInfo();
         }
         AuthInfo.MergeFrom(other.AuthInfo);
     }
     if (other.authTicket_ != null)
     {
         if (authTicket_ == null)
         {
             authTicket_ = new global::PokemonGoDesktop.API.Proto.AuthTicket();
         }
         AuthTicket.MergeFrom(other.AuthTicket);
     }
     if (other.Unknown12 != 0L)
     {
         Unknown12 = other.Unknown12;
     }
 }
Beispiel #3
0
 public void MergeFrom(RequestEnvelope other)
 {
     if (other == null)
     {
         return;
     }
     if (other.StatusCode != 0)
     {
         StatusCode = other.StatusCode;
     }
     if (other.RequestId != 0UL)
     {
         RequestId = other.RequestId;
     }
     requests_.Add(other.requests_);
     unknown6_.Add(other.unknown6_);
     if (other.Latitude != 0D)
     {
         Latitude = other.Latitude;
     }
     if (other.Longitude != 0D)
     {
         Longitude = other.Longitude;
     }
     if (other.Altitude != 0D)
     {
         Altitude = other.Altitude;
     }
     if (other.authInfo_ != null)
     {
         if (authInfo_ == null)
         {
             authInfo_ = new global::POGOProtos.Networking.Envelopes.RequestEnvelope.Types.AuthInfo();
         }
         AuthInfo.MergeFrom(other.AuthInfo);
     }
     if (other.authTicket_ != null)
     {
         if (authTicket_ == null)
         {
             authTicket_ = new global::POGOProtos.Networking.Envelopes.AuthTicket();
         }
         AuthTicket.MergeFrom(other.AuthTicket);
     }
     if (other.Unknown12 != 0L)
     {
         Unknown12 = other.Unknown12;
     }
 }