Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#221207
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Dec 8, 2022
2 parents 3ea9619 + 43ca363 commit d62a1b1
Show file tree
Hide file tree
Showing 18 changed files with 691 additions and 417 deletions.
27 changes: 16 additions & 11 deletions code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5486,9 +5486,9 @@ namespace PlayFab
GenericErrorCodesAutomationRuleAlreadyExists,
GenericErrorCodesAutomationRuleLimitExceeded,
GenericErrorCodesInvalidGooglePlayGamesServerAuthCode,
GenericErrorCodesStorageAccountNotFound,
GenericErrorCodesPlayStreamConnectionFailed,
GenericErrorCodesInvalidEventContents,
GenericErrorCodesInsightsV1Deprecated,
GenericErrorCodesMatchmakingEntityInvalid,
GenericErrorCodesMatchmakingPlayerAttributesInvalid,
GenericErrorCodesMatchmakingQueueNotFound,
Expand Down Expand Up @@ -8324,11 +8324,6 @@ namespace PlayFab
output = Json::Value("InvalidGooglePlayGamesServerAuthCode");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesStorageAccountNotFound)
{
output = Json::Value("StorageAccountNotFound");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesPlayStreamConnectionFailed)
{
output = Json::Value("PlayStreamConnectionFailed");
Expand All @@ -8339,6 +8334,11 @@ namespace PlayFab
output = Json::Value("InvalidEventContents");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesInsightsV1Deprecated)
{
output = Json::Value("InsightsV1Deprecated");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid)
{
output = Json::Value("MatchmakingEntityInvalid");
Expand Down Expand Up @@ -11822,11 +11822,6 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesInvalidGooglePlayGamesServerAuthCode;
return;
}
if (inputStr == "StorageAccountNotFound")
{
output = GenericErrorCodes::GenericErrorCodesStorageAccountNotFound;
return;
}
if (inputStr == "PlayStreamConnectionFailed")
{
output = GenericErrorCodes::GenericErrorCodesPlayStreamConnectionFailed;
Expand All @@ -11837,6 +11832,11 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesInvalidEventContents;
return;
}
if (inputStr == "InsightsV1Deprecated")
{
output = GenericErrorCodes::GenericErrorCodesInsightsV1Deprecated;
return;
}
if (inputStr == "MatchmakingEntityInvalid")
{
output = GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid;
Expand Down Expand Up @@ -25196,6 +25196,7 @@ namespace PlayFab
std::list<AdCampaignAttribution> AdCampaignAttributions;
std::string AvatarUrl;
Boxed<time_t> BannedUntil;
Boxed<ChurnRiskLevel> ChurnPrediction;
std::list<ContactEmailInfo> ContactEmailAddresses;
Boxed<time_t> Created;
std::string DisplayName;
Expand All @@ -25220,6 +25221,7 @@ namespace PlayFab
AdCampaignAttributions(),
AvatarUrl(),
BannedUntil(),
ChurnPrediction(),
ContactEmailAddresses(),
Created(),
DisplayName(),
Expand All @@ -25245,6 +25247,7 @@ namespace PlayFab
AdCampaignAttributions(src.AdCampaignAttributions),
AvatarUrl(src.AvatarUrl),
BannedUntil(src.BannedUntil),
ChurnPrediction(src.ChurnPrediction),
ContactEmailAddresses(src.ContactEmailAddresses),
Created(src.Created),
DisplayName(src.DisplayName),
Expand Down Expand Up @@ -25272,6 +25275,7 @@ namespace PlayFab
FromJsonUtilO(input["AdCampaignAttributions"], AdCampaignAttributions);
FromJsonUtilS(input["AvatarUrl"], AvatarUrl);
FromJsonUtilT(input["BannedUntil"], BannedUntil);
FromJsonUtilE(input["ChurnPrediction"], ChurnPrediction);
FromJsonUtilO(input["ContactEmailAddresses"], ContactEmailAddresses);
FromJsonUtilT(input["Created"], Created);
FromJsonUtilS(input["DisplayName"], DisplayName);
Expand All @@ -25298,6 +25302,7 @@ namespace PlayFab
Json::Value each_AdCampaignAttributions; ToJsonUtilO(AdCampaignAttributions, each_AdCampaignAttributions); output["AdCampaignAttributions"] = each_AdCampaignAttributions;
Json::Value each_AvatarUrl; ToJsonUtilS(AvatarUrl, each_AvatarUrl); output["AvatarUrl"] = each_AvatarUrl;
Json::Value each_BannedUntil; ToJsonUtilT(BannedUntil, each_BannedUntil); output["BannedUntil"] = each_BannedUntil;
Json::Value each_ChurnPrediction; ToJsonUtilE(ChurnPrediction, each_ChurnPrediction); output["ChurnPrediction"] = each_ChurnPrediction;
Json::Value each_ContactEmailAddresses; ToJsonUtilO(ContactEmailAddresses, each_ContactEmailAddresses); output["ContactEmailAddresses"] = each_ContactEmailAddresses;
Json::Value each_Created; ToJsonUtilT(Created, each_Created); output["Created"] = each_Created;
Json::Value each_DisplayName; ToJsonUtilS(DisplayName, each_DisplayName); output["DisplayName"] = each_DisplayName;
Expand Down
121 changes: 0 additions & 121 deletions code/include/playfab/PlayFabClientDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4819,19 +4819,8 @@ namespace PlayFab
ExternalFriendSourcesNone,
ExternalFriendSourcesSteam,
ExternalFriendSourcesFacebook,
ExternalFriendSourcesSteamOrFacebook,
ExternalFriendSourcesXbox,
ExternalFriendSourcesSteamOrXbox,
ExternalFriendSourcesFacebookOrXbox,
ExternalFriendSourcesSteamOrFacebookOrXbox,
ExternalFriendSourcesPsn,
ExternalFriendSourcesSteamOrPsn,
ExternalFriendSourcesFacebookOrPsn,
ExternalFriendSourcesSteamOrFacebookOrPsn,
ExternalFriendSourcesXboxOrPsn,
ExternalFriendSourcesSteamOrXboxOrPsn,
ExternalFriendSourcesFacebookOrXboxOrPsn,
ExternalFriendSourcesSteamOrFacebookOrXboxOrPsn,
ExternalFriendSourcesAll
};

Expand All @@ -4852,71 +4841,16 @@ namespace PlayFab
output = Json::Value("Facebook");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesSteamOrFacebook)
{
output = Json::Value("SteamOrFacebook");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesXbox)
{
output = Json::Value("Xbox");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesSteamOrXbox)
{
output = Json::Value("SteamOrXbox");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesFacebookOrXbox)
{
output = Json::Value("FacebookOrXbox");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesSteamOrFacebookOrXbox)
{
output = Json::Value("SteamOrFacebookOrXbox");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesPsn)
{
output = Json::Value("Psn");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesSteamOrPsn)
{
output = Json::Value("SteamOrPsn");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesFacebookOrPsn)
{
output = Json::Value("FacebookOrPsn");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesSteamOrFacebookOrPsn)
{
output = Json::Value("SteamOrFacebookOrPsn");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesXboxOrPsn)
{
output = Json::Value("XboxOrPsn");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesSteamOrXboxOrPsn)
{
output = Json::Value("SteamOrXboxOrPsn");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesFacebookOrXboxOrPsn)
{
output = Json::Value("FacebookOrXboxOrPsn");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesSteamOrFacebookOrXboxOrPsn)
{
output = Json::Value("SteamOrFacebookOrXboxOrPsn");
return;
}
if (input == ExternalFriendSources::ExternalFriendSourcesAll)
{
output = Json::Value("All");
Expand Down Expand Up @@ -4945,71 +4879,16 @@ namespace PlayFab
output = ExternalFriendSources::ExternalFriendSourcesFacebook;
return;
}
if (inputStr == "SteamOrFacebook")
{
output = ExternalFriendSources::ExternalFriendSourcesSteamOrFacebook;
return;
}
if (inputStr == "Xbox")
{
output = ExternalFriendSources::ExternalFriendSourcesXbox;
return;
}
if (inputStr == "SteamOrXbox")
{
output = ExternalFriendSources::ExternalFriendSourcesSteamOrXbox;
return;
}
if (inputStr == "FacebookOrXbox")
{
output = ExternalFriendSources::ExternalFriendSourcesFacebookOrXbox;
return;
}
if (inputStr == "SteamOrFacebookOrXbox")
{
output = ExternalFriendSources::ExternalFriendSourcesSteamOrFacebookOrXbox;
return;
}
if (inputStr == "Psn")
{
output = ExternalFriendSources::ExternalFriendSourcesPsn;
return;
}
if (inputStr == "SteamOrPsn")
{
output = ExternalFriendSources::ExternalFriendSourcesSteamOrPsn;
return;
}
if (inputStr == "FacebookOrPsn")
{
output = ExternalFriendSources::ExternalFriendSourcesFacebookOrPsn;
return;
}
if (inputStr == "SteamOrFacebookOrPsn")
{
output = ExternalFriendSources::ExternalFriendSourcesSteamOrFacebookOrPsn;
return;
}
if (inputStr == "XboxOrPsn")
{
output = ExternalFriendSources::ExternalFriendSourcesXboxOrPsn;
return;
}
if (inputStr == "SteamOrXboxOrPsn")
{
output = ExternalFriendSources::ExternalFriendSourcesSteamOrXboxOrPsn;
return;
}
if (inputStr == "FacebookOrXboxOrPsn")
{
output = ExternalFriendSources::ExternalFriendSourcesFacebookOrXboxOrPsn;
return;
}
if (inputStr == "SteamOrFacebookOrXboxOrPsn")
{
output = ExternalFriendSources::ExternalFriendSourcesSteamOrFacebookOrXboxOrPsn;
return;
}
if (inputStr == "All")
{
output = ExternalFriendSources::ExternalFriendSourcesAll;
Expand Down
2 changes: 1 addition & 1 deletion code/include/playfab/PlayFabCloudScriptDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4879,7 +4879,7 @@ namespace PlayFab
struct PostFunctionResultForScheduledTaskRequest : public PlayFabRequestCommon
{
std::map<std::string, std::string> CustomTags;
EntityKey Entity;
Boxed<EntityKey> Entity;
ExecuteFunctionResult FunctionResult;
NameIdentifier ScheduledTaskId;

Expand Down
2 changes: 2 additions & 0 deletions code/include/playfab/PlayFabEconomyApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ namespace PlayFab
static void GetItemReviewSummary(EconomyModels::GetItemReviewSummaryRequest& request, const ProcessApiCallback<EconomyModels::GetItemReviewSummaryResponse> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetItems(EconomyModels::GetItemsRequest& request, const ProcessApiCallback<EconomyModels::GetItemsResponse> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetMicrosoftStoreAccessTokens(EconomyModels::GetMicrosoftStoreAccessTokensRequest& request, const ProcessApiCallback<EconomyModels::GetMicrosoftStoreAccessTokensResponse> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetTransactionHistory(EconomyModels::GetTransactionHistoryRequest& request, const ProcessApiCallback<EconomyModels::GetTransactionHistoryResponse> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void PublishDraftItem(EconomyModels::PublishDraftItemRequest& request, const ProcessApiCallback<EconomyModels::PublishDraftItemResponse> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void PurchaseInventoryItems(EconomyModels::PurchaseInventoryItemsRequest& request, const ProcessApiCallback<EconomyModels::PurchaseInventoryItemsResponse> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void RedeemAppleAppStoreInventoryItems(EconomyModels::RedeemAppleAppStoreInventoryItemsRequest& request, const ProcessApiCallback<EconomyModels::RedeemAppleAppStoreInventoryItemsResponse> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
Expand Down Expand Up @@ -101,6 +102,7 @@ namespace PlayFab
static void OnGetItemReviewSummaryResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetItemsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetMicrosoftStoreAccessTokensResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetTransactionHistoryResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnPublishDraftItemResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnPurchaseInventoryItemsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnRedeemAppleAppStoreInventoryItemsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
Expand Down
Loading

0 comments on commit d62a1b1

Please sign in to comment.