Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220214
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Feb 15, 2022
2 parents 4ad952f + 6899aa9 commit c67497e
Show file tree
Hide file tree
Showing 8 changed files with 202 additions and 90 deletions.
205 changes: 181 additions & 24 deletions code/include/playfab/PlayFabAdminDataModels.h

Large diffs are not rendered by default.

43 changes: 4 additions & 39 deletions code/include/playfab/PlayFabCloudScriptDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4015,15 +4015,13 @@ namespace PlayFab
std::string ConnectionString;
std::string FunctionUrl;
std::string QueueName;
Boxed<AzureResourceSystemData> SystemData;
std::string TriggerType;

GetFunctionResult() :
PlayFabResultCommon(),
ConnectionString(),
FunctionUrl(),
QueueName(),
SystemData(),
TriggerType()
{}

Expand All @@ -4032,7 +4030,6 @@ namespace PlayFab
ConnectionString(src.ConnectionString),
FunctionUrl(src.FunctionUrl),
QueueName(src.QueueName),
SystemData(src.SystemData),
TriggerType(src.TriggerType)
{}

Expand All @@ -4043,7 +4040,6 @@ namespace PlayFab
FromJsonUtilS(input["ConnectionString"], ConnectionString);
FromJsonUtilS(input["FunctionUrl"], FunctionUrl);
FromJsonUtilS(input["QueueName"], QueueName);
FromJsonUtilO(input["SystemData"], SystemData);
FromJsonUtilS(input["TriggerType"], TriggerType);
}

Expand All @@ -4053,7 +4049,6 @@ namespace PlayFab
Json::Value each_ConnectionString; ToJsonUtilS(ConnectionString, each_ConnectionString); output["ConnectionString"] = each_ConnectionString;
Json::Value each_FunctionUrl; ToJsonUtilS(FunctionUrl, each_FunctionUrl); output["FunctionUrl"] = each_FunctionUrl;
Json::Value each_QueueName; ToJsonUtilS(QueueName, each_QueueName); output["QueueName"] = each_QueueName;
Json::Value each_SystemData; ToJsonUtilO(SystemData, each_SystemData); output["SystemData"] = each_SystemData;
Json::Value each_TriggerType; ToJsonUtilS(TriggerType, each_TriggerType); output["TriggerType"] = each_TriggerType;
return output;
}
Expand All @@ -4063,20 +4058,17 @@ namespace PlayFab
{
std::string FunctionName;
std::string FunctionUrl;
Boxed<AzureResourceSystemData> SystemData;

HttpFunctionModel() :
PlayFabBaseModel(),
FunctionName(),
FunctionUrl(),
SystemData()
FunctionUrl()
{}

HttpFunctionModel(const HttpFunctionModel& src) :
PlayFabBaseModel(),
FunctionName(src.FunctionName),
FunctionUrl(src.FunctionUrl),
SystemData(src.SystemData)
FunctionUrl(src.FunctionUrl)
{}

~HttpFunctionModel() = default;
Expand All @@ -4085,15 +4077,13 @@ namespace PlayFab
{
FromJsonUtilS(input["FunctionName"], FunctionName);
FromJsonUtilS(input["FunctionUrl"], FunctionUrl);
FromJsonUtilO(input["SystemData"], SystemData);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_FunctionName; ToJsonUtilS(FunctionName, each_FunctionName); output["FunctionName"] = each_FunctionName;
Json::Value each_FunctionUrl; ToJsonUtilS(FunctionUrl, each_FunctionUrl); output["FunctionUrl"] = each_FunctionUrl;
Json::Value each_SystemData; ToJsonUtilO(SystemData, each_SystemData); output["SystemData"] = each_SystemData;
return output;
}
};
Expand Down Expand Up @@ -4239,22 +4229,19 @@ namespace PlayFab
std::string ConnectionString;
std::string FunctionName;
std::string QueueName;
Boxed<AzureResourceSystemData> SystemData;

QueuedFunctionModel() :
PlayFabBaseModel(),
ConnectionString(),
FunctionName(),
QueueName(),
SystemData()
QueueName()
{}

QueuedFunctionModel(const QueuedFunctionModel& src) :
PlayFabBaseModel(),
ConnectionString(src.ConnectionString),
FunctionName(src.FunctionName),
QueueName(src.QueueName),
SystemData(src.SystemData)
QueueName(src.QueueName)
{}

~QueuedFunctionModel() = default;
Expand All @@ -4264,7 +4251,6 @@ namespace PlayFab
FromJsonUtilS(input["ConnectionString"], ConnectionString);
FromJsonUtilS(input["FunctionName"], FunctionName);
FromJsonUtilS(input["QueueName"], QueueName);
FromJsonUtilO(input["SystemData"], SystemData);
}

Json::Value ToJson() const override
Expand All @@ -4273,7 +4259,6 @@ namespace PlayFab
Json::Value each_ConnectionString; ToJsonUtilS(ConnectionString, each_ConnectionString); output["ConnectionString"] = each_ConnectionString;
Json::Value each_FunctionName; ToJsonUtilS(FunctionName, each_FunctionName); output["FunctionName"] = each_FunctionName;
Json::Value each_QueueName; ToJsonUtilS(QueueName, each_QueueName); output["QueueName"] = each_QueueName;
Json::Value each_SystemData; ToJsonUtilO(SystemData, each_SystemData); output["SystemData"] = each_SystemData;
return output;
}
};
Expand Down Expand Up @@ -4990,112 +4975,92 @@ namespace PlayFab

struct RegisterHttpFunctionRequest : public PlayFabRequestCommon
{
std::string AzureResourceId;
std::map<std::string, std::string> CustomTags;
std::string FunctionName;
std::string FunctionUrl;
Boxed<AzureResourceSystemData> SystemData;
std::string TitleId;

RegisterHttpFunctionRequest() :
PlayFabRequestCommon(),
AzureResourceId(),
CustomTags(),
FunctionName(),
FunctionUrl(),
SystemData(),
TitleId()
{}

RegisterHttpFunctionRequest(const RegisterHttpFunctionRequest& src) :
PlayFabRequestCommon(),
AzureResourceId(src.AzureResourceId),
CustomTags(src.CustomTags),
FunctionName(src.FunctionName),
FunctionUrl(src.FunctionUrl),
SystemData(src.SystemData),
TitleId(src.TitleId)
{}

~RegisterHttpFunctionRequest() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["AzureResourceId"], AzureResourceId);
FromJsonUtilS(input["CustomTags"], CustomTags);
FromJsonUtilS(input["FunctionName"], FunctionName);
FromJsonUtilS(input["FunctionUrl"], FunctionUrl);
FromJsonUtilO(input["SystemData"], SystemData);
FromJsonUtilS(input["TitleId"], TitleId);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_AzureResourceId; ToJsonUtilS(AzureResourceId, each_AzureResourceId); output["AzureResourceId"] = each_AzureResourceId;
Json::Value each_CustomTags; ToJsonUtilS(CustomTags, each_CustomTags); output["CustomTags"] = each_CustomTags;
Json::Value each_FunctionName; ToJsonUtilS(FunctionName, each_FunctionName); output["FunctionName"] = each_FunctionName;
Json::Value each_FunctionUrl; ToJsonUtilS(FunctionUrl, each_FunctionUrl); output["FunctionUrl"] = each_FunctionUrl;
Json::Value each_SystemData; ToJsonUtilO(SystemData, each_SystemData); output["SystemData"] = each_SystemData;
Json::Value each_TitleId; ToJsonUtilS(TitleId, each_TitleId); output["TitleId"] = each_TitleId;
return output;
}
};

struct RegisterQueuedFunctionRequest : public PlayFabRequestCommon
{
std::string AzureResourceId;
std::string ConnectionString;
std::map<std::string, std::string> CustomTags;
std::string FunctionName;
std::string QueueName;
Boxed<AzureResourceSystemData> SystemData;
std::string TitleId;

RegisterQueuedFunctionRequest() :
PlayFabRequestCommon(),
AzureResourceId(),
ConnectionString(),
CustomTags(),
FunctionName(),
QueueName(),
SystemData(),
TitleId()
{}

RegisterQueuedFunctionRequest(const RegisterQueuedFunctionRequest& src) :
PlayFabRequestCommon(),
AzureResourceId(src.AzureResourceId),
ConnectionString(src.ConnectionString),
CustomTags(src.CustomTags),
FunctionName(src.FunctionName),
QueueName(src.QueueName),
SystemData(src.SystemData),
TitleId(src.TitleId)
{}

~RegisterQueuedFunctionRequest() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["AzureResourceId"], AzureResourceId);
FromJsonUtilS(input["ConnectionString"], ConnectionString);
FromJsonUtilS(input["CustomTags"], CustomTags);
FromJsonUtilS(input["FunctionName"], FunctionName);
FromJsonUtilS(input["QueueName"], QueueName);
FromJsonUtilO(input["SystemData"], SystemData);
FromJsonUtilS(input["TitleId"], TitleId);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_AzureResourceId; ToJsonUtilS(AzureResourceId, each_AzureResourceId); output["AzureResourceId"] = each_AzureResourceId;
Json::Value each_ConnectionString; ToJsonUtilS(ConnectionString, each_ConnectionString); output["ConnectionString"] = each_ConnectionString;
Json::Value each_CustomTags; ToJsonUtilS(CustomTags, each_CustomTags); output["CustomTags"] = each_CustomTags;
Json::Value each_FunctionName; ToJsonUtilS(FunctionName, each_FunctionName); output["FunctionName"] = each_FunctionName;
Json::Value each_QueueName; ToJsonUtilS(QueueName, each_QueueName); output["QueueName"] = each_QueueName;
Json::Value each_SystemData; ToJsonUtilO(SystemData, each_SystemData); output["SystemData"] = each_SystemData;
Json::Value each_TitleId; ToJsonUtilS(TitleId, each_TitleId); output["TitleId"] = each_TitleId;
return output;
}
Expand Down
5 changes: 5 additions & 0 deletions code/include/playfab/PlayFabMultiplayerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,7 @@ namespace PlayFab
{
Boxed<CurrentServerStats> pfCurrentServerStats;
Boxed<DynamicStandbySettings> pfDynamicStandbySettings;
bool IsAssetReplicationComplete;
Int32 MaxServers;
Boxed<Int32> MultiplayerServerCountPerVm;
std::string Region;
Expand All @@ -1917,6 +1918,7 @@ namespace PlayFab
PlayFabBaseModel(),
pfCurrentServerStats(),
pfDynamicStandbySettings(),
IsAssetReplicationComplete(),
MaxServers(),
MultiplayerServerCountPerVm(),
Region(),
Expand All @@ -1930,6 +1932,7 @@ namespace PlayFab
PlayFabBaseModel(),
pfCurrentServerStats(src.pfCurrentServerStats),
pfDynamicStandbySettings(src.pfDynamicStandbySettings),
IsAssetReplicationComplete(src.IsAssetReplicationComplete),
MaxServers(src.MaxServers),
MultiplayerServerCountPerVm(src.MultiplayerServerCountPerVm),
Region(src.Region),
Expand All @@ -1945,6 +1948,7 @@ namespace PlayFab
{
FromJsonUtilO(input["CurrentServerStats"], pfCurrentServerStats);
FromJsonUtilO(input["DynamicStandbySettings"], pfDynamicStandbySettings);
FromJsonUtilP(input["IsAssetReplicationComplete"], IsAssetReplicationComplete);
FromJsonUtilP(input["MaxServers"], MaxServers);
FromJsonUtilP(input["MultiplayerServerCountPerVm"], MultiplayerServerCountPerVm);
FromJsonUtilS(input["Region"], Region);
Expand All @@ -1959,6 +1963,7 @@ namespace PlayFab
Json::Value output;
Json::Value each_pfCurrentServerStats; ToJsonUtilO(pfCurrentServerStats, each_pfCurrentServerStats); output["CurrentServerStats"] = each_pfCurrentServerStats;
Json::Value each_pfDynamicStandbySettings; ToJsonUtilO(pfDynamicStandbySettings, each_pfDynamicStandbySettings); output["DynamicStandbySettings"] = each_pfDynamicStandbySettings;
Json::Value each_IsAssetReplicationComplete; ToJsonUtilP(IsAssetReplicationComplete, each_IsAssetReplicationComplete); output["IsAssetReplicationComplete"] = each_IsAssetReplicationComplete;
Json::Value each_MaxServers; ToJsonUtilP(MaxServers, each_MaxServers); output["MaxServers"] = each_MaxServers;
Json::Value each_MultiplayerServerCountPerVm; ToJsonUtilP(MultiplayerServerCountPerVm, each_MultiplayerServerCountPerVm); output["MultiplayerServerCountPerVm"] = each_MultiplayerServerCountPerVm;
Json::Value each_Region; ToJsonUtilS(Region, each_Region); output["Region"] = each_Region;
Expand Down
23 changes: 4 additions & 19 deletions code/include/playfab/PlayFabServerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -24047,29 +24047,23 @@ namespace PlayFab

struct SetTitleDataRequest : public PlayFabRequestCommon
{
std::string AzureResourceId;
std::map<std::string, std::string> CustomTags;
std::string Key;
Boxed<AzureResourceSystemData> SystemData;
std::string TitleId;
std::string Value;

SetTitleDataRequest() :
PlayFabRequestCommon(),
AzureResourceId(),
CustomTags(),
Key(),
SystemData(),
TitleId(),
Value()
{}

SetTitleDataRequest(const SetTitleDataRequest& src) :
PlayFabRequestCommon(),
AzureResourceId(src.AzureResourceId),
CustomTags(src.CustomTags),
Key(src.Key),
SystemData(src.SystemData),
TitleId(src.TitleId),
Value(src.Value)
{}
Expand All @@ -24078,21 +24072,17 @@ namespace PlayFab

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["AzureResourceId"], AzureResourceId);
FromJsonUtilS(input["CustomTags"], CustomTags);
FromJsonUtilS(input["Key"], Key);
FromJsonUtilO(input["SystemData"], SystemData);
FromJsonUtilS(input["TitleId"], TitleId);
FromJsonUtilS(input["Value"], Value);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_AzureResourceId; ToJsonUtilS(AzureResourceId, each_AzureResourceId); output["AzureResourceId"] = each_AzureResourceId;
Json::Value each_CustomTags; ToJsonUtilS(CustomTags, each_CustomTags); output["CustomTags"] = each_CustomTags;
Json::Value each_Key; ToJsonUtilS(Key, each_Key); output["Key"] = each_Key;
Json::Value each_SystemData; ToJsonUtilO(SystemData, each_SystemData); output["SystemData"] = each_SystemData;
Json::Value each_TitleId; ToJsonUtilS(TitleId, each_TitleId); output["TitleId"] = each_TitleId;
Json::Value each_Value; ToJsonUtilS(Value, each_Value); output["Value"] = each_Value;
return output;
Expand All @@ -24101,29 +24091,24 @@ namespace PlayFab

struct SetTitleDataResult : public PlayFabResultCommon
{
std::string AzureResourceId;

SetTitleDataResult() :
PlayFabResultCommon(),
AzureResourceId()
PlayFabResultCommon()
{}

SetTitleDataResult(const SetTitleDataResult& src) :
PlayFabResultCommon(),
AzureResourceId(src.AzureResourceId)
SetTitleDataResult(const SetTitleDataResult&) :
PlayFabResultCommon()
{}

~SetTitleDataResult() = default;

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

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_AzureResourceId; ToJsonUtilS(AzureResourceId, each_AzureResourceId); output["AzureResourceId"] = each_AzureResourceId;
return output;
}
};
Expand Down
4 changes: 2 additions & 2 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.65.220131";
const std::string PlayFabSettings::sdkVersion = "3.66.220214";
const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_166";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.65.220131";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.66.220214";
std::string PlayFabSettings::productionEnvironmentURL = ".playfabapi.com";
std::string PlayFabSettings::connectionString = "";
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.65.220131;
version : 3.66.220214;
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/#220131";
releaseNotes: "https://api.playfab.com/releaseNotes/#220214";
copyright: "Copyright 2022";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native };
Expand Down
Loading

0 comments on commit c67497e

Please sign in to comment.