public void MergeFrom(ResponseEnvelope other) { if (other == null) { return; } if (other.StatusCode != 0) { StatusCode = other.StatusCode; } if (other.RequestId != 0UL) { RequestId = other.RequestId; } if (other.ApiUrl.Length != 0) { ApiUrl = other.ApiUrl; } platformReturns_.Add(other.platformReturns_); if (other.authTicket_ != null) { if (authTicket_ == null) { AuthTicket = new global::WUProtos.Networking.Envelopes.AuthTicket(); } AuthTicket.MergeFrom(other.AuthTicket); } returns_.Add(other.returns_); if (other.Error.Length != 0) { Error = other.Error; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (StatusCode != 0) { hash ^= StatusCode.GetHashCode(); } if (RequestId != 0UL) { hash ^= RequestId.GetHashCode(); } if (ApiUrl.Length != 0) { hash ^= ApiUrl.GetHashCode(); } hash ^= platformReturns_.GetHashCode(); if (authTicket_ != null) { hash ^= AuthTicket.GetHashCode(); } hash ^= returns_.GetHashCode(); if (Error.Length != 0) { hash ^= Error.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }