public override int GetHashCode() { int hash = 1; if (PresenceStatus != global::AcFunDanmu.RegisterRequest.Types.PresenceStatus.KPresenceOffline) { hash ^= PresenceStatus.GetHashCode(); } if (AppActiveStatus != global::AcFunDanmu.RegisterRequest.Types.ActiveStatus.KInvalid) { hash ^= AppActiveStatus.GetHashCode(); } if (pushServiceToken_ != null) { hash ^= PushServiceToken.GetHashCode(); } hash ^= pushServiceTokenList_.GetHashCode(); if (KeepaliveIntervalSec != 0) { hash ^= KeepaliveIntervalSec.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (appInfo_ != null) { hash ^= AppInfo.GetHashCode(); } if (deviceInfo_ != null) { hash ^= DeviceInfo.GetHashCode(); } if (envInfo_ != null) { hash ^= EnvInfo.GetHashCode(); } if (PresenceStatus != global::AcFunDanmu.RegisterRequest.Types.PresenceStatus.KPresenceOffline) { hash ^= PresenceStatus.GetHashCode(); } if (AppActiveStatus != global::AcFunDanmu.RegisterRequest.Types.ActiveStatus.KInvalid) { hash ^= AppActiveStatus.GetHashCode(); } if (AppCustomStatus.Length != 0) { hash ^= AppCustomStatus.GetHashCode(); } if (pushServiceToken_ != null) { hash ^= PushServiceToken.GetHashCode(); } if (InstanceId != 0L) { hash ^= InstanceId.GetHashCode(); } hash ^= pushServiceTokenList_.GetHashCode(); if (KeepaliveIntervalSec != 0) { hash ^= KeepaliveIntervalSec.GetHashCode(); } if (ztCommonInfo_ != null) { hash ^= ZtCommonInfo.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }