* 2206 GDK QFE3
This commit is contained in:
Nathan Iskandar 2022-09-07 14:51:44 -07:00 коммит произвёл GitHub
Родитель a4d82ba5b1
Коммит 97a124001e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 9 добавлений и 7 удалений

Просмотреть файл

@ -363,7 +363,7 @@ enum class XblPermissionDenyReason : uint32_t
/// A privacy value for the requestor has a restriction that doesn't allow interaction with the target.
/// For instance, a parental control only allows interaction with friends and the target isn't a friend.
/// </summary>
PrivacySettingsRestrictsTarget = 9,
PrivacySettingRestrictsTarget = 9,
/// <summary>
/// The target is a cross-network user, but cross-network privacy settings indicated only friends are allowed.
@ -418,7 +418,7 @@ typedef struct XblPermissionDenyReasonDetails
XblPrivilege restrictedPrivilege;
/// <summary>
/// Active when the deny reason is XblPermissionDenyReason::PrivacySettingsRestrictsTarget.
/// Active when the deny reason is XblPermissionDenyReason::PrivacySettingRestrictsTarget.
/// Unknown otherwise.
/// </summary>
XblPrivacySetting restrictedPrivacySetting;

Просмотреть файл

@ -24,7 +24,7 @@ string_t permission_deny_reason::reason() const
{ static_cast<uint32_t>(XblPermissionDenyReason::PrivilegeRestrictsTarget), _T("PrivilegeRestrictsTarget") },
{ static_cast<uint32_t>(XblPermissionDenyReason::BlockListRestrictsTarget), _T("BlockListRestrictsTarget") },
{ static_cast<uint32_t>(XblPermissionDenyReason::MuteListRestrictsTarget), _T("MuteListRestrictsTarget") },
{ static_cast<uint32_t>(XblPermissionDenyReason::PrivacySettingsRestrictsTarget), _T("PrivacySettingsRestrictsTarget") }
{ static_cast<uint32_t>(XblPermissionDenyReason::PrivacySettingRestrictsTarget), _T("PrivacySettingRestrictsTarget") }
};
return reasonsMap.at(static_cast<uint32_t>(m_reasonDetails.reason));
}

Просмотреть файл

@ -78,7 +78,7 @@ Result<PermissionCheckResult> PermissionCheckResult::Deserialize(
result.restrictedPrivilege = XblPrivilegeValue(restrictedSetting.data());
break;
}
case XblPermissionDenyReason::PrivacySettingsRestrictsTarget:
case XblPermissionDenyReason::PrivacySettingRestrictsTarget:
{
result.restrictedPrivacySetting = EnumValue<XblPrivacySetting>(restrictedSetting.data());
break;

Просмотреть файл

@ -691,7 +691,10 @@ void Connection::ConnectCompleteHandler(WebsocketResult result) noexcept
}
else
{
m_state = XblRealTimeActivityConnectionState::Disconnected;
if (m_connectAttempt > 3)
{
m_state = XblRealTimeActivityConnectionState::Disconnected;
}
ScheduleConnect();
}
@ -804,7 +807,6 @@ void Connection::DisconnectHandler(WebSocketCloseStatus status) noexcept
serviceSub->status = ServiceSubscription::Status::Inactive;
}
m_state = XblRealTimeActivityConnectionState::Disconnected;
ScheduleConnect();
lock.unlock();

Просмотреть файл

@ -9,4 +9,4 @@
//*********************************************************
#pragma once
#define XBOX_SERVICES_API_VERSION_STRING "2022.06.20220517.0"
#define XBOX_SERVICES_API_VERSION_STRING "2022.06.20220822.3"