public void MergeFrom(AuthResponsePacket other) { if (other == null) { return; } if (other.Success != false) { Success = other.Success; } if (other.FailureReason != 0) { FailureReason = other.FailureReason; } if (other.FailureMessage.Length != 0) { FailureMessage = other.FailureMessage; } if (other.SessionId.Length != 0) { SessionId = other.SessionId; } if (other.expiry_ != null) { if (expiry_ == null) { expiry_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Expiry.MergeFrom(other.Expiry); } if (other.ExpiresIn != 0) { ExpiresIn = other.ExpiresIn; } }