diff --git a/code/include/playfab/PlayFabAdminDataModels.h b/code/include/playfab/PlayFabAdminDataModels.h index 309306a8..bc830df9 100644 --- a/code/include/playfab/PlayFabAdminDataModels.h +++ b/code/include/playfab/PlayFabAdminDataModels.h @@ -5669,14 +5669,24 @@ namespace PlayFab GenericErrorCodesTrueSkillDuplicatePlayerInMatchResult, GenericErrorCodesTrueSkillInvalidRanksInMatchResult, GenericErrorCodesTrueSkillNoWinnerInMatchResult, - GenericErrorCodesTrueSkillMissingRequiredConditionInMatchResult, - GenericErrorCodesTrueSkillMissingRequiredEventInMatchResult, - GenericErrorCodesTrueSkillUnknownEventInMatchResult, - GenericErrorCodesTrueSkillUnknownConditionName, + GenericErrorCodesTrueSkillMissingRequiredCondition, + GenericErrorCodesTrueSkillMissingRequiredEvent, + GenericErrorCodesTrueSkillUnknownEventName, + GenericErrorCodesTrueSkillUnknownConditionKey, GenericErrorCodesTrueSkillUnknownConditionValue, - GenericErrorCodesTrueSkillUnknownScenarioId, GenericErrorCodesTrueSkillUnknownModelId, - GenericErrorCodesTrueSkillNoActiveModelInScenario, + GenericErrorCodesTrueSkillNoPlayerInMatchResultTeam, + GenericErrorCodesTrueSkillPlayersInMatchResultExceedingLimit, + GenericErrorCodesTrueSkillInvalidPreMatchPartyInMatchResult, + GenericErrorCodesTrueSkillInvalidTimestampInMatchResult, + GenericErrorCodesTrueSkillInvalidPlayerSecondsPlayedInMatchResult, + GenericErrorCodesTrueSkillNoTeamInMatchResult, + GenericErrorCodesTrueSkillNotEnoughTeamsInMatchResult, + GenericErrorCodesTrueSkillScenarioConfigDoesNotExist, + GenericErrorCodesTrueSkillNoModelInScenario, + GenericErrorCodesTrueSkillNotSupportedForTitle, + GenericErrorCodesTrueSkillModelIsNotActive, + GenericErrorCodesTrueSkillUnauthorizedToQueryOtherPlayerSkills, GenericErrorCodesStateShareUnauthorized, GenericErrorCodesStateShareStateNotFound, GenericErrorCodesStateShareLinkNotFound @@ -9514,24 +9524,24 @@ namespace PlayFab output = Json::Value("TrueSkillNoWinnerInMatchResult"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredConditionInMatchResult) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredCondition) { - output = Json::Value("TrueSkillMissingRequiredConditionInMatchResult"); + output = Json::Value("TrueSkillMissingRequiredCondition"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredEventInMatchResult) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredEvent) { - output = Json::Value("TrueSkillMissingRequiredEventInMatchResult"); + output = Json::Value("TrueSkillMissingRequiredEvent"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownEventInMatchResult) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownEventName) { - output = Json::Value("TrueSkillUnknownEventInMatchResult"); + output = Json::Value("TrueSkillUnknownEventName"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionName) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionKey) { - output = Json::Value("TrueSkillUnknownConditionName"); + output = Json::Value("TrueSkillUnknownConditionKey"); return; } if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionValue) @@ -9539,19 +9549,69 @@ namespace PlayFab output = Json::Value("TrueSkillUnknownConditionValue"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownScenarioId) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownModelId) { - output = Json::Value("TrueSkillUnknownScenarioId"); + output = Json::Value("TrueSkillUnknownModelId"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownModelId) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNoPlayerInMatchResultTeam) { - output = Json::Value("TrueSkillUnknownModelId"); + output = Json::Value("TrueSkillNoPlayerInMatchResultTeam"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillPlayersInMatchResultExceedingLimit) + { + output = Json::Value("TrueSkillPlayersInMatchResultExceedingLimit"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillInvalidPreMatchPartyInMatchResult) + { + output = Json::Value("TrueSkillInvalidPreMatchPartyInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillInvalidTimestampInMatchResult) + { + output = Json::Value("TrueSkillInvalidTimestampInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillInvalidPlayerSecondsPlayedInMatchResult) + { + output = Json::Value("TrueSkillInvalidPlayerSecondsPlayedInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNoTeamInMatchResult) + { + output = Json::Value("TrueSkillNoTeamInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNotEnoughTeamsInMatchResult) + { + output = Json::Value("TrueSkillNotEnoughTeamsInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillScenarioConfigDoesNotExist) + { + output = Json::Value("TrueSkillScenarioConfigDoesNotExist"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNoModelInScenario) + { + output = Json::Value("TrueSkillNoModelInScenario"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNotSupportedForTitle) + { + output = Json::Value("TrueSkillNotSupportedForTitle"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillModelIsNotActive) + { + output = Json::Value("TrueSkillModelIsNotActive"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNoActiveModelInScenario) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnauthorizedToQueryOtherPlayerSkills) { - output = Json::Value("TrueSkillNoActiveModelInScenario"); + output = Json::Value("TrueSkillUnauthorizedToQueryOtherPlayerSkills"); return; } if (input == GenericErrorCodes::GenericErrorCodesStateShareUnauthorized) @@ -13407,24 +13467,24 @@ namespace PlayFab output = GenericErrorCodes::GenericErrorCodesTrueSkillNoWinnerInMatchResult; return; } - if (inputStr == "TrueSkillMissingRequiredConditionInMatchResult") + if (inputStr == "TrueSkillMissingRequiredCondition") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredConditionInMatchResult; + output = GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredCondition; return; } - if (inputStr == "TrueSkillMissingRequiredEventInMatchResult") + if (inputStr == "TrueSkillMissingRequiredEvent") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredEventInMatchResult; + output = GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredEvent; return; } - if (inputStr == "TrueSkillUnknownEventInMatchResult") + if (inputStr == "TrueSkillUnknownEventName") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownEventInMatchResult; + output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownEventName; return; } - if (inputStr == "TrueSkillUnknownConditionName") + if (inputStr == "TrueSkillUnknownConditionKey") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionName; + output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionKey; return; } if (inputStr == "TrueSkillUnknownConditionValue") @@ -13432,19 +13492,69 @@ namespace PlayFab output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionValue; return; } - if (inputStr == "TrueSkillUnknownScenarioId") + if (inputStr == "TrueSkillUnknownModelId") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownScenarioId; + output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownModelId; return; } - if (inputStr == "TrueSkillUnknownModelId") + if (inputStr == "TrueSkillNoPlayerInMatchResultTeam") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownModelId; + output = GenericErrorCodes::GenericErrorCodesTrueSkillNoPlayerInMatchResultTeam; + return; + } + if (inputStr == "TrueSkillPlayersInMatchResultExceedingLimit") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillPlayersInMatchResultExceedingLimit; + return; + } + if (inputStr == "TrueSkillInvalidPreMatchPartyInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillInvalidPreMatchPartyInMatchResult; + return; + } + if (inputStr == "TrueSkillInvalidTimestampInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillInvalidTimestampInMatchResult; + return; + } + if (inputStr == "TrueSkillInvalidPlayerSecondsPlayedInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillInvalidPlayerSecondsPlayedInMatchResult; + return; + } + if (inputStr == "TrueSkillNoTeamInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillNoTeamInMatchResult; + return; + } + if (inputStr == "TrueSkillNotEnoughTeamsInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillNotEnoughTeamsInMatchResult; + return; + } + if (inputStr == "TrueSkillScenarioConfigDoesNotExist") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillScenarioConfigDoesNotExist; + return; + } + if (inputStr == "TrueSkillNoModelInScenario") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillNoModelInScenario; + return; + } + if (inputStr == "TrueSkillNotSupportedForTitle") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillNotSupportedForTitle; + return; + } + if (inputStr == "TrueSkillModelIsNotActive") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillModelIsNotActive; return; } - if (inputStr == "TrueSkillNoActiveModelInScenario") + if (inputStr == "TrueSkillUnauthorizedToQueryOtherPlayerSkills") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillNoActiveModelInScenario; + output = GenericErrorCodes::GenericErrorCodesTrueSkillUnauthorizedToQueryOtherPlayerSkills; return; } if (inputStr == "StateShareUnauthorized") diff --git a/code/include/playfab/PlayFabEconomyDataModels.h b/code/include/playfab/PlayFabEconomyDataModels.h index 6827475a..3d74a195 100644 --- a/code/include/playfab/PlayFabEconomyDataModels.h +++ b/code/include/playfab/PlayFabEconomyDataModels.h @@ -6960,6 +6960,7 @@ namespace PlayFab { Boxed Amount; Boxed DurationInSeconds; + std::string ItemFriendlyId; std::string ItemId; std::string ItemType; std::string StackId; @@ -6969,6 +6970,7 @@ namespace PlayFab PlayFabBaseModel(), Amount(), DurationInSeconds(), + ItemFriendlyId(), ItemId(), ItemType(), StackId(), @@ -6979,6 +6981,7 @@ namespace PlayFab PlayFabBaseModel(), Amount(src.Amount), DurationInSeconds(src.DurationInSeconds), + ItemFriendlyId(src.ItemFriendlyId), ItemId(src.ItemId), ItemType(src.ItemType), StackId(src.StackId), @@ -6991,6 +6994,7 @@ namespace PlayFab { FromJsonUtilP(input["Amount"], Amount); FromJsonUtilP(input["DurationInSeconds"], DurationInSeconds); + FromJsonUtilS(input["ItemFriendlyId"], ItemFriendlyId); FromJsonUtilS(input["ItemId"], ItemId); FromJsonUtilS(input["ItemType"], ItemType); FromJsonUtilS(input["StackId"], StackId); @@ -7002,6 +7006,7 @@ namespace PlayFab Json::Value output; Json::Value each_Amount; ToJsonUtilP(Amount, each_Amount); output["Amount"] = each_Amount; Json::Value each_DurationInSeconds; ToJsonUtilP(DurationInSeconds, each_DurationInSeconds); output["DurationInSeconds"] = each_DurationInSeconds; + Json::Value each_ItemFriendlyId; ToJsonUtilS(ItemFriendlyId, each_ItemFriendlyId); output["ItemFriendlyId"] = each_ItemFriendlyId; Json::Value each_ItemId; ToJsonUtilS(ItemId, each_ItemId); output["ItemId"] = each_ItemId; Json::Value each_ItemType; ToJsonUtilS(ItemType, each_ItemType); output["ItemType"] = each_ItemType; Json::Value each_StackId; ToJsonUtilS(StackId, each_StackId); output["StackId"] = each_StackId; @@ -7012,15 +7017,18 @@ namespace PlayFab struct TransactionPurchaseDetails : public PlayFabBaseModel { + std::string StoreFriendlyId; std::string StoreId; TransactionPurchaseDetails() : PlayFabBaseModel(), + StoreFriendlyId(), StoreId() {} TransactionPurchaseDetails(const TransactionPurchaseDetails& src) : PlayFabBaseModel(), + StoreFriendlyId(src.StoreFriendlyId), StoreId(src.StoreId) {} @@ -7028,12 +7036,14 @@ namespace PlayFab void FromJson(const Json::Value& input) override { + FromJsonUtilS(input["StoreFriendlyId"], StoreFriendlyId); FromJsonUtilS(input["StoreId"], StoreId); } Json::Value ToJson() const override { Json::Value output; + Json::Value each_StoreFriendlyId; ToJsonUtilS(StoreFriendlyId, each_StoreFriendlyId); output["StoreFriendlyId"] = each_StoreFriendlyId; Json::Value each_StoreId; ToJsonUtilS(StoreId, each_StoreId); output["StoreId"] = each_StoreId; return output; } diff --git a/code/include/playfab/PlayFabError.h b/code/include/playfab/PlayFabError.h index 2b1bed63..fc966a80 100644 --- a/code/include/playfab/PlayFabError.h +++ b/code/include/playfab/PlayFabError.h @@ -777,14 +777,24 @@ namespace PlayFab PlayFabErrorTrueSkillDuplicatePlayerInMatchResult = 20003, PlayFabErrorTrueSkillInvalidRanksInMatchResult = 20004, PlayFabErrorTrueSkillNoWinnerInMatchResult = 20005, - PlayFabErrorTrueSkillMissingRequiredConditionInMatchResult = 20006, - PlayFabErrorTrueSkillMissingRequiredEventInMatchResult = 20007, - PlayFabErrorTrueSkillUnknownEventInMatchResult = 20008, - PlayFabErrorTrueSkillUnknownConditionName = 20009, + PlayFabErrorTrueSkillMissingRequiredCondition = 20006, + PlayFabErrorTrueSkillMissingRequiredEvent = 20007, + PlayFabErrorTrueSkillUnknownEventName = 20008, + PlayFabErrorTrueSkillUnknownConditionKey = 20009, PlayFabErrorTrueSkillUnknownConditionValue = 20010, - PlayFabErrorTrueSkillUnknownScenarioId = 20011, - PlayFabErrorTrueSkillUnknownModelId = 20012, - PlayFabErrorTrueSkillNoActiveModelInScenario = 20013, + PlayFabErrorTrueSkillUnknownModelId = 20011, + PlayFabErrorTrueSkillNoPlayerInMatchResultTeam = 20012, + PlayFabErrorTrueSkillPlayersInMatchResultExceedingLimit = 20013, + PlayFabErrorTrueSkillInvalidPreMatchPartyInMatchResult = 20014, + PlayFabErrorTrueSkillInvalidTimestampInMatchResult = 20015, + PlayFabErrorTrueSkillInvalidPlayerSecondsPlayedInMatchResult = 20016, + PlayFabErrorTrueSkillNoTeamInMatchResult = 20017, + PlayFabErrorTrueSkillNotEnoughTeamsInMatchResult = 20018, + PlayFabErrorTrueSkillScenarioConfigDoesNotExist = 20019, + PlayFabErrorTrueSkillNoModelInScenario = 20020, + PlayFabErrorTrueSkillNotSupportedForTitle = 20021, + PlayFabErrorTrueSkillModelIsNotActive = 20022, + PlayFabErrorTrueSkillUnauthorizedToQueryOtherPlayerSkills = 20023, PlayFabErrorStateShareUnauthorized = 21000, PlayFabErrorStateShareStateNotFound = 21001, PlayFabErrorStateShareLinkNotFound = 21002, diff --git a/code/include/playfab/PlayFabServerDataModels.h b/code/include/playfab/PlayFabServerDataModels.h index d0605bce..acee2bac 100644 --- a/code/include/playfab/PlayFabServerDataModels.h +++ b/code/include/playfab/PlayFabServerDataModels.h @@ -5686,14 +5686,24 @@ namespace PlayFab GenericErrorCodesTrueSkillDuplicatePlayerInMatchResult, GenericErrorCodesTrueSkillInvalidRanksInMatchResult, GenericErrorCodesTrueSkillNoWinnerInMatchResult, - GenericErrorCodesTrueSkillMissingRequiredConditionInMatchResult, - GenericErrorCodesTrueSkillMissingRequiredEventInMatchResult, - GenericErrorCodesTrueSkillUnknownEventInMatchResult, - GenericErrorCodesTrueSkillUnknownConditionName, + GenericErrorCodesTrueSkillMissingRequiredCondition, + GenericErrorCodesTrueSkillMissingRequiredEvent, + GenericErrorCodesTrueSkillUnknownEventName, + GenericErrorCodesTrueSkillUnknownConditionKey, GenericErrorCodesTrueSkillUnknownConditionValue, - GenericErrorCodesTrueSkillUnknownScenarioId, GenericErrorCodesTrueSkillUnknownModelId, - GenericErrorCodesTrueSkillNoActiveModelInScenario, + GenericErrorCodesTrueSkillNoPlayerInMatchResultTeam, + GenericErrorCodesTrueSkillPlayersInMatchResultExceedingLimit, + GenericErrorCodesTrueSkillInvalidPreMatchPartyInMatchResult, + GenericErrorCodesTrueSkillInvalidTimestampInMatchResult, + GenericErrorCodesTrueSkillInvalidPlayerSecondsPlayedInMatchResult, + GenericErrorCodesTrueSkillNoTeamInMatchResult, + GenericErrorCodesTrueSkillNotEnoughTeamsInMatchResult, + GenericErrorCodesTrueSkillScenarioConfigDoesNotExist, + GenericErrorCodesTrueSkillNoModelInScenario, + GenericErrorCodesTrueSkillNotSupportedForTitle, + GenericErrorCodesTrueSkillModelIsNotActive, + GenericErrorCodesTrueSkillUnauthorizedToQueryOtherPlayerSkills, GenericErrorCodesStateShareUnauthorized, GenericErrorCodesStateShareStateNotFound, GenericErrorCodesStateShareLinkNotFound @@ -9531,24 +9541,24 @@ namespace PlayFab output = Json::Value("TrueSkillNoWinnerInMatchResult"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredConditionInMatchResult) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredCondition) { - output = Json::Value("TrueSkillMissingRequiredConditionInMatchResult"); + output = Json::Value("TrueSkillMissingRequiredCondition"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredEventInMatchResult) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredEvent) { - output = Json::Value("TrueSkillMissingRequiredEventInMatchResult"); + output = Json::Value("TrueSkillMissingRequiredEvent"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownEventInMatchResult) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownEventName) { - output = Json::Value("TrueSkillUnknownEventInMatchResult"); + output = Json::Value("TrueSkillUnknownEventName"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionName) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionKey) { - output = Json::Value("TrueSkillUnknownConditionName"); + output = Json::Value("TrueSkillUnknownConditionKey"); return; } if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionValue) @@ -9556,19 +9566,69 @@ namespace PlayFab output = Json::Value("TrueSkillUnknownConditionValue"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownScenarioId) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownModelId) { - output = Json::Value("TrueSkillUnknownScenarioId"); + output = Json::Value("TrueSkillUnknownModelId"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnknownModelId) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNoPlayerInMatchResultTeam) { - output = Json::Value("TrueSkillUnknownModelId"); + output = Json::Value("TrueSkillNoPlayerInMatchResultTeam"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillPlayersInMatchResultExceedingLimit) + { + output = Json::Value("TrueSkillPlayersInMatchResultExceedingLimit"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillInvalidPreMatchPartyInMatchResult) + { + output = Json::Value("TrueSkillInvalidPreMatchPartyInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillInvalidTimestampInMatchResult) + { + output = Json::Value("TrueSkillInvalidTimestampInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillInvalidPlayerSecondsPlayedInMatchResult) + { + output = Json::Value("TrueSkillInvalidPlayerSecondsPlayedInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNoTeamInMatchResult) + { + output = Json::Value("TrueSkillNoTeamInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNotEnoughTeamsInMatchResult) + { + output = Json::Value("TrueSkillNotEnoughTeamsInMatchResult"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillScenarioConfigDoesNotExist) + { + output = Json::Value("TrueSkillScenarioConfigDoesNotExist"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNoModelInScenario) + { + output = Json::Value("TrueSkillNoModelInScenario"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNotSupportedForTitle) + { + output = Json::Value("TrueSkillNotSupportedForTitle"); + return; + } + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillModelIsNotActive) + { + output = Json::Value("TrueSkillModelIsNotActive"); return; } - if (input == GenericErrorCodes::GenericErrorCodesTrueSkillNoActiveModelInScenario) + if (input == GenericErrorCodes::GenericErrorCodesTrueSkillUnauthorizedToQueryOtherPlayerSkills) { - output = Json::Value("TrueSkillNoActiveModelInScenario"); + output = Json::Value("TrueSkillUnauthorizedToQueryOtherPlayerSkills"); return; } if (input == GenericErrorCodes::GenericErrorCodesStateShareUnauthorized) @@ -13424,24 +13484,24 @@ namespace PlayFab output = GenericErrorCodes::GenericErrorCodesTrueSkillNoWinnerInMatchResult; return; } - if (inputStr == "TrueSkillMissingRequiredConditionInMatchResult") + if (inputStr == "TrueSkillMissingRequiredCondition") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredConditionInMatchResult; + output = GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredCondition; return; } - if (inputStr == "TrueSkillMissingRequiredEventInMatchResult") + if (inputStr == "TrueSkillMissingRequiredEvent") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredEventInMatchResult; + output = GenericErrorCodes::GenericErrorCodesTrueSkillMissingRequiredEvent; return; } - if (inputStr == "TrueSkillUnknownEventInMatchResult") + if (inputStr == "TrueSkillUnknownEventName") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownEventInMatchResult; + output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownEventName; return; } - if (inputStr == "TrueSkillUnknownConditionName") + if (inputStr == "TrueSkillUnknownConditionKey") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionName; + output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionKey; return; } if (inputStr == "TrueSkillUnknownConditionValue") @@ -13449,19 +13509,69 @@ namespace PlayFab output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownConditionValue; return; } - if (inputStr == "TrueSkillUnknownScenarioId") + if (inputStr == "TrueSkillUnknownModelId") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownScenarioId; + output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownModelId; return; } - if (inputStr == "TrueSkillUnknownModelId") + if (inputStr == "TrueSkillNoPlayerInMatchResultTeam") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillUnknownModelId; + output = GenericErrorCodes::GenericErrorCodesTrueSkillNoPlayerInMatchResultTeam; + return; + } + if (inputStr == "TrueSkillPlayersInMatchResultExceedingLimit") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillPlayersInMatchResultExceedingLimit; + return; + } + if (inputStr == "TrueSkillInvalidPreMatchPartyInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillInvalidPreMatchPartyInMatchResult; + return; + } + if (inputStr == "TrueSkillInvalidTimestampInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillInvalidTimestampInMatchResult; + return; + } + if (inputStr == "TrueSkillInvalidPlayerSecondsPlayedInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillInvalidPlayerSecondsPlayedInMatchResult; + return; + } + if (inputStr == "TrueSkillNoTeamInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillNoTeamInMatchResult; + return; + } + if (inputStr == "TrueSkillNotEnoughTeamsInMatchResult") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillNotEnoughTeamsInMatchResult; + return; + } + if (inputStr == "TrueSkillScenarioConfigDoesNotExist") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillScenarioConfigDoesNotExist; + return; + } + if (inputStr == "TrueSkillNoModelInScenario") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillNoModelInScenario; + return; + } + if (inputStr == "TrueSkillNotSupportedForTitle") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillNotSupportedForTitle; + return; + } + if (inputStr == "TrueSkillModelIsNotActive") + { + output = GenericErrorCodes::GenericErrorCodesTrueSkillModelIsNotActive; return; } - if (inputStr == "TrueSkillNoActiveModelInScenario") + if (inputStr == "TrueSkillUnauthorizedToQueryOtherPlayerSkills") { - output = GenericErrorCodes::GenericErrorCodesTrueSkillNoActiveModelInScenario; + output = GenericErrorCodes::GenericErrorCodesTrueSkillUnauthorizedToQueryOtherPlayerSkills; return; } if (inputStr == "StateShareUnauthorized") diff --git a/code/source/playfab/PlayFabSettings.cpp b/code/source/playfab/PlayFabSettings.cpp index 421053ee..3d2cba62 100644 --- a/code/source/playfab/PlayFabSettings.cpp +++ b/code/source/playfab/PlayFabSettings.cpp @@ -7,9 +7,9 @@ namespace PlayFab // Control whether all callbacks are threaded or whether the user manually controls callback timing from their main-thread // Note ANY api call may synchronously throw an exception if the title id is not set bool PlayFabSettings::threadedCallbacks = false; - const std::string PlayFabSettings::sdkVersion = "3.134.240401"; + const std::string PlayFabSettings::sdkVersion = "3.135.240412"; const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_117"; - const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.134.240401"; + const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.135.240412"; std::string PlayFabSettings::productionEnvironmentURL = ".playfabapi.com"; ErrorCallback PlayFabSettings::globalErrorHandler = nullptr; diff --git a/com.playfab.xplatcppsdk.v141.autopkg b/com.playfab.xplatcppsdk.v141.autopkg index df1f06b9..60db50f7 100644 --- a/com.playfab.xplatcppsdk.v141.autopkg +++ b/com.playfab.xplatcppsdk.v141.autopkg @@ -8,7 +8,7 @@ configurations { nuget { nuspec { id = "com.playfab.xplatcppsdk.v141"; - version : 3.134.240401; + version : 3.135.240412; title: "PlayFab Cross Platform C++ Sdk for Visual Studio 2017"; summary: "PlayFab is the unified backend platform for games and everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience."; authors: "PlayFab"; @@ -18,7 +18,7 @@ nuget { iconUrl: "https://playfab.com/assets/img/playfab-mark.png"; requireLicenseAcceptance: false; description: "Authentication, in-game commerce, player data, title data, inventory, characters, statistics, leaderboards, analytics and reporting, friends, multiplayer, matchmaking, tournaments, cloud script, trading, real-time event handling, player management, live ops, and server hosting for all major platforms/devices and games of any scale. This sdk gives your game the ability log into PlayFab and access cloud data and services."; - releaseNotes: "https://api.playfab.com/releaseNotes/#240401"; + releaseNotes: "https://api.playfab.com/releaseNotes/#240412"; copyright: "Copyright 2024"; language: "C++"; tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native }; diff --git a/com.playfab.xplatcppsdk.v141.nuspec b/com.playfab.xplatcppsdk.v141.nuspec index 63d6dccd..d6a07a6d 100644 --- a/com.playfab.xplatcppsdk.v141.nuspec +++ b/com.playfab.xplatcppsdk.v141.nuspec @@ -2,14 +2,14 @@ com.playfab.xplatcppsdk.v141 - 3.134.240401 + 3.135.240412 Microsoft Microsoft http://github.com/PlayFab/XPlatCppSdk Apache-2.0 ./images/icon.png false - https://api.playfab.com/releaseNotes/#3.134.240401 + https://api.playfab.com/releaseNotes/#3.135.240412 Microsoft Azure PlayFab XPlatCppSdk © Microsoft Corporation. All rights reserved. Microsoft Azure PlayFab Baas Paas JSON REST HTTP SSL API cloud liveops game gamedev native nativepackage diff --git a/com.playfab.xplatcppsdk.v142.autopkg b/com.playfab.xplatcppsdk.v142.autopkg index 346385b0..43ffc87c 100644 --- a/com.playfab.xplatcppsdk.v142.autopkg +++ b/com.playfab.xplatcppsdk.v142.autopkg @@ -8,7 +8,7 @@ configurations { nuget { nuspec { id = "com.playfab.xplatcppsdk.v142"; - version : 3.134.240401; + version : 3.135.240412; title: "PlayFab Cross Platform C++ Sdk for Visual Studio 2019+"; summary: "PlayFab is the unified backend platform for games and everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience."; authors: "PlayFab"; @@ -18,7 +18,7 @@ nuget { iconUrl: "https://playfab.com/assets/img/playfab-mark.png"; requireLicenseAcceptance: false; description: "Authentication, in-game commerce, player data, title data, inventory, characters, statistics, leaderboards, analytics and reporting, friends, multiplayer, matchmaking, tournaments, cloud script, trading, real-time event handling, player management, live ops, and server hosting for all major platforms/devices and games of any scale. This sdk gives your game the ability log into PlayFab and access cloud data and services."; - releaseNotes: "https://api.playfab.com/releaseNotes/#240401"; + releaseNotes: "https://api.playfab.com/releaseNotes/#240412"; copyright: "Copyright 2024"; language: "C++"; tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native }; diff --git a/com.playfab.xplatcppsdk.v142.nuspec b/com.playfab.xplatcppsdk.v142.nuspec index 9294858b..b8bdfdb6 100644 --- a/com.playfab.xplatcppsdk.v142.nuspec +++ b/com.playfab.xplatcppsdk.v142.nuspec @@ -2,14 +2,14 @@ com.playfab.xplatcppsdk.v142 - 3.134.240401 + 3.135.240412 Microsoft Microsoft http://github.com/PlayFab/XPlatCppSdk Apache-2.0 ./images/icon.png false - https://api.playfab.com/releaseNotes/#3.134.240401 + https://api.playfab.com/releaseNotes/#3.135.240412 Microsoft Azure PlayFab XPlatCppSdk © Microsoft Corporation. All rights reserved. Microsoft Azure PlayFab Baas Paas JSON REST HTTP SSL API cloud liveops game gamedev native nativepackage diff --git a/com.playfab.xplatxboxsdk.v141.autopkg b/com.playfab.xplatxboxsdk.v141.autopkg index af29b03b..feabf0fb 100644 --- a/com.playfab.xplatxboxsdk.v141.autopkg +++ b/com.playfab.xplatxboxsdk.v141.autopkg @@ -18,7 +18,7 @@ configurations { nuget { nuspec { id = "com.playfab.xplatxboxsdk.v141"; - version : 3.134.240401; + version : 3.135.240412; title: "PlayFab Xbox Platform C++ Sdk for Visual Studio 2017"; summary: "PlayFab is the unified backend platform for games and everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience."; authors: "PlayFab"; @@ -28,7 +28,7 @@ nuget { iconUrl: "https://playfab.com/assets/img/playfab-mark.png"; requireLicenseAcceptance: false; description: "Authentication, in-game commerce, player data, title data, inventory, characters, statistics, leaderboards, analytics and reporting, friends, multiplayer, matchmaking, tournaments, cloud script, trading, real-time event handling, player management, live ops, and server hosting for all major platforms/devices and games of any scale. This sdk gives your game the ability log into PlayFab and access cloud data and services."; - releaseNotes: "https://api.playfab.com/releaseNotes/#240401"; + releaseNotes: "https://api.playfab.com/releaseNotes/#240412"; copyright: "Copyright 2024"; language: "C++"; tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native, xbox };