Skip to content

Commit c8a1de9

Browse files
authored
2504 GDK (#604)
1 parent 1189ba7 commit c8a1de9

File tree

18 files changed

+101
-30
lines changed

18 files changed

+101
-30
lines changed

Build/Microsoft.Xbox.Services.142.GDK.C/Microsoft.Xbox.Services.142.GDK.C.vcxproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,15 @@
1111
<Import Project="$(XsapiSourceRoot)\xsapi.staticlib.props" />
1212
<Import Project="$(XsapiSourceRoot)\Build\Microsoft.Xbox.Services.Common\Microsoft.Xbox.Services.Common.vcxitems" Label="Shared" />
1313
<Import Project="$(XsapiSourceRoot)\Build\Microsoft.Xbox.Services.GDK\Microsoft.Xbox.Services.GDK.vcxitems" Label="Shared" />
14+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">
15+
<ClCompile>
16+
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
17+
</ClCompile>
18+
</ItemDefinitionGroup>
19+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">
20+
<ClCompile>
21+
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
22+
</ClCompile>
23+
</ItemDefinitionGroup>
1424
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
1525
</Project>
Submodule libHttpClient updated 47 files

External/Xal/Source/Xal/Include/Xal/xal_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ extern "C"
2020
/// YYYYMMDD Date string describing the date the build was created
2121
/// rrr QFE number (000 indicates base release)
2222
/// </summary>
23-
#define XAL_VERSION "2024.10.20240920.000"
23+
#define XAL_VERSION "2025.04.20250326.000"
2424

2525
}

External/rapidjson

Include/xsapi-c/docs/xsapi-c/atoc-xsapi-c.md.txt

Whitespace-only changes.

Include/xsapi-c/presence_c.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,10 @@ STDAPI XblPresenceGetPresenceForMultipleUsersResult(
600600
/// <param name="filters">Optional filters struct to filter results.</param>
601601
/// <param name="async">The AsyncBlock for this operation.</param>
602602
/// <returns>HRESULT return code for this API operation.</returns>
603+
/// <remarks>
604+
/// To retrieve the result of calling XblPresenceGetPresenceForSocialGroupAsync, call [XblPresenceGetPresenceForSocialGroupResult](xblpresencegetpresenceforsocialgroupresult.md).
605+
/// To retrieve the required buffer size to hold the results of calling XblPresenceGetPresenceForSocialGroupAsync, call [XblPresenceGetPresenceForSocialGroupResultCount](xblpresencegetpresenceforsocialgroupresultcount.md).
606+
/// </remarks>
603607
STDAPI XblPresenceGetPresenceForSocialGroupAsync(
604608
_In_ XblContextHandle xblContextHandle,
605609
_In_z_ const char* socialGroupName,

Include/xsapi-c/profile_c.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ typedef struct XblUserProfile
2323
uint64_t xboxUserId;
2424

2525
/// <summary>
26-
/// Name for displaying in apps. This will always be the user's gamertag and identical to the gameDisplayName field.
26+
/// The UTF-8 encoded user's display name to be used in application UI. This will always be the user's gamertag and identical to the gameDisplayName field.
2727
/// </summary>
2828
char appDisplayName[XBL_DISPLAY_NAME_CHAR_SIZE];
2929

@@ -39,7 +39,7 @@ typedef struct XblUserProfile
3939
char appDisplayPictureResizeUri[XBL_DISPLAY_PIC_URL_RAW_CHAR_SIZE];
4040

4141
/// <summary>
42-
/// Name for displaying in games. This will always be the user's gamertag and identical to the appDisplayName field.
42+
/// The UTF-8 encoded user's display name to be used in application UI. This will always be the user's gamertag and identical to the appDisplayName field.
4343
/// </summary>
4444
char gameDisplayName[XBL_DISPLAY_NAME_CHAR_SIZE];
4545

Include/xsapi-c/social_manager_c.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ typedef struct XblSocialManagerUser
354354

355355
/// <summary>
356356
/// The UTF-8 encoded display name.
357+
/// Many batch operations performed by XblSocialManager will not return a displayName for players. Use gamerTag or modernGamerTag instead
357358
/// </summary>
358359
char displayName[XBL_DISPLAY_NAME_CHAR_SIZE];
359360

Include/xsapi-cpp/impl/multiplayer.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ multiplayer_session_change_types multiplayer_session::subscribed_change_types()
13551355

13561356
std::vector<string_t> multiplayer_session::host_candidates() const
13571357
{
1358-
const XblDeviceToken* tokens;
1358+
const XblDeviceToken* tokens{ nullptr };
13591359
size_t tokensCount;
13601360
XblMultiplayerSessionHostCandidates(m_handle, &tokens, &tokensCount);
13611361
return Utils::Transform<string_t>(tokens, tokens + tokensCount, [](const XblDeviceToken& token)
@@ -1389,15 +1389,15 @@ std::shared_ptr<multiplayer_session_properties> multiplayer_session::session_pro
13891389

13901390
std::shared_ptr<multiplayer_session_role_types> multiplayer_session::session_role_types() const
13911391
{
1392-
const XblMultiplayerRoleType* roleTypes;
1392+
const XblMultiplayerRoleType* roleTypes{ nullptr };
13931393
size_t roleTypesCount;
13941394
XblMultiplayerSessionRoleTypes(m_handle, &roleTypes, &roleTypesCount);
13951395
return std::shared_ptr<multiplayer_session_role_types>(new multiplayer_session_role_types(roleTypes, roleTypesCount));
13961396
}
13971397

13981398
std::vector<std::shared_ptr<multiplayer_session_member>> multiplayer_session::members() const
13991399
{
1400-
const XblMultiplayerSessionMember* members;
1400+
const XblMultiplayerSessionMember* members{ nullptr };
14011401
size_t membersCount;
14021402
XblMultiplayerSessionMembers(m_handle, &members, &membersCount);
14031403

Include/xsapi-cpp/impl/presence.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ user_presence_state presence_record::user_state() const
294294

295295
std::vector<presence_device_record> presence_record::presence_device_records() const
296296
{
297-
const XblPresenceDeviceRecord* deviceRecords;
297+
const XblPresenceDeviceRecord* deviceRecords{ nullptr };
298298
size_t deviceRecordsCount;
299299
XblPresenceRecordGetDeviceRecords(m_handle, &deviceRecords, &deviceRecordsCount);
300300

0 commit comments

Comments
 (0)