Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230529
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed May 30, 2023
2 parents 164f3ba + d08d879 commit c151bd2
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 13 deletions.
142 changes: 142 additions & 0 deletions code/include/playfab/PlayFabMultiplayerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ namespace PlayFab
AzureVmFamilyFsv2,
AzureVmFamilyDasv4,
AzureVmFamilyDav4,
AzureVmFamilyDadsv5,
AzureVmFamilyEav4,
AzureVmFamilyEasv4,
AzureVmFamilyEv4,
Expand Down Expand Up @@ -392,6 +393,11 @@ namespace PlayFab
output = Json::Value("Dav4");
return;
}
if (input == AzureVmFamily::AzureVmFamilyDadsv5)
{
output = Json::Value("Dadsv5");
return;
}
if (input == AzureVmFamily::AzureVmFamilyEav4)
{
output = Json::Value("Eav4");
Expand Down Expand Up @@ -490,6 +496,11 @@ namespace PlayFab
output = AzureVmFamily::AzureVmFamilyDav4;
return;
}
if (inputStr == "Dadsv5")
{
output = AzureVmFamily::AzureVmFamilyDadsv5;
return;
}
if (inputStr == "Eav4")
{
output = AzureVmFamily::AzureVmFamilyEav4;
Expand Down Expand Up @@ -578,6 +589,10 @@ namespace PlayFab
AzureVmSizeStandard_D4a_v4,
AzureVmSizeStandard_D8a_v4,
AzureVmSizeStandard_D16a_v4,
AzureVmSizeStandard_D2ads_v5,
AzureVmSizeStandard_D4ads_v5,
AzureVmSizeStandard_D8ads_v5,
AzureVmSizeStandard_D16ads_v5,
AzureVmSizeStandard_E2a_v4,
AzureVmSizeStandard_E4a_v4,
AzureVmSizeStandard_E8a_v4,
Expand Down Expand Up @@ -783,6 +798,26 @@ namespace PlayFab
output = Json::Value("Standard_D16a_v4");
return;
}
if (input == AzureVmSize::AzureVmSizeStandard_D2ads_v5)
{
output = Json::Value("Standard_D2ads_v5");
return;
}
if (input == AzureVmSize::AzureVmSizeStandard_D4ads_v5)
{
output = Json::Value("Standard_D4ads_v5");
return;
}
if (input == AzureVmSize::AzureVmSizeStandard_D8ads_v5)
{
output = Json::Value("Standard_D8ads_v5");
return;
}
if (input == AzureVmSize::AzureVmSizeStandard_D16ads_v5)
{
output = Json::Value("Standard_D16ads_v5");
return;
}
if (input == AzureVmSize::AzureVmSizeStandard_E2a_v4)
{
output = Json::Value("Standard_E2a_v4");
Expand Down Expand Up @@ -1116,6 +1151,26 @@ namespace PlayFab
output = AzureVmSize::AzureVmSizeStandard_D16a_v4;
return;
}
if (inputStr == "Standard_D2ads_v5")
{
output = AzureVmSize::AzureVmSizeStandard_D2ads_v5;
return;
}
if (inputStr == "Standard_D4ads_v5")
{
output = AzureVmSize::AzureVmSizeStandard_D4ads_v5;
return;
}
if (inputStr == "Standard_D8ads_v5")
{
output = AzureVmSize::AzureVmSizeStandard_D8ads_v5;
return;
}
if (inputStr == "Standard_D16ads_v5")
{
output = AzureVmSize::AzureVmSizeStandard_D16ads_v5;
return;
}
if (inputStr == "Standard_E2a_v4")
{
output = AzureVmSize::AzureVmSizeStandard_E2a_v4;
Expand Down Expand Up @@ -1638,6 +1693,44 @@ namespace PlayFab
}
}

enum class RoutingType
{
RoutingTypeMicrosoft,
RoutingTypeInternet
};

inline void ToJsonEnum(const RoutingType input, Json::Value& output)
{
if (input == RoutingType::RoutingTypeMicrosoft)
{
output = Json::Value("Microsoft");
return;
}
if (input == RoutingType::RoutingTypeInternet)
{
output = Json::Value("Internet");
return;
}
}
inline void FromJsonEnum(const Json::Value& input, RoutingType& output)
{
if (!input.isString())
{
return;
}
const std::string& inputStr = input.asString();
if (inputStr == "Microsoft")
{
output = RoutingType::RoutingTypeMicrosoft;
return;
}
if (inputStr == "Internet")
{
output = RoutingType::RoutingTypeInternet;
return;
}
}

enum class ServerType
{
ServerTypeContainer,
Expand Down Expand Up @@ -6308,6 +6401,45 @@ namespace PlayFab
}
};

struct PublicIpAddress : public PlayFabBaseModel
{
std::string FQDN;
std::string IpAddress;
std::string RoutingType;

PublicIpAddress() :
PlayFabBaseModel(),
FQDN(),
IpAddress(),
RoutingType()
{}

PublicIpAddress(const PublicIpAddress& src) :
PlayFabBaseModel(),
FQDN(src.FQDN),
IpAddress(src.IpAddress),
RoutingType(src.RoutingType)
{}

~PublicIpAddress() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["FQDN"], FQDN);
FromJsonUtilS(input["IpAddress"], IpAddress);
FromJsonUtilS(input["RoutingType"], RoutingType);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_FQDN; ToJsonUtilS(FQDN, each_FQDN); output["FQDN"] = each_FQDN;
Json::Value each_IpAddress; ToJsonUtilS(IpAddress, each_IpAddress); output["IpAddress"] = each_IpAddress;
Json::Value each_RoutingType; ToJsonUtilS(RoutingType, each_RoutingType); output["RoutingType"] = each_RoutingType;
return output;
}
};

struct GetMultiplayerServerDetailsResponse : public PlayFabResultCommon
{
std::string BuildId;
Expand All @@ -6316,6 +6448,7 @@ namespace PlayFab
std::string IPV4Address;
Boxed<time_t> LastStateTransitionTime;
std::list<Port> Ports;
std::list<PublicIpAddress> PublicIPV4Addresses;
std::string Region;
std::string ServerId;
std::string SessionId;
Expand All @@ -6330,6 +6463,7 @@ namespace PlayFab
IPV4Address(),
LastStateTransitionTime(),
Ports(),
PublicIPV4Addresses(),
Region(),
ServerId(),
SessionId(),
Expand All @@ -6345,6 +6479,7 @@ namespace PlayFab
IPV4Address(src.IPV4Address),
LastStateTransitionTime(src.LastStateTransitionTime),
Ports(src.Ports),
PublicIPV4Addresses(src.PublicIPV4Addresses),
Region(src.Region),
ServerId(src.ServerId),
SessionId(src.SessionId),
Expand All @@ -6362,6 +6497,7 @@ namespace PlayFab
FromJsonUtilS(input["IPV4Address"], IPV4Address);
FromJsonUtilT(input["LastStateTransitionTime"], LastStateTransitionTime);
FromJsonUtilO(input["Ports"], Ports);
FromJsonUtilO(input["PublicIPV4Addresses"], PublicIPV4Addresses);
FromJsonUtilS(input["Region"], Region);
FromJsonUtilS(input["ServerId"], ServerId);
FromJsonUtilS(input["SessionId"], SessionId);
Expand All @@ -6378,6 +6514,7 @@ namespace PlayFab
Json::Value each_IPV4Address; ToJsonUtilS(IPV4Address, each_IPV4Address); output["IPV4Address"] = each_IPV4Address;
Json::Value each_LastStateTransitionTime; ToJsonUtilT(LastStateTransitionTime, each_LastStateTransitionTime); output["LastStateTransitionTime"] = each_LastStateTransitionTime;
Json::Value each_Ports; ToJsonUtilO(Ports, each_Ports); output["Ports"] = each_Ports;
Json::Value each_PublicIPV4Addresses; ToJsonUtilO(PublicIPV4Addresses, each_PublicIPV4Addresses); output["PublicIPV4Addresses"] = each_PublicIPV4Addresses;
Json::Value each_Region; ToJsonUtilS(Region, each_Region); output["Region"] = each_Region;
Json::Value each_ServerId; ToJsonUtilS(ServerId, each_ServerId); output["ServerId"] = each_ServerId;
Json::Value each_SessionId; ToJsonUtilS(SessionId, each_SessionId); output["SessionId"] = each_SessionId;
Expand Down Expand Up @@ -8573,6 +8710,7 @@ namespace PlayFab
std::string IPV4Address;
Boxed<time_t> LastStateTransitionTime;
std::list<Port> Ports;
std::list<PublicIpAddress> PublicIPV4Addresses;
std::string Region;
std::string ServerId;
std::string SessionId;
Expand All @@ -8587,6 +8725,7 @@ namespace PlayFab
IPV4Address(),
LastStateTransitionTime(),
Ports(),
PublicIPV4Addresses(),
Region(),
ServerId(),
SessionId(),
Expand All @@ -8602,6 +8741,7 @@ namespace PlayFab
IPV4Address(src.IPV4Address),
LastStateTransitionTime(src.LastStateTransitionTime),
Ports(src.Ports),
PublicIPV4Addresses(src.PublicIPV4Addresses),
Region(src.Region),
ServerId(src.ServerId),
SessionId(src.SessionId),
Expand All @@ -8619,6 +8759,7 @@ namespace PlayFab
FromJsonUtilS(input["IPV4Address"], IPV4Address);
FromJsonUtilT(input["LastStateTransitionTime"], LastStateTransitionTime);
FromJsonUtilO(input["Ports"], Ports);
FromJsonUtilO(input["PublicIPV4Addresses"], PublicIPV4Addresses);
FromJsonUtilS(input["Region"], Region);
FromJsonUtilS(input["ServerId"], ServerId);
FromJsonUtilS(input["SessionId"], SessionId);
Expand All @@ -8635,6 +8776,7 @@ namespace PlayFab
Json::Value each_IPV4Address; ToJsonUtilS(IPV4Address, each_IPV4Address); output["IPV4Address"] = each_IPV4Address;
Json::Value each_LastStateTransitionTime; ToJsonUtilT(LastStateTransitionTime, each_LastStateTransitionTime); output["LastStateTransitionTime"] = each_LastStateTransitionTime;
Json::Value each_Ports; ToJsonUtilO(Ports, each_Ports); output["Ports"] = each_Ports;
Json::Value each_PublicIPV4Addresses; ToJsonUtilO(PublicIPV4Addresses, each_PublicIPV4Addresses); output["PublicIPV4Addresses"] = each_PublicIPV4Addresses;
Json::Value each_Region; ToJsonUtilS(Region, each_Region); output["Region"] = each_Region;
Json::Value each_ServerId; ToJsonUtilS(ServerId, each_ServerId); output["ServerId"] = each_ServerId;
Json::Value each_SessionId; ToJsonUtilS(SessionId, each_SessionId); output["SessionId"] = each_SessionId;
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.109.230512";
const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_114";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.109.230512";
const std::string PlayFabSettings::sdkVersion = "3.110.230529";
const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_116";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.110.230529";
std::string PlayFabSettings::productionEnvironmentURL = ".playfabapi.com";

ErrorCallback PlayFabSettings::globalErrorHandler = nullptr;
Expand Down
4 changes: 2 additions & 2 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.109.230512;
version : 3.110.230529;
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,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/#230512";
releaseNotes: "https://api.playfab.com/releaseNotes/#230529";
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.109.230512</version>
<version>3.110.230529</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.109.230512</releaseNotes>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.110.230529</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
4 changes: 2 additions & 2 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.109.230512;
version : 3.110.230529;
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,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/#230512";
releaseNotes: "https://api.playfab.com/releaseNotes/#230529";
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.109.230512</version>
<version>3.110.230529</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.109.230512</releaseNotes>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.110.230529</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
4 changes: 2 additions & 2 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.109.230512;
version : 3.110.230529;
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,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/#230512";
releaseNotes: "https://api.playfab.com/releaseNotes/#230529";
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 c151bd2

Please sign in to comment.