public override int GetHashCode() { int hash = 1; if (accessPointsConfig_ != null) { hash ^= AccessPointsConfig.GetHashCode(); } if (SessKey.Length != 0) { hash ^= SessKey.GetHashCode(); } if (InstanceId != 0L) { hash ^= InstanceId.GetHashCode(); } if (sdkOption_ != null) { hash ^= SdkOption.GetHashCode(); } if (accessPointsCOnfigIpv6_ != null) { hash ^= AccessPointsCOnfigIpv6.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(RegisterResponse other) { if (other == null) { return; } if (other.accessPointsConfig_ != null) { if (accessPointsConfig_ == null) { AccessPointsConfig = new global::AcFunDanmu.AccessPointsConfig(); } AccessPointsConfig.MergeFrom(other.AccessPointsConfig); } if (other.SessKey.Length != 0) { SessKey = other.SessKey; } if (other.InstanceId != 0L) { InstanceId = other.InstanceId; } if (other.sdkOption_ != null) { if (sdkOption_ == null) { SdkOption = new global::AcFunDanmu.SdkOption(); } SdkOption.MergeFrom(other.SdkOption); } if (other.accessPointsCOnfigIpv6_ != null) { if (accessPointsCOnfigIpv6_ == null) { AccessPointsCOnfigIpv6 = new global::AcFunDanmu.AccessPointsConfig(); } AccessPointsCOnfigIpv6.MergeFrom(other.AccessPointsCOnfigIpv6); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }