Skip to content

Commit

Permalink
Release 2310.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Release Pipeline committed Sep 29, 2023
1 parent 9b16bb6 commit dce5bcd
Show file tree
Hide file tree
Showing 46 changed files with 1,852 additions and 388 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -334,3 +334,8 @@ ASALocalRun/
coveragetool
reports/
*.cobertura.xml

# Ignore files used to store 'git diff' and 'pf-gensdk' output
# Used in template-update-check.yml
git_diff_output.txt
gen.txt
375 changes: 188 additions & 187 deletions Source/PlayFabCore/Include/Generated/playfab/core/PFErrors.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ enum class PFHCCompressionLevel : uint32_t
High = 9
};

#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_GDK
#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_GDK || HC_PLATFORM == HC_PLATFORM_NINTENDO_SWITCH
/// <summary>
/// Enable GZIP compression on the provided body payload.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion Source/PlayFabCore/Source/HttpClient/PFHttpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ PF_API PFHCHttpCallResponseGetHeaderAtIndex(
);
}

#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_GDK
#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_GDK || HC_PLATFORM == HC_PLATFORM_NINTENDO_SWITCH

PF_API PFHCHttpCallRequestEnableGzipCompression(
_In_ PFHCCallHandle call,
Expand Down
2 changes: 2 additions & 0 deletions Source/PlayFabServices/API-List.csv
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ PF Services,AccountManagement,PFAccountManagementServerGetServerCustomIDsFromPla
PF Services,AccountManagement,PFAccountManagementServerGetUserAccountInfoAsync,SecretKey,Account Management,ServerGetUserAccountInfo,false,No,Yes,No,No
PF Services,AccountManagement,PFAccountManagementServerGetUserBansAsync,SecretKey,Account Management,ServerGetUserBans,false,No,Yes,No,No
PF Services,AccountManagement,PFAccountManagementServerLinkNintendoServiceAccountAsync,SecretKey,Account Management,ServerLinkNintendoServiceAccount,false,No,Yes,No,No
PF Services,AccountManagement,PFAccountManagementServerLinkNintendoServiceAccountSubjectAsync,SecretKey,Account Management,ServerLinkNintendoServiceAccountSubject,false,No,Yes,No,No
PF Services,AccountManagement,PFAccountManagementServerLinkNintendoSwitchDeviceIdAsync,SecretKey,Account Management,ServerLinkNintendoSwitchDeviceId,false,No,Yes,No,No
PF Services,AccountManagement,PFAccountManagementServerLinkPSNAccountAsync,SecretKey,Account Management,ServerLinkPSNAccount,false,No,Yes,No,No
PF Services,AccountManagement,PFAccountManagementServerLinkPSNIdAsync,SecretKey,Account Management,ServerLinkPSNId,false,No,No,No,No
Expand Down Expand Up @@ -539,6 +540,7 @@ PF Services,MultiplayerServer,PFMultiplayerServerListQosServersForTitleAsync,Ent
PF Services,MultiplayerServer,PFMultiplayerServerListTitleMultiplayerServersQuotaChangesAsync,EntityToken,MultiplayerServer,ListTitleMultiplayerServersQuotaChanges,false,No,No,No,No
PF Services,MultiplayerServer,PFMultiplayerServerListVirtualMachineSummariesAsync,EntityToken,MultiplayerServer,ListVirtualMachineSummaries,false,No,No,No,No
PF Services,MultiplayerServer,PFMultiplayerServerRequestMultiplayerServerAsync,EntityToken,MultiplayerServer,RequestMultiplayerServer,false,Yes,Yes,Yes,Yes
PF Services,MultiplayerServer,PFMultiplayerServerRequestPartyServiceAsync,EntityToken,MultiplayerServer,RequestPartyService,false,No,No,No,No
PF Services,MultiplayerServer,PFMultiplayerServerRolloverContainerRegistryCredentialsAsync,EntityToken,MultiplayerServer,RolloverContainerRegistryCredentials,false,No,No,No,No
PF Services,MultiplayerServer,PFMultiplayerServerShutdownMultiplayerServerAsync,EntityToken,MultiplayerServer,ShutdownMultiplayerServer,false,No,No,No,No
PF Services,MultiplayerServer,PFMultiplayerServerUntagContainerImageAsync,EntityToken,MultiplayerServer,UntagContainerImage,false,No,No,No,No
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2826,7 +2826,7 @@ PF_API PFAccountManagementServerGetUserBansGetResult(
/// <returns>Result code for this API operation.</returns>
/// <remarks>
/// This API is available on Win32.
/// See also ServerUnlinkNintendoServiceAccountAsync.
/// See also ServerLinkNintendoServiceAccountSubjectAsync, ServerUnlinkNintendoServiceAccountAsync.
///
/// Call <see cref="XAsyncGetStatus"/> to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_INVALID_IDENTITY_PROVIDER_ID, E_PF_LINKED_IDENTIFIER_ALREADY_CLAIMED,
Expand All @@ -2840,6 +2840,31 @@ PF_API PFAccountManagementServerLinkNintendoServiceAccountAsync(
) noexcept;
#endif

#if HC_PLATFORM == HC_PLATFORM_WIN32
/// <summary>
/// Links the Nintendo account associated with the Nintendo Service Account subject or id to the user's
/// PlayFab account
/// </summary>
/// <param name="titleEntityHandle">PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync.</param>
/// <param name="request">Populated request object.</param>
/// <param name="async">XAsyncBlock for the async operation.</param>
/// <returns>Result code for this API operation.</returns>
/// <remarks>
/// This API is available on Win32.
/// See also ServerLinkNintendoServiceAccountAsync, ServerUnlinkNintendoServiceAccountAsync.
///
/// Call <see cref="XAsyncGetStatus"/> to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_INVALID_IDENTITY_PROVIDER_ID, E_PF_LINKED_IDENTIFIER_ALREADY_CLAIMED,
/// E_PF_NINTENDO_SWITCH_NOT_ENABLED_FOR_TITLE or any of the global PlayFab Service errors. See doc page
/// "Handling PlayFab Errors" for more details on error handling.
/// </remarks>
PF_API PFAccountManagementServerLinkNintendoServiceAccountSubjectAsync(
_In_ PFEntityHandle titleEntityHandle,
_In_ const PFAccountManagementLinkNintendoServiceAccountSubjectRequest* request,
_Inout_ XAsyncBlock* async
) noexcept;
#endif

#if HC_PLATFORM == HC_PLATFORM_WIN32
/// <summary>
/// Links the NintendoSwitchDeviceId to the user's PlayFab account
Expand Down Expand Up @@ -3169,7 +3194,7 @@ PF_API PFAccountManagementServerSendEmailFromTemplateAsync(
/// <returns>Result code for this API operation.</returns>
/// <remarks>
/// This API is available on Win32.
/// See also ServerLinkNintendoServiceAccountAsync.
/// See also ServerLinkNintendoServiceAccountAsync, ServerLinkNintendoServiceAccountSubjectAsync.
///
/// Call <see cref="XAsyncGetStatus"/> to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED, E_PF_NINTENDO_SWITCH_NOT_ENABLED_FOR_TITLE or any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2261,6 +2261,40 @@ typedef struct PFAccountManagementServerLinkNintendoServiceAccountRequest

} PFAccountManagementServerLinkNintendoServiceAccountRequest;

/// <summary>
/// PFAccountManagementLinkNintendoServiceAccountSubjectRequest data model.
/// </summary>
typedef struct PFAccountManagementLinkNintendoServiceAccountSubjectRequest
{
/// <summary>
/// (Optional) The optional custom tags associated with the request (e.g. build number, external
/// trace identifiers, etc.).
/// </summary>
_Maybenull_ _Field_size_(customTagsCount) struct PFStringDictionaryEntry const* customTags;

/// <summary>
/// Count of customTags
/// </summary>
uint32_t customTagsCount;

/// <summary>
/// (Optional) If another user is already linked to a specific Nintendo Service Account, unlink the
/// other user and re-link.
/// </summary>
_Maybenull_ bool const* forceLink;

/// <summary>
/// Unique PlayFab assigned ID of the user on whom the operation will be performed.
/// </summary>
_Null_terminated_ const char* playFabId;

/// <summary>
/// The Nintendo Service Account subject or id to link to the PlayFab user.
/// </summary>
_Null_terminated_ const char* subject;

} PFAccountManagementLinkNintendoServiceAccountSubjectRequest;

/// <summary>
/// PFAccountManagementServerLinkNintendoSwitchDeviceIdRequest data model.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ extern "C"
/// <returns>Result code for this API operation.</returns>
/// <remarks>
/// This API is available on all platforms.
/// Aborts the pending upload of the requested files. See also FileDeleteFilesAsync, FileFinalizeFileUploadsAsync,
/// FileGetFilesAsync, FileInitiateFileUploadsAsync.
/// Aborts the pending upload of the requested files.
///
/// When the asynchronous task is complete, call <see cref="PFDataAbortFileUploadsGetResultSize"/> and
/// <see cref="PFDataAbortFileUploadsGetResult"/> to get the result.
Expand Down Expand Up @@ -82,8 +81,7 @@ PF_API PFDataAbortFileUploadsGetResult(
/// <returns>Result code for this API operation.</returns>
/// <remarks>
/// This API is available on all platforms.
/// Deletes the requested files from the entity's profile. See also FileAbortFileUploadsAsync, FileFinalizeFileUploadsAsync,
/// FileGetFilesAsync, FileInitiateFileUploadsAsync.
/// Deletes the requested files from the entity's profile.
///
/// When the asynchronous task is complete, call <see cref="PFDataDeleteFilesGetResultSize"/> and <see
/// cref="PFDataDeleteFilesGetResult"/> to get the result.
Expand Down Expand Up @@ -143,8 +141,7 @@ PF_API PFDataDeleteFilesGetResult(
/// <remarks>
/// This API is available on all platforms.
/// Finalizes the upload of the requested files. Verifies that the files have been successfully uploaded
/// and moves the file pointers from pending to live. See also FileAbortFileUploadsAsync, FileDeleteFilesAsync,
/// FileGetFilesAsync, FileInitiateFileUploadsAsync.
/// and moves the file pointers from pending to live.
///
/// When the asynchronous task is complete, call <see cref="PFDataFinalizeFileUploadsGetResultSize"/>
/// and <see cref="PFDataFinalizeFileUploadsGetResult"/> to get the result.
Expand Down Expand Up @@ -321,8 +318,7 @@ PF_API PFDataGetObjectsGetResult(
/// <remarks>
/// This API is available on all platforms.
/// Returns URLs that may be used to upload the files for a profile 5 minutes. After using the upload
/// calls FinalizeFileUploads must be called to move the file status from pending to live. See also FileAbortFileUploadsAsync,
/// FileDeleteFilesAsync, FileFinalizeFileUploadsAsync, FileGetFilesAsync.
/// calls FinalizeFileUploads must be called to move the file status from pending to live.
///
/// When the asynchronous task is complete, call <see cref="PFDataInitiateFileUploadsGetResultSize"/>
/// and <see cref="PFDataInitiateFileUploadsGetResult"/> to get the result.
Expand Down Expand Up @@ -385,7 +381,7 @@ PF_API PFDataInitiateFileUploadsGetResult(
/// optimistic concurrency operations during update. If the current version differs from the version in
/// the request the request will be ignored. If no version is set on the request then the value will always
/// be updated if the values differ. Using the version value does not guarantee a write though, ConcurrentEditError
/// may still occur if multiple clients are attempting to update the same profile. See also ObjectGetObjectsAsync.
/// may still occur if multiple clients are attempting to update the same profile. .
///
/// When the asynchronous task is complete, call <see cref="PFDataSetObjectsGetResultSize"/> and <see
/// cref="PFDataSetObjectsGetResult"/> to get the result.
Expand Down
Loading

0 comments on commit dce5bcd

Please sign in to comment.