public void MergeFrom(RequestBasicInfo other) { if (other == null) { return; } if (other.ClientType != global::AcFunDanmu.DeviceInfo.Types.PlatformType.KInvalid) { ClientType = other.ClientType; } if (other.DeviceId.Length != 0) { DeviceId = other.DeviceId; } if (other.ClientIp.Length != 0) { ClientIp = other.ClientIp; } if (other.AppVersion.Length != 0) { AppVersion = other.AppVersion; } if (other.Channel.Length != 0) { Channel = other.Channel; } if (other.appInfo_ != null) { if (appInfo_ == null) { AppInfo = new global::AcFunDanmu.AppInfo(); } AppInfo.MergeFrom(other.AppInfo); } if (other.deviceInfo_ != null) { if (deviceInfo_ == null) { DeviceInfo = new global::AcFunDanmu.DeviceInfo(); } DeviceInfo.MergeFrom(other.DeviceInfo); } if (other.envInfo_ != null) { if (envInfo_ == null) { EnvInfo = new global::AcFunDanmu.EnvInfo(); } EnvInfo.MergeFrom(other.EnvInfo); } if (other.ClientPort != 0) { ClientPort = other.ClientPort; } if (other.Location.Length != 0) { Location = other.Location; } if (other.Kpf.Length != 0) { Kpf = other.Kpf; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }