Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240830
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Sep 3, 2024
2 parents 2b5753a + 9132224 commit 5861573
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 301 deletions.
14 changes: 12 additions & 2 deletions code/include/playfab/PlayFabAddonDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ namespace PlayFab
Boxed<bool> ErrorIfExists;
std::string OAuthClientID;
std::string OAuthClientSecret;
std::string OAuthCustomRedirectUri;
std::string ServiceAccountKey;

CreateOrUpdateGoogleRequest() :
Expand All @@ -299,6 +300,7 @@ namespace PlayFab
ErrorIfExists(),
OAuthClientID(),
OAuthClientSecret(),
OAuthCustomRedirectUri(),
ServiceAccountKey()
{}

Expand All @@ -311,6 +313,7 @@ namespace PlayFab
ErrorIfExists(src.ErrorIfExists),
OAuthClientID(src.OAuthClientID),
OAuthClientSecret(src.OAuthClientSecret),
OAuthCustomRedirectUri(src.OAuthCustomRedirectUri),
ServiceAccountKey(src.ServiceAccountKey)
{}

Expand All @@ -325,6 +328,7 @@ namespace PlayFab
FromJsonUtilP(input["ErrorIfExists"], ErrorIfExists);
FromJsonUtilS(input["OAuthClientID"], OAuthClientID);
FromJsonUtilS(input["OAuthClientSecret"], OAuthClientSecret);
FromJsonUtilS(input["OAuthCustomRedirectUri"], OAuthCustomRedirectUri);
FromJsonUtilS(input["ServiceAccountKey"], ServiceAccountKey);
}

Expand All @@ -338,6 +342,7 @@ namespace PlayFab
Json::Value each_ErrorIfExists; ToJsonUtilP(ErrorIfExists, each_ErrorIfExists); output["ErrorIfExists"] = each_ErrorIfExists;
Json::Value each_OAuthClientID; ToJsonUtilS(OAuthClientID, each_OAuthClientID); output["OAuthClientID"] = each_OAuthClientID;
Json::Value each_OAuthClientSecret; ToJsonUtilS(OAuthClientSecret, each_OAuthClientSecret); output["OAuthClientSecret"] = each_OAuthClientSecret;
Json::Value each_OAuthCustomRedirectUri; ToJsonUtilS(OAuthCustomRedirectUri, each_OAuthCustomRedirectUri); output["OAuthCustomRedirectUri"] = each_OAuthCustomRedirectUri;
Json::Value each_ServiceAccountKey; ToJsonUtilS(ServiceAccountKey, each_ServiceAccountKey); output["ServiceAccountKey"] = each_ServiceAccountKey;
return output;
}
Expand Down Expand Up @@ -1566,19 +1571,22 @@ namespace PlayFab
std::string AppPackageID;
bool Created;
std::string OAuthClientID;
std::string OauthCustomRedirectUri;

GetGoogleResponse() :
PlayFabResultCommon(),
AppPackageID(),
Created(),
OAuthClientID()
OAuthClientID(),
OauthCustomRedirectUri()
{}

GetGoogleResponse(const GetGoogleResponse& src) :
PlayFabResultCommon(),
AppPackageID(src.AppPackageID),
Created(src.Created),
OAuthClientID(src.OAuthClientID)
OAuthClientID(src.OAuthClientID),
OauthCustomRedirectUri(src.OauthCustomRedirectUri)
{}

~GetGoogleResponse() = default;
Expand All @@ -1588,6 +1596,7 @@ namespace PlayFab
FromJsonUtilS(input["AppPackageID"], AppPackageID);
FromJsonUtilP(input["Created"], Created);
FromJsonUtilS(input["OAuthClientID"], OAuthClientID);
FromJsonUtilS(input["OauthCustomRedirectUri"], OauthCustomRedirectUri);
}

Json::Value ToJson() const override
Expand All @@ -1596,6 +1605,7 @@ namespace PlayFab
Json::Value each_AppPackageID; ToJsonUtilS(AppPackageID, each_AppPackageID); output["AppPackageID"] = each_AppPackageID;
Json::Value each_Created; ToJsonUtilP(Created, each_Created); output["Created"] = each_Created;
Json::Value each_OAuthClientID; ToJsonUtilS(OAuthClientID, each_OAuthClientID); output["OAuthClientID"] = each_OAuthClientID;
Json::Value each_OauthCustomRedirectUri; ToJsonUtilS(OauthCustomRedirectUri, each_OauthCustomRedirectUri); output["OauthCustomRedirectUri"] = each_OauthCustomRedirectUri;
return output;
}
};
Expand Down
10 changes: 5 additions & 5 deletions code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5481,7 +5481,7 @@ namespace PlayFab
GenericErrorCodesMultipleLinkedStatisticsNotAllowed,
GenericErrorCodesDuplicateLinkedStatisticColumnNameFound,
GenericErrorCodesAggregationTypeNotAllowedForMultiColumnStatistic,
GenericErrorCodesMaxQueryableVerionsValueNotAllowedForTier,
GenericErrorCodesMaxQueryableVersionsValueNotAllowedForTier,
GenericErrorCodesStatisticDefinitionHasNullOrEmptyVersionConfiguration,
GenericErrorCodesStatisticColumnLengthMismatch,
GenericErrorCodesMatchmakingEntityInvalid,
Expand Down Expand Up @@ -8661,9 +8661,9 @@ namespace PlayFab
output = Json::Value("AggregationTypeNotAllowedForMultiColumnStatistic");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMaxQueryableVerionsValueNotAllowedForTier)
if (input == GenericErrorCodes::GenericErrorCodesMaxQueryableVersionsValueNotAllowedForTier)
{
output = Json::Value("MaxQueryableVerionsValueNotAllowedForTier");
output = Json::Value("MaxQueryableVersionsValueNotAllowedForTier");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesStatisticDefinitionHasNullOrEmptyVersionConfiguration)
Expand Down Expand Up @@ -12989,9 +12989,9 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesAggregationTypeNotAllowedForMultiColumnStatistic;
return;
}
if (inputStr == "MaxQueryableVerionsValueNotAllowedForTier")
if (inputStr == "MaxQueryableVersionsValueNotAllowedForTier")
{
output = GenericErrorCodes::GenericErrorCodesMaxQueryableVerionsValueNotAllowedForTier;
output = GenericErrorCodes::GenericErrorCodesMaxQueryableVersionsValueNotAllowedForTier;
return;
}
if (inputStr == "StatisticDefinitionHasNullOrEmptyVersionConfiguration")
Expand Down
24 changes: 12 additions & 12 deletions code/include/playfab/PlayFabEconomyDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -7682,23 +7682,23 @@ namespace PlayFab
{
std::string FailureCode;
std::string FailureDetails;
std::string MarketplaceAlternateId;
std::string MarketplaceTransactionId;
std::string OfferId;

RedemptionFailure() :
PlayFabBaseModel(),
FailureCode(),
FailureDetails(),
MarketplaceTransactionId(),
OfferId()
MarketplaceAlternateId(),
MarketplaceTransactionId()
{}

RedemptionFailure(const RedemptionFailure& src) :
PlayFabBaseModel(),
FailureCode(src.FailureCode),
FailureDetails(src.FailureDetails),
MarketplaceTransactionId(src.MarketplaceTransactionId),
OfferId(src.OfferId)
MarketplaceAlternateId(src.MarketplaceAlternateId),
MarketplaceTransactionId(src.MarketplaceTransactionId)
{}

~RedemptionFailure() = default;
Expand All @@ -7707,55 +7707,55 @@ namespace PlayFab
{
FromJsonUtilS(input["FailureCode"], FailureCode);
FromJsonUtilS(input["FailureDetails"], FailureDetails);
FromJsonUtilS(input["MarketplaceAlternateId"], MarketplaceAlternateId);
FromJsonUtilS(input["MarketplaceTransactionId"], MarketplaceTransactionId);
FromJsonUtilS(input["OfferId"], OfferId);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_FailureCode; ToJsonUtilS(FailureCode, each_FailureCode); output["FailureCode"] = each_FailureCode;
Json::Value each_FailureDetails; ToJsonUtilS(FailureDetails, each_FailureDetails); output["FailureDetails"] = each_FailureDetails;
Json::Value each_MarketplaceAlternateId; ToJsonUtilS(MarketplaceAlternateId, each_MarketplaceAlternateId); output["MarketplaceAlternateId"] = each_MarketplaceAlternateId;
Json::Value each_MarketplaceTransactionId; ToJsonUtilS(MarketplaceTransactionId, each_MarketplaceTransactionId); output["MarketplaceTransactionId"] = each_MarketplaceTransactionId;
Json::Value each_OfferId; ToJsonUtilS(OfferId, each_OfferId); output["OfferId"] = each_OfferId;
return output;
}
};

struct RedemptionSuccess : public PlayFabBaseModel
{
std::string MarketplaceAlternateId;
std::string MarketplaceTransactionId;
std::string OfferId;
time_t SuccessTimestamp;

RedemptionSuccess() :
PlayFabBaseModel(),
MarketplaceAlternateId(),
MarketplaceTransactionId(),
OfferId(),
SuccessTimestamp()
{}

RedemptionSuccess(const RedemptionSuccess& src) :
PlayFabBaseModel(),
MarketplaceAlternateId(src.MarketplaceAlternateId),
MarketplaceTransactionId(src.MarketplaceTransactionId),
OfferId(src.OfferId),
SuccessTimestamp(src.SuccessTimestamp)
{}

~RedemptionSuccess() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["MarketplaceAlternateId"], MarketplaceAlternateId);
FromJsonUtilS(input["MarketplaceTransactionId"], MarketplaceTransactionId);
FromJsonUtilS(input["OfferId"], OfferId);
FromJsonUtilT(input["SuccessTimestamp"], SuccessTimestamp);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_MarketplaceAlternateId; ToJsonUtilS(MarketplaceAlternateId, each_MarketplaceAlternateId); output["MarketplaceAlternateId"] = each_MarketplaceAlternateId;
Json::Value each_MarketplaceTransactionId; ToJsonUtilS(MarketplaceTransactionId, each_MarketplaceTransactionId); output["MarketplaceTransactionId"] = each_MarketplaceTransactionId;
Json::Value each_OfferId; ToJsonUtilS(OfferId, each_OfferId); output["OfferId"] = each_OfferId;
Json::Value each_SuccessTimestamp; ToJsonUtilT(SuccessTimestamp, each_SuccessTimestamp); output["SuccessTimestamp"] = each_SuccessTimestamp;
return output;
}
Expand Down
2 changes: 1 addition & 1 deletion code/include/playfab/PlayFabError.h
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ namespace PlayFab
PlayFabErrorMultipleLinkedStatisticsNotAllowed = 1588,
PlayFabErrorDuplicateLinkedStatisticColumnNameFound = 1589,
PlayFabErrorAggregationTypeNotAllowedForMultiColumnStatistic = 1590,
PlayFabErrorMaxQueryableVerionsValueNotAllowedForTier = 1591,
PlayFabErrorMaxQueryableVersionsValueNotAllowedForTier = 1591,
PlayFabErrorStatisticDefinitionHasNullOrEmptyVersionConfiguration = 1592,
PlayFabErrorStatisticColumnLengthMismatch = 1593,
PlayFabErrorMatchmakingEntityInvalid = 2001,
Expand Down
43 changes: 0 additions & 43 deletions code/include/playfab/PlayFabMatchmakerApi.h

This file was deleted.

17 changes: 0 additions & 17 deletions code/include/playfab/PlayFabMatchmakerDataModels.h

This file was deleted.

55 changes: 0 additions & 55 deletions code/include/playfab/PlayFabMatchmakerInstanceApi.h

This file was deleted.

10 changes: 5 additions & 5 deletions code/include/playfab/PlayFabServerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5505,7 +5505,7 @@ namespace PlayFab
GenericErrorCodesMultipleLinkedStatisticsNotAllowed,
GenericErrorCodesDuplicateLinkedStatisticColumnNameFound,
GenericErrorCodesAggregationTypeNotAllowedForMultiColumnStatistic,
GenericErrorCodesMaxQueryableVerionsValueNotAllowedForTier,
GenericErrorCodesMaxQueryableVersionsValueNotAllowedForTier,
GenericErrorCodesStatisticDefinitionHasNullOrEmptyVersionConfiguration,
GenericErrorCodesStatisticColumnLengthMismatch,
GenericErrorCodesMatchmakingEntityInvalid,
Expand Down Expand Up @@ -8685,9 +8685,9 @@ namespace PlayFab
output = Json::Value("AggregationTypeNotAllowedForMultiColumnStatistic");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMaxQueryableVerionsValueNotAllowedForTier)
if (input == GenericErrorCodes::GenericErrorCodesMaxQueryableVersionsValueNotAllowedForTier)
{
output = Json::Value("MaxQueryableVerionsValueNotAllowedForTier");
output = Json::Value("MaxQueryableVersionsValueNotAllowedForTier");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesStatisticDefinitionHasNullOrEmptyVersionConfiguration)
Expand Down Expand Up @@ -13013,9 +13013,9 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesAggregationTypeNotAllowedForMultiColumnStatistic;
return;
}
if (inputStr == "MaxQueryableVerionsValueNotAllowedForTier")
if (inputStr == "MaxQueryableVersionsValueNotAllowedForTier")
{
output = GenericErrorCodes::GenericErrorCodesMaxQueryableVerionsValueNotAllowedForTier;
output = GenericErrorCodes::GenericErrorCodesMaxQueryableVersionsValueNotAllowedForTier;
return;
}
if (inputStr == "StatisticDefinitionHasNullOrEmptyVersionConfiguration")
Expand Down
Loading

0 comments on commit 5861573

Please sign in to comment.