* Update to 2104 GDK QFE2
This commit is contained in:
Nathan Iskandar 2021-06-02 13:15:03 -07:00 коммит произвёл GitHub
Родитель 2780ee4d09
Коммит 43c95d3060
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
9 изменённых файлов: 15 добавлений и 12 удалений

2
External/Xal/External/libHttpClient поставляемый

@ -1 +1 @@
Subproject commit 7ebf7150ca64013b09bcb16f7bd0b855fe3a6fd0
Subproject commit 0f43237a35cd2335b5503ffaaf240a368c938f3d

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

@ -20,6 +20,6 @@ extern "C"
/// YYYYMMDD Date string describing the date the build was created
/// rrr QFE number (000 indicates base release)
/// </summary>
#define XAL_VERSION "2021.04.20210319.000"
#define XAL_VERSION "2021.04.20210518.001"
}

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

@ -34,6 +34,7 @@ STDAPI XblNotificationSubscribeToNotificationsAsync(
) XBL_NOEXCEPT;
#endif
#if HC_PLATFORM == HC_PLATFORM_IOS || HC_PLATFORM == HC_PLATFORM_ANDROID || HC_PLATFORM == HC_PLATFORM_UWP
/// <summary>
/// Unsubscribes the title from push notifications.
/// </summary>
@ -44,4 +45,6 @@ STDAPI XblNotificationUnsubscribeFromNotificationsAsync(
_In_ XblContextHandle xboxLiveContext,
_In_ XAsyncBlock* asyncBlock
) XBL_NOEXCEPT;
#endif
}

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

@ -191,7 +191,7 @@ pplx::task<xbox_live_result<void>> notification_service::unsubscribe_from_notifi
return asyncWrapper->Task(hr);
}
#elif HC_PLATFORM == HC_PLATFORM_WIN32 && !XSAPI_UNIT_TESTS
#elif (HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM_IS_EXTERNAL) && !XSAPI_UNIT_TESTS
pplx::task<xbox_live_result<void>> notification_service::unsubscribe_from_notifications()
{
auto xblContext = m_xblContext;

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

@ -12,7 +12,7 @@
NAMESPACE_MICROSOFT_XBOX_SERVICES_NOTIFICATION_CPP_BEGIN
class xbox_live_context;
#if HC_PLATFORM == HC_PLATFORM_WIN32
#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM_IS_EXTERNAL
class invite_notification_event_args
{
public:
@ -79,7 +79,7 @@ public:
inline ~notification_service();
inline pplx::task<xbox_live_result<void>> subscribe_to_notifications(
#if HC_PLATFORM == HC_PLATFORM_WIN32 && !XSAPI_UNIT_TESTS
#if (HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM_IS_EXTERNAL) && !XSAPI_UNIT_TESTS
_In_ const std::function<void(achievement_unlocked_notification_event_args&)>& achievementUnlockHandler,
_In_ const std::function<void(invite_notification_event_args&)>& multiplayerInviteHandler
#elif (HC_PLATFORM == HC_PLATFORM_IOS || HC_PLATFORM == HC_PLATFORM_ANDROID)
@ -89,7 +89,7 @@ public:
inline pplx::task<xbox_live_result<void>> unsubscribe_from_notifications();
#if HC_PLATFORM == HC_PLATFORM_WIN32 && !XSAPI_UNIT_TESTS
#if (HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM_IS_EXTERNAL) && !XSAPI_UNIT_TESTS
inline std::function<void(invite_notification_event_args&)>& game_invite_handler();
inline std::function<void(achievement_unlocked_notification_event_args&)>& achievement_unlock_handler();
@ -98,7 +98,7 @@ public:
private:
XblContextHandle m_xblContext;
#if HC_PLATFORM == HC_PLATFORM_WIN32 && !XSAPI_UNIT_TESTS
#if (HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM_IS_EXTERNAL) && !XSAPI_UNIT_TESTS
XblFunctionContext m_gameinviteFunctionContext;
XblFunctionContext m_achievementUnlockFunctionContext;

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

@ -184,7 +184,7 @@ MultiplayerLocalUserManager::AddUserToXboxLiveContextToMap(
return innerWrapUserResult.Hresult();
}
auto localUser = std::make_shared<MultiplayerLocalUser>(
auto localUser = MakeShared<MultiplayerLocalUser>(
innerWrapUserResult.ExtractPayload(),
xboxUserId,
isPrimary

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

@ -297,8 +297,8 @@ Result<MultiplayerActivityInviteData> MultiplayerActivityInviteData::Deserialize
AchievementUnlockEvent::AchievementUnlockEvent(AchievementUnlockEvent&& event) noexcept :
m_achievementId(std::move(event.m_achievementId)),
m_achievementName(std::move(event.m_achievementName)),
m_achievementDescription(std::move(event.m_achievementDescription)),
m_achievementName(std::move(event.m_achievementName)),
m_achievementIconUri(std::move(event.m_achievementIconUri)),
m_deepLink(event.m_deepLink)
{
@ -317,8 +317,8 @@ AchievementUnlockEvent::AchievementUnlockEvent(AchievementUnlockEvent&& event) n
AchievementUnlockEvent::AchievementUnlockEvent(const AchievementUnlockEvent& event) :
m_achievementId(event.m_achievementId),
m_achievementName(event.m_achievementName),
m_achievementDescription(event.m_achievementDescription),
m_achievementName(event.m_achievementName),
m_achievementIconUri(event.m_achievementIconUri),
m_deepLink(event.m_deepLink)
{

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

@ -89,7 +89,7 @@ SocialGraph::SocialGraph(
_In_ const TaskQueue& queue,
_In_ std::shared_ptr<real_time_activity::RealTimeActivityManager> rtaManager
) noexcept :
m_user{ std::make_shared<User>(std::move(localUser))},
m_user{ MakeShared<User>(std::move(localUser))},
m_queue{ queue.DeriveWorkerQueue() },
m_rtaManager{ std::move(rtaManager) }
{

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

@ -9,4 +9,4 @@
//*********************************************************
#pragma once
#define XBOX_SERVICES_API_VERSION_STRING "2021.04.20210317.0"
#define XBOX_SERVICES_API_VERSION_STRING "2021.04.20210526.2"