Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230109
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Jan 10, 2023
2 parents d62a1b1 + 86e922e commit 8e8f1f5
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 26 deletions.
39 changes: 39 additions & 0 deletions code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -20334,6 +20334,40 @@ namespace PlayFab
}
};

struct ChurnPredictionSegmentFilter : public PlayFabBaseModel
{
Boxed<SegmentFilterComparison> Comparison;
Boxed<ChurnRiskLevel> RiskLevel;

ChurnPredictionSegmentFilter() :
PlayFabBaseModel(),
Comparison(),
RiskLevel()
{}

ChurnPredictionSegmentFilter(const ChurnPredictionSegmentFilter& src) :
PlayFabBaseModel(),
Comparison(src.Comparison),
RiskLevel(src.RiskLevel)
{}

~ChurnPredictionSegmentFilter() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilE(input["Comparison"], Comparison);
FromJsonUtilE(input["RiskLevel"], RiskLevel);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_Comparison; ToJsonUtilE(Comparison, each_Comparison); output["Comparison"] = each_Comparison;
Json::Value each_RiskLevel; ToJsonUtilE(RiskLevel, each_RiskLevel); output["RiskLevel"] = each_RiskLevel;
return output;
}
};

struct CloudScriptFile : public PlayFabBaseModel
{
std::string FileContents;
Expand Down Expand Up @@ -22220,6 +22254,7 @@ namespace PlayFab
{
Boxed<AdCampaignSegmentFilter> AdCampaignFilter;
Boxed<AllPlayersSegmentFilter> AllPlayersFilter;
Boxed<ChurnPredictionSegmentFilter> ChurnPredictionFilter;
Boxed<FirstLoginDateSegmentFilter> FirstLoginDateFilter;
Boxed<FirstLoginTimespanSegmentFilter> FirstLoginFilter;
Boxed<LastLoginDateSegmentFilter> LastLoginDateFilter;
Expand All @@ -22242,6 +22277,7 @@ namespace PlayFab
PlayFabBaseModel(),
AdCampaignFilter(),
AllPlayersFilter(),
ChurnPredictionFilter(),
FirstLoginDateFilter(),
FirstLoginFilter(),
LastLoginDateFilter(),
Expand All @@ -22265,6 +22301,7 @@ namespace PlayFab
PlayFabBaseModel(),
AdCampaignFilter(src.AdCampaignFilter),
AllPlayersFilter(src.AllPlayersFilter),
ChurnPredictionFilter(src.ChurnPredictionFilter),
FirstLoginDateFilter(src.FirstLoginDateFilter),
FirstLoginFilter(src.FirstLoginFilter),
LastLoginDateFilter(src.LastLoginDateFilter),
Expand All @@ -22290,6 +22327,7 @@ namespace PlayFab
{
FromJsonUtilO(input["AdCampaignFilter"], AdCampaignFilter);
FromJsonUtilO(input["AllPlayersFilter"], AllPlayersFilter);
FromJsonUtilO(input["ChurnPredictionFilter"], ChurnPredictionFilter);
FromJsonUtilO(input["FirstLoginDateFilter"], FirstLoginDateFilter);
FromJsonUtilO(input["FirstLoginFilter"], FirstLoginFilter);
FromJsonUtilO(input["LastLoginDateFilter"], LastLoginDateFilter);
Expand All @@ -22314,6 +22352,7 @@ namespace PlayFab
Json::Value output;
Json::Value each_AdCampaignFilter; ToJsonUtilO(AdCampaignFilter, each_AdCampaignFilter); output["AdCampaignFilter"] = each_AdCampaignFilter;
Json::Value each_AllPlayersFilter; ToJsonUtilO(AllPlayersFilter, each_AllPlayersFilter); output["AllPlayersFilter"] = each_AllPlayersFilter;
Json::Value each_ChurnPredictionFilter; ToJsonUtilO(ChurnPredictionFilter, each_ChurnPredictionFilter); output["ChurnPredictionFilter"] = each_ChurnPredictionFilter;
Json::Value each_FirstLoginDateFilter; ToJsonUtilO(FirstLoginDateFilter, each_FirstLoginDateFilter); output["FirstLoginDateFilter"] = each_FirstLoginDateFilter;
Json::Value each_FirstLoginFilter; ToJsonUtilO(FirstLoginFilter, each_FirstLoginFilter); output["FirstLoginFilter"] = each_FirstLoginFilter;
Json::Value each_LastLoginDateFilter; ToJsonUtilO(LastLoginDateFilter, each_LastLoginDateFilter); output["LastLoginDateFilter"] = each_LastLoginDateFilter;
Expand Down
10 changes: 0 additions & 10 deletions code/include/playfab/PlayFabCloudScriptDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4830,15 +4830,13 @@ namespace PlayFab
struct PostFunctionResultForPlayerTriggeredActionRequest : public PlayFabRequestCommon
{
std::map<std::string, std::string> CustomTags;
Boxed<EntityKey> Entity;
ExecuteFunctionResult FunctionResult;
PlayerProfileModel PlayerProfile;
Boxed<PlayStreamEventEnvelopeModel> PlayStreamEventEnvelope;

PostFunctionResultForPlayerTriggeredActionRequest() :
PlayFabRequestCommon(),
CustomTags(),
Entity(),
FunctionResult(),
PlayerProfile(),
PlayStreamEventEnvelope()
Expand All @@ -4847,7 +4845,6 @@ namespace PlayFab
PostFunctionResultForPlayerTriggeredActionRequest(const PostFunctionResultForPlayerTriggeredActionRequest& src) :
PlayFabRequestCommon(),
CustomTags(src.CustomTags),
Entity(src.Entity),
FunctionResult(src.FunctionResult),
PlayerProfile(src.PlayerProfile),
PlayStreamEventEnvelope(src.PlayStreamEventEnvelope)
Expand All @@ -4858,7 +4855,6 @@ namespace PlayFab
void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["CustomTags"], CustomTags);
FromJsonUtilO(input["Entity"], Entity);
FromJsonUtilO(input["FunctionResult"], FunctionResult);
FromJsonUtilO(input["PlayerProfile"], PlayerProfile);
FromJsonUtilO(input["PlayStreamEventEnvelope"], PlayStreamEventEnvelope);
Expand All @@ -4868,7 +4864,6 @@ namespace PlayFab
{
Json::Value output;
Json::Value each_CustomTags; ToJsonUtilS(CustomTags, each_CustomTags); output["CustomTags"] = each_CustomTags;
Json::Value each_Entity; ToJsonUtilO(Entity, each_Entity); output["Entity"] = each_Entity;
Json::Value each_FunctionResult; ToJsonUtilO(FunctionResult, each_FunctionResult); output["FunctionResult"] = each_FunctionResult;
Json::Value each_PlayerProfile; ToJsonUtilO(PlayerProfile, each_PlayerProfile); output["PlayerProfile"] = each_PlayerProfile;
Json::Value each_PlayStreamEventEnvelope; ToJsonUtilO(PlayStreamEventEnvelope, each_PlayStreamEventEnvelope); output["PlayStreamEventEnvelope"] = each_PlayStreamEventEnvelope;
Expand All @@ -4879,22 +4874,19 @@ namespace PlayFab
struct PostFunctionResultForScheduledTaskRequest : public PlayFabRequestCommon
{
std::map<std::string, std::string> CustomTags;
Boxed<EntityKey> Entity;
ExecuteFunctionResult FunctionResult;
NameIdentifier ScheduledTaskId;

PostFunctionResultForScheduledTaskRequest() :
PlayFabRequestCommon(),
CustomTags(),
Entity(),
FunctionResult(),
ScheduledTaskId()
{}

PostFunctionResultForScheduledTaskRequest(const PostFunctionResultForScheduledTaskRequest& src) :
PlayFabRequestCommon(),
CustomTags(src.CustomTags),
Entity(src.Entity),
FunctionResult(src.FunctionResult),
ScheduledTaskId(src.ScheduledTaskId)
{}
Expand All @@ -4904,7 +4896,6 @@ namespace PlayFab
void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["CustomTags"], CustomTags);
FromJsonUtilO(input["Entity"], Entity);
FromJsonUtilO(input["FunctionResult"], FunctionResult);
FromJsonUtilO(input["ScheduledTaskId"], ScheduledTaskId);
}
Expand All @@ -4913,7 +4904,6 @@ namespace PlayFab
{
Json::Value output;
Json::Value each_CustomTags; ToJsonUtilS(CustomTags, each_CustomTags); output["CustomTags"] = each_CustomTags;
Json::Value each_Entity; ToJsonUtilO(Entity, each_Entity); output["Entity"] = each_Entity;
Json::Value each_FunctionResult; ToJsonUtilO(FunctionResult, each_FunctionResult); output["FunctionResult"] = each_FunctionResult;
Json::Value each_ScheduledTaskId; ToJsonUtilO(ScheduledTaskId, each_ScheduledTaskId); output["ScheduledTaskId"] = each_ScheduledTaskId;
return output;
Expand Down
6 changes: 3 additions & 3 deletions code/source/playfab/PlayFabSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.98.221207";
const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_115";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.98.221207";
const std::string PlayFabSettings::sdkVersion = "3.99.230109";
const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_117";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.99.230109";
std::string PlayFabSettings::productionEnvironmentURL = ".playfabapi.com";

ErrorCallback PlayFabSettings::globalErrorHandler = nullptr;
Expand Down
6 changes: 3 additions & 3 deletions com.playfab.xplatcppsdk.v141.autopkg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ configurations {
nuget {
nuspec {
id = "com.playfab.xplatcppsdk.v141";
version : 3.98.221207;
version : 3.99.230109;
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";
Expand All @@ -18,8 +18,8 @@ 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/#221207";
copyright: "Copyright 2022";
releaseNotes: "https://api.playfab.com/releaseNotes/#230109";
copyright: "Copyright 2023";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native };
};
Expand Down
4 changes: 2 additions & 2 deletions com.playfab.xplatcppsdk.v141.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>com.playfab.xplatcppsdk.v141</id>
<version>3.98.221207</version>
<version>3.99.230109</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<projectUrl>http://github.com/PlayFab/XPlatCppSdk</projectUrl>
<license type="expression">Apache-2.0</license>
<icon>./images/icon.png</icon>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.98.221207</releaseNotes>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.99.230109</releaseNotes>
<description>Microsoft Azure PlayFab XPlatCppSdk</description>
<copyright>&#169; Microsoft Corporation. All rights reserved.</copyright>
<tags>Microsoft Azure PlayFab Baas Paas JSON REST HTTP SSL API cloud liveops game gamedev native nativepackage</tags>
Expand Down
6 changes: 3 additions & 3 deletions com.playfab.xplatcppsdk.v142.autopkg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ configurations {
nuget {
nuspec {
id = "com.playfab.xplatcppsdk.v142";
version : 3.98.221207;
version : 3.99.230109;
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";
Expand All @@ -18,8 +18,8 @@ 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/#221207";
copyright: "Copyright 2022";
releaseNotes: "https://api.playfab.com/releaseNotes/#230109";
copyright: "Copyright 2023";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native };
};
Expand Down
4 changes: 2 additions & 2 deletions com.playfab.xplatcppsdk.v142.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>com.playfab.xplatcppsdk.v142</id>
<version>3.98.221207</version>
<version>3.99.230109</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<projectUrl>http://github.com/PlayFab/XPlatCppSdk</projectUrl>
<license type="expression">Apache-2.0</license>
<icon>./images/icon.png</icon>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.98.221207</releaseNotes>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.99.230109</releaseNotes>
<description>Microsoft Azure PlayFab XPlatCppSdk</description>
<copyright>&#169; Microsoft Corporation. All rights reserved.</copyright>
<tags>Microsoft Azure PlayFab Baas Paas JSON REST HTTP SSL API cloud liveops game gamedev native nativepackage</tags>
Expand Down
6 changes: 3 additions & 3 deletions com.playfab.xplatxboxsdk.v141.autopkg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ configurations {
nuget {
nuspec {
id = "com.playfab.xplatxboxsdk.v141";
version : 3.98.221207;
version : 3.99.230109;
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";
Expand All @@ -28,8 +28,8 @@ 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/#221207";
copyright: "Copyright 2022";
releaseNotes: "https://api.playfab.com/releaseNotes/#230109";
copyright: "Copyright 2023";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native, xbox };
};
Expand Down

0 comments on commit 8e8f1f5

Please sign in to comment.