diff --git a/.gitmodules b/.gitmodules
index afe8d8e..9df2d67 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -2,6 +2,6 @@
[submodule "External/libHttpClient"]
path = External/libHttpClient
url = https://github.com/microsoft/libHttpClient.git
-[submodule "External/rapidjson"]
- path = External/rapidjson
- url = https://github.com/Tencent/rapidjson.git
+[submodule "External/nlohmann"]
+ path = External/nlohmann
+ url = https://github.com/nlohmann/json.git
diff --git a/Build/PlayFab.C.paths.props b/Build/PlayFab.C.paths.props
index f1ea334..f34f022 100644
--- a/Build/PlayFab.C.paths.props
+++ b/Build/PlayFab.C.paths.props
@@ -27,9 +27,9 @@
-
-
- $(PlayFabExternalDir)\rapidjson
- $(RapidJsonRoot)\include
+
+
+ $(PlayFabExternalDir)\nlohmann
+ $(NLohmannRoot)\include
diff --git a/Build/PlayFabCore.Android/CMakeLists.txt b/Build/PlayFabCore.Android/CMakeLists.txt
index 953dd94..517bc0c 100644
--- a/Build/PlayFabCore.Android/CMakeLists.txt
+++ b/Build/PlayFabCore.Android/CMakeLists.txt
@@ -58,7 +58,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabCore/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
- "${PATH_TO_ROOT}/External/rapidjson/include"
+ "${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)
@@ -111,7 +111,7 @@ get_linux_flags(FLAGS FLAGS_DEBUG FLAGS_RELEASE)
include("../PlayFabSharedInternal.CMake/TargetSetFlags.cmake")
target_set_flags(
- "PlayFabCore.Android"
+ "PlayFabCore.Android"
"${FLAGS}"
"${FLAGS_DEBUG}"
"${FLAGS_RELEASE}"
diff --git a/Build/PlayFabCore.Apple/PlayFabCore.Apple.xcodeproj/project.pbxproj b/Build/PlayFabCore.Apple/PlayFabCore.Apple.xcodeproj/project.pbxproj
index 9168ad0..d67aea7 100644
--- a/Build/PlayFabCore.Apple/PlayFabCore.Apple.xcodeproj/project.pbxproj
+++ b/Build/PlayFabCore.Apple/PlayFabCore.Apple.xcodeproj/project.pbxproj
@@ -1167,7 +1167,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Source",
@@ -1216,7 +1216,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Source",
@@ -1406,7 +1406,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Source",
@@ -1456,7 +1456,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Source",
diff --git a/Build/PlayFabCore.GDK/PlayFabCore.GDK.vcxproj b/Build/PlayFabCore.GDK/PlayFabCore.GDK.vcxproj
index c3e77eb..6e08008 100644
--- a/Build/PlayFabCore.GDK/PlayFabCore.GDK.vcxproj
+++ b/Build/PlayFabCore.GDK/PlayFabCore.GDK.vcxproj
@@ -25,6 +25,14 @@
%(AdditionalLibraryDirectories);$(Console_SdkLibPath)
%(AdditionalDependencies);Appnotify.lib
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+ /Zi %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
\ No newline at end of file
diff --git a/Build/PlayFabCore.Linux/CMakeLists.txt b/Build/PlayFabCore.Linux/CMakeLists.txt
index a7eb059..bfa1348 100644
--- a/Build/PlayFabCore.Linux/CMakeLists.txt
+++ b/Build/PlayFabCore.Linux/CMakeLists.txt
@@ -58,8 +58,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabServices/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
- "${PATH_TO_ROOT}/External/rapidjson/include/rapidjson"
- "${PATH_TO_ROOT}/External/rapidjson/include"
+ "${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)
@@ -73,11 +72,13 @@ set(PLAYFAB_SHARED_INTERNAL_BINARY_PATH
)
message(STATUS "PLAYFAB_SHARED_INTERNAL_BINARY_PATH: ${PLAYFAB_SHARED_INTERNAL_BINARY_PATH}")
+# Removing -D_DEBUG flag due to a crash that's happening on Debug,
+# The crash seems to be related with RTTI symbols not being loaded despite we're including the -frtti flag
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
- add_definitions("-DDBG -D_DBG -DDEBUG -D_DEBUG")
+ add_definitions("-DDBG -D_DBG -DDEBUG")
endif()
-
+
#########################
### Set up shared lib ###
#########################
@@ -94,7 +95,7 @@ add_library(
"${PATH_TO_SOURCE}/PlayFabCore/Source/Platform/Generic/LocalStorage_Generic.h"
)
-target_link_libraries("${PROJECT_NAME}"
+target_link_libraries("${PROJECT_NAME}"
PRIVATE ${PLAYFAB_SHARED_INTERNAL_BINARY_PATH}
PRIVATE ${LIBHTTPCLIENT_BINARY_PATH}
)
diff --git a/Build/PlayFabCore.Linux/PlayFabCore_Linux.bash b/Build/PlayFabCore.Linux/PlayFabCore_Linux.bash
index 9b37818..31a82b5 100644
--- a/Build/PlayFabCore.Linux/PlayFabCore_Linux.bash
+++ b/Build/PlayFabCore.Linux/PlayFabCore_Linux.bash
@@ -44,4 +44,4 @@ log "LHC_PATH = ${LHC_PATH}"
# make PlayFabCore
sudo cmake -S "$SCRIPT_DIR" -B "$SCRIPT_DIR"/../../Int/CMake/PlayFabCore.Linux -D CMAKE_BUILD_TYPE=$CONFIGURATION -D LHC_PATH=$LHC_PATH
-sudo make -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabCore.Linux
+sudo make VERBOSE=1 -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabCore.Linux
diff --git a/Build/PlayFabCore.Win32/PlayFabCore.Win32.vcxproj b/Build/PlayFabCore.Win32/PlayFabCore.Win32.vcxproj
index c5f3a49..b394fa3 100644
--- a/Build/PlayFabCore.Win32/PlayFabCore.Win32.vcxproj
+++ b/Build/PlayFabCore.Win32/PlayFabCore.Win32.vcxproj
@@ -6,6 +6,70 @@
v143
10.0.19041.0
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
diff --git a/Build/PlayFabServices.Android/CMakeLists.txt b/Build/PlayFabServices.Android/CMakeLists.txt
index 00a5a7b..04665de 100644
--- a/Build/PlayFabServices.Android/CMakeLists.txt
+++ b/Build/PlayFabServices.Android/CMakeLists.txt
@@ -60,7 +60,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabServices/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
- "${PATH_TO_ROOT}/External/rapidjson/include"
+ "${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)
@@ -68,7 +68,7 @@ set(COMMON_INCLUDE_DIRS
### Set up shared lib ###
#########################
-# We'll usually want to build for full, but adding a case here if we want to build just for x84_64 or arm8
+# We'll usually want to build for full, but adding a case here if we want to build just for x84_64 or arm8
# TODO: Full flavor should just trigger the other two flavors. Weird that it creates a full directory. Something to look into.
# IF (EXISTS "${PATH_TO_ROOT}/Out/Android/PlayFabCore.Android/intermediates/cmake/full${CMAKE_BUILD_TYPE}")
# add_subdirectory("../PlayFabCore.Android" ${PATH_TO_ROOT}/Out/Android/PlayFabCore.Android/intermediates/cmake/full${CMAKE_BUILD_TYPE}/obj/${ANDROID_ABI})
diff --git a/Build/PlayFabServices.Apple/PlayFabServices.Apple.xcodeproj/project.pbxproj b/Build/PlayFabServices.Apple/PlayFabServices.Apple.xcodeproj/project.pbxproj
index eac5b87..c43ee0c 100644
--- a/Build/PlayFabServices.Apple/PlayFabServices.Apple.xcodeproj/project.pbxproj
+++ b/Build/PlayFabServices.Apple/PlayFabServices.Apple.xcodeproj/project.pbxproj
@@ -1704,7 +1704,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabCore/Include",
@@ -1750,7 +1750,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabCore/Include",
@@ -1797,7 +1797,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabCore/Include",
@@ -1846,7 +1846,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabCore/Include",
diff --git a/Build/PlayFabServices.GDK/PlayFabServices.GDK.vcxproj b/Build/PlayFabServices.GDK/PlayFabServices.GDK.vcxproj
index bb9c66d..01e8301 100644
--- a/Build/PlayFabServices.GDK/PlayFabServices.GDK.vcxproj
+++ b/Build/PlayFabServices.GDK/PlayFabServices.GDK.vcxproj
@@ -7,6 +7,22 @@
;
10.0.26100.0
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
diff --git a/Build/PlayFabServices.Linux/CMakeLists.txt b/Build/PlayFabServices.Linux/CMakeLists.txt
index 3610f3f..036d8c4 100644
--- a/Build/PlayFabServices.Linux/CMakeLists.txt
+++ b/Build/PlayFabServices.Linux/CMakeLists.txt
@@ -61,8 +61,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabServices/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
- "${PATH_TO_ROOT}/External/rapidjson/include/rapidjson"
- "${PATH_TO_ROOT}/External/rapidjson/include"
+ "${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)
@@ -83,9 +82,11 @@ message(STATUS "PLAYFAB_CORE_BINARY_PATH: ${PLAYFAB_CORE_BINARY_PATH}")
message(STATUS "PROJECT_NAME: ${PROJECT_NAME}")
+# Removing -D_DEBUG flag due to a crash that's happening on Debug,
+# The crash seems to be related with RTTI symbols not being loaded despite we're including the -frtti flag
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
- add_definitions("-DDBG -D_DBG -DDEBUG -D_DEBUG")
+ add_definitions("-DDBG -D_DBG -DDEBUG")
endif()
# make ${PROJECT_NAME}.so
@@ -93,10 +94,10 @@ add_library(
"${PROJECT_NAME}"
SHARED
"${SERVICE_WRAPPER_SOURCE_FILES}"
- "${COMMON_SOURCE_FILES}"
+ "${COMMON_SOURCE_FILES}"
)
-target_link_libraries("${PROJECT_NAME}"
+target_link_libraries("${PROJECT_NAME}"
PRIVATE ${PLAYFAB_CORE_BINARY_PATH}
PRIVATE ${PLAYFAB_SHARED_INTERNAL_BINARY_PATH}
PRIVATE ${LIBHTTPCLIENT_BINARY_PATH}
diff --git a/Build/PlayFabServices.Linux/PlayFabServices_Linux.bash b/Build/PlayFabServices.Linux/PlayFabServices_Linux.bash
index 19d692d..9f3789c 100644
--- a/Build/PlayFabServices.Linux/PlayFabServices_Linux.bash
+++ b/Build/PlayFabServices.Linux/PlayFabServices_Linux.bash
@@ -88,7 +88,7 @@ if [ "$BUILD_PF_CORE" = true ]; then
bash "$SCRIPT_DIR"/../PlayFabCore.Linux/PlayFabCore_Linux.bash -c "$CONFIGURATION" -lhc "$LHC_PATH"
fi
-log "#### Building PlayFabServices ####"
+log "#### Building PlayFabServices ####"
log "CONFIGURATION = ${CONFIGURATION}"
log "LHC_PATH = ${LHC_PATH}"
log "BUILD_LHC = ${BUILD_LHC}"
@@ -97,4 +97,4 @@ log "BUILD_PF_CORE = ${BUILD_PF_CORE}"
# make PlayFabServices
sudo cmake -S "$SCRIPT_DIR" -B "$SCRIPT_DIR"/../../Int/CMake/PlayFabServices.Linux -D CMAKE_BUILD_TYPE=$CONFIGURATION -D LHC_PATH=$LHC_PATH
-sudo make -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabServices.Linux
+sudo make VERBOSE=1 -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabServices.Linux
diff --git a/Build/PlayFabServices.Win32/PlayFabServices.Win32.vcxproj b/Build/PlayFabServices.Win32/PlayFabServices.Win32.vcxproj
index 69b381e..60a2eb7 100644
--- a/Build/PlayFabServices.Win32/PlayFabServices.Win32.vcxproj
+++ b/Build/PlayFabServices.Win32/PlayFabServices.Win32.vcxproj
@@ -10,5 +10,69 @@
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /profile /opt:ref /opt:icf %(AdditionalOptions)
+
+
+ /Zi %(AdditionalOptions)
+
+
\ No newline at end of file
diff --git a/Build/PlayFabSharedInternal.Android/CMakeLists.txt b/Build/PlayFabSharedInternal.Android/CMakeLists.txt
index b9ea88b..1a10071 100644
--- a/Build/PlayFabSharedInternal.Android/CMakeLists.txt
+++ b/Build/PlayFabSharedInternal.Android/CMakeLists.txt
@@ -49,7 +49,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Source/Common"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
- "${PATH_TO_ROOT}/External/rapidjson/include"
+ "${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)
diff --git a/Build/PlayFabSharedInternal.Apple/PlayFabSharedInternal.Apple.xcodeproj/project.pbxproj b/Build/PlayFabSharedInternal.Apple/PlayFabSharedInternal.Apple.xcodeproj/project.pbxproj
index 9c77992..2a47f53 100644
--- a/Build/PlayFabSharedInternal.Apple/PlayFabSharedInternal.Apple.xcodeproj/project.pbxproj
+++ b/Build/PlayFabSharedInternal.Apple/PlayFabSharedInternal.Apple.xcodeproj/project.pbxproj
@@ -11,7 +11,7 @@
8236DDA22B5AE91900FFA328 /* RunContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FD92AEAF76A00D8B93D /* RunContext.h */; };
8236DDA32B5AE91900FFA328 /* XAsyncOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDA2AEAF76A00D8B93D /* XAsyncOperation.h */; };
8236DDA42B5AE91900FFA328 /* EnumTraits.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDB2AEAF76A00D8B93D /* EnumTraits.h */; };
- 8236DDA52B5AE91900FFA328 /* RapidJson.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDC2AEAF76A00D8B93D /* RapidJson.h */; };
+ 8236DDA52B5AE91900FFA328 /* Nlohmann.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDC2AEAF76A00D8B93D /* Nlohmann.h */; };
8236DDA62B5AE91900FFA328 /* SdkVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDD2AEAF76A00D8B93D /* SdkVersion.h */; };
8236DDA72B5AE91900FFA328 /* Types.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDE2AEAF76A00D8B93D /* Types.h */; };
8236DDA82B5AE91900FFA328 /* Trace.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDF2AEAF76A00D8B93D /* Trace.h */; };
@@ -46,7 +46,7 @@
82607FED2AEAF76A00D8B93D /* RunContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FD92AEAF76A00D8B93D /* RunContext.h */; };
82607FEE2AEAF76A00D8B93D /* XAsyncOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDA2AEAF76A00D8B93D /* XAsyncOperation.h */; };
82607FEF2AEAF76A00D8B93D /* EnumTraits.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDB2AEAF76A00D8B93D /* EnumTraits.h */; };
- 82607FF02AEAF76A00D8B93D /* RapidJson.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDC2AEAF76A00D8B93D /* RapidJson.h */; };
+ 82607FF02AEAF76A00D8B93D /* Nlohmann.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDC2AEAF76A00D8B93D /* Nlohmann.h */; };
82607FF12AEAF76A00D8B93D /* SdkVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDD2AEAF76A00D8B93D /* SdkVersion.h */; };
82607FF22AEAF76A00D8B93D /* Types.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDE2AEAF76A00D8B93D /* Types.h */; };
82607FF32AEAF76A00D8B93D /* Trace.h in Headers */ = {isa = PBXBuildFile; fileRef = 82607FDF2AEAF76A00D8B93D /* Trace.h */; };
@@ -193,7 +193,7 @@
82607FD92AEAF76A00D8B93D /* RunContext.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RunContext.h; path = ../../Source/PlayFabSharedInternal/Include/RunContext.h; sourceTree = ""; };
82607FDA2AEAF76A00D8B93D /* XAsyncOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = XAsyncOperation.h; path = ../../Source/PlayFabSharedInternal/Include/XAsyncOperation.h; sourceTree = ""; };
82607FDB2AEAF76A00D8B93D /* EnumTraits.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = EnumTraits.h; path = ../../Source/PlayFabSharedInternal/Include/EnumTraits.h; sourceTree = ""; };
- 82607FDC2AEAF76A00D8B93D /* RapidJson.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RapidJson.h; path = ../../Source/PlayFabSharedInternal/Include/RapidJson.h; sourceTree = ""; };
+ 82607FDC2AEAF76A00D8B93D /* Nlohmann.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = Nlohmann.h; path = ../../Source/PlayFabSharedInternal/Include/Nlohmann.h; sourceTree = ""; };
82607FDD2AEAF76A00D8B93D /* SdkVersion.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SdkVersion.h; path = ../../Source/PlayFabSharedInternal/Include/SdkVersion.h; sourceTree = ""; };
82607FDE2AEAF76A00D8B93D /* Types.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = Types.h; path = ../../Source/PlayFabSharedInternal/Include/Types.h; sourceTree = ""; };
82607FDF2AEAF76A00D8B93D /* Trace.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = Trace.h; path = ../../Source/PlayFabSharedInternal/Include/Trace.h; sourceTree = ""; };
@@ -273,7 +273,7 @@
82607FE42AEAF76A00D8B93D /* ModelBuffer.h */,
82607FE82AEAF76A00D8B93D /* PlatformUser.h */,
82607FE22AEAF76A00D8B93D /* PlatformUtils.h */,
- 82607FDC2AEAF76A00D8B93D /* RapidJson.h */,
+ 82607FDC2AEAF76A00D8B93D /* Nlohmann.h */,
82607FE02AEAF76A00D8B93D /* Result.h */,
82607FE52AEAF76A00D8B93D /* ResultMacros.h */,
82607FD92AEAF76A00D8B93D /* RunContext.h */,
@@ -356,7 +356,7 @@
8236DDA22B5AE91900FFA328 /* RunContext.h in Headers */,
8236DDA32B5AE91900FFA328 /* XAsyncOperation.h in Headers */,
8236DDA42B5AE91900FFA328 /* EnumTraits.h in Headers */,
- 8236DDA52B5AE91900FFA328 /* RapidJson.h in Headers */,
+ 8236DDA52B5AE91900FFA328 /* Nlohmann.h in Headers */,
8236DDA62B5AE91900FFA328 /* SdkVersion.h in Headers */,
8236DDA72B5AE91900FFA328 /* Types.h in Headers */,
8236DDA82B5AE91900FFA328 /* Trace.h in Headers */,
@@ -384,7 +384,7 @@
82607FED2AEAF76A00D8B93D /* RunContext.h in Headers */,
82607FEE2AEAF76A00D8B93D /* XAsyncOperation.h in Headers */,
82607FEF2AEAF76A00D8B93D /* EnumTraits.h in Headers */,
- 82607FF02AEAF76A00D8B93D /* RapidJson.h in Headers */,
+ 82607FF02AEAF76A00D8B93D /* Nlohmann.h in Headers */,
82607FF12AEAF76A00D8B93D /* SdkVersion.h in Headers */,
82607FF22AEAF76A00D8B93D /* Types.h in Headers */,
82607FF32AEAF76A00D8B93D /* Trace.h in Headers */,
@@ -628,7 +628,7 @@
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../Source/PlayFabCore/Include/**",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
);
OTHER_LDFLAGS = "";
@@ -652,7 +652,7 @@
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../Source/PlayFabCore/Include/**",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
);
OTHER_LDFLAGS = "";
@@ -809,7 +809,7 @@
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../Source/PlayFabCore/Include/**",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
);
OTHER_LDFLAGS = "";
@@ -831,7 +831,7 @@
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../Source/PlayFabCore/Include/**",
- "$(SRCROOT)/../../External/rapidjson/include",
+ "$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
);
OTHER_LDFLAGS = "";
diff --git a/Build/PlayFabSharedInternal.CMake/GetPlayFabSharedInternalFiles.cmake b/Build/PlayFabSharedInternal.CMake/GetPlayFabSharedInternalFiles.cmake
index 1c5e5f3..8223393 100644
--- a/Build/PlayFabSharedInternal.CMake/GetPlayFabSharedInternalFiles.cmake
+++ b/Build/PlayFabSharedInternal.CMake/GetPlayFabSharedInternalFiles.cmake
@@ -20,7 +20,7 @@ function(GET_PLAYFAB_SHARED_INTERNAL_FILES
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/ModelBuffer.h"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/PlatformUser.h"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/PlatformUtils.h"
- "${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/RapidJson.h"
+ "${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Nlohmann.h"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Result.h"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/ResultMacros.h"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/RunContext.h"
diff --git a/Build/PlayFabSharedInternal.GDK.143/PlayFabSharedInternal.GDK.143.vcxproj b/Build/PlayFabSharedInternal.GDK.143/PlayFabSharedInternal.GDK.143.vcxproj
index bf68a9e..a8f29e5 100644
--- a/Build/PlayFabSharedInternal.GDK.143/PlayFabSharedInternal.GDK.143.vcxproj
+++ b/Build/PlayFabSharedInternal.GDK.143/PlayFabSharedInternal.GDK.143.vcxproj
@@ -11,5 +11,15 @@
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /Zi %(AdditionalOptions)
+
+
\ No newline at end of file
diff --git a/Build/PlayFabSharedInternal.Linux/CMakeLists.txt b/Build/PlayFabSharedInternal.Linux/CMakeLists.txt
index c842051..a0bf484 100644
--- a/Build/PlayFabSharedInternal.Linux/CMakeLists.txt
+++ b/Build/PlayFabSharedInternal.Linux/CMakeLists.txt
@@ -47,8 +47,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
- "${PATH_TO_ROOT}/External/rapidjson/include/rapidjson"
- "${PATH_TO_ROOT}/External/rapidjson/include"
+ "${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)
diff --git a/Build/PlayFabSharedInternal.Linux/PlayFabSharedInternal_Linux.bash b/Build/PlayFabSharedInternal.Linux/PlayFabSharedInternal_Linux.bash
index c4d0252..610f3db 100644
--- a/Build/PlayFabSharedInternal.Linux/PlayFabSharedInternal_Linux.bash
+++ b/Build/PlayFabSharedInternal.Linux/PlayFabSharedInternal_Linux.bash
@@ -44,4 +44,4 @@ log "LHC_PATH = ${LHC_PATH}"
# make PlayFabSharedInternal
sudo cmake -S "$SCRIPT_DIR" -B "$SCRIPT_DIR"/../../Int/CMake/PlayFabSharedInternal.Linux -D CMAKE_BUILD_TYPE=$CONFIGURATION -D LHC_PATH=$LHC_PATH
-sudo make -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabSharedInternal.Linux
+sudo make VERBOSE=1 -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabSharedInternal.Linux
diff --git a/Build/PlayFabSharedInternal.Win32.143/PlayFabSharedInternal.Win32.143.vcxproj b/Build/PlayFabSharedInternal.Win32.143/PlayFabSharedInternal.Win32.143.vcxproj
index 7652d7d..c9080e0 100644
--- a/Build/PlayFabSharedInternal.Win32.143/PlayFabSharedInternal.Win32.143.vcxproj
+++ b/Build/PlayFabSharedInternal.Win32.143/PlayFabSharedInternal.Win32.143.vcxproj
@@ -6,7 +6,47 @@
v143
-
+
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /Zi %(AdditionalOptions)
+
+
+
+
+ /Zi %(AdditionalOptions)
+
+
\ No newline at end of file
diff --git a/Build/PlayFabSharedInternal.import.props b/Build/PlayFabSharedInternal.import.props
index c364add..0782703 100644
--- a/Build/PlayFabSharedInternal.import.props
+++ b/Build/PlayFabSharedInternal.import.props
@@ -34,15 +34,15 @@
-
-
- $(PlayFabExternalDir)\rapidjson\
- $(RapidJsonSdkRoot)include\
+
+
+ $(PlayFabExternalDir)\nlohmann\
+ $(NLohmannSdkRoot)include
- %(AdditionalIncludeDirectories);$(RapidJsonSdkInclude)
+ %(AdditionalIncludeDirectories);$(NLohmannSdkInclude)
diff --git a/Build/PlayFabSharedInternal/PlayFabSharedInternal.vcxitems b/Build/PlayFabSharedInternal/PlayFabSharedInternal.vcxitems
index 48e9efa..7a31714 100644
--- a/Build/PlayFabSharedInternal/PlayFabSharedInternal.vcxitems
+++ b/Build/PlayFabSharedInternal/PlayFabSharedInternal.vcxitems
@@ -7,7 +7,7 @@
- %(AdditionalIncludeDirectories);$(PlayFabSourceDir)\PlayFabCore\Include;$(PlayFabSourceDir)\PlayFabCore\Include\Generated;$(PlayFabSourceDir)\PlayFabSharedInternal\Include;$(PlayFabSourceDir)\PlayFabSharedInternal\Include\Generated;$(PlayFabSourceDir)\PlayFabSharedInternal\Source;$(RapidJsonIncludeDir)
+ %(AdditionalIncludeDirectories);$(PlayFabSourceDir)\PlayFabCore\Include;$(PlayFabSourceDir)\PlayFabCore\Include\Generated;$(PlayFabSourceDir)\PlayFabSharedInternal\Include;$(PlayFabSourceDir)\PlayFabSharedInternal\Include\Generated;$(PlayFabSourceDir)\PlayFabSharedInternal\Source;$(NLohmannIncludeDir)
@@ -26,7 +26,7 @@
-
+
@@ -53,7 +53,4 @@
-
-
-
\ No newline at end of file
diff --git a/Build/PlayFabSharedInternal/PlayFabSharedInternal.vcxitems.filters b/Build/PlayFabSharedInternal/PlayFabSharedInternal.vcxitems.filters
index f35efc8..50f244a 100644
--- a/Build/PlayFabSharedInternal/PlayFabSharedInternal.vcxitems.filters
+++ b/Build/PlayFabSharedInternal/PlayFabSharedInternal.vcxitems.filters
@@ -51,7 +51,7 @@
Include
-
+
Include
@@ -120,7 +120,4 @@
Source
-
-
-
\ No newline at end of file
diff --git a/Build/libHttpClient.import.props b/Build/libHttpClient.import.props
index 4579cda..0ebe795 100644
--- a/Build/libHttpClient.import.props
+++ b/Build/libHttpClient.import.props
@@ -12,7 +12,7 @@
- MSBuild /nologo /v:m /t:"$(HCPlatform)\$([System.String]::Copy('$(HCProjectName)').Replace('.','_'))" /p:Configuration="$(Configuration)" /p:Platform="$(Platform)" "$(HCRoot)\libHttpClient.vs2022.sln"
+ MSBuild /nologo /v:m /t:"$(HCPlatform)\$([System.String]::Copy('$(HCProjectName)').Replace('.','_'))" /p:Configuration="$(Configuration)" /p:Platform="$(Platform)" /p:VCToolsVersion="$(VCToolsVersion)" "$(HCRoot)\libHttpClient.vs2022.sln"
diff --git a/External/libHttpClient b/External/libHttpClient
index dd64f4c..1344f2e 160000
--- a/External/libHttpClient
+++ b/External/libHttpClient
@@ -1 +1 @@
-Subproject commit dd64f4c94cc35777c4042eef582d367865059485
+Subproject commit 1344f2e9a86ad6ced95e1f8c63c1c2e146a1dc81
diff --git a/External/nlohmann b/External/nlohmann
new file mode 160000
index 0000000..b36f4c4
--- /dev/null
+++ b/External/nlohmann
@@ -0,0 +1 @@
+Subproject commit b36f4c477c40356a0ae1204b567cca3c2a57d201
diff --git a/External/rapidjson b/External/rapidjson
deleted file mode 160000
index 973dc9c..0000000
--- a/External/rapidjson
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 973dc9c06dcd3d035ebd039cfb9ea457721ec213
diff --git a/External/rapidjson.natvis b/External/rapidjson.natvis
deleted file mode 100644
index a525ea5..0000000
--- a/External/rapidjson.natvis
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
- null
- true
- false
- {(const Ch*)data_.ss.str,na}
- {(const Ch*)((size_t)data_.s.str & 0x0000FFFFFFFFFFFF),na}
- {data_.n.i.i}
- {data_.n.u.u}
- {data_.n.i64}
- {data_.n.u64}
- {data_.n.d}
- Object members={data_.o.size}
- Array members={data_.a.size}
-
- - data_.o.size
- - data_.o.capacity
-
- data_.o.size
-
- (rapidjson::GenericMember<$T1,$T2>*)(((size_t)data_.o.members) & 0x0000FFFFFFFFFFFF)
-
-
- - data_.a.size
- - data_.a.capacity
-
- data_.a.size
-
- (rapidjson::GenericValue<$T1,$T2>*)(((size_t)data_.a.elements) & 0x0000FFFFFFFFFFFF)
-
-
-
-
-
-
diff --git a/Source/PlayFabCore/Include/Generated/playfab/core/PFAuthentication.h b/Source/PlayFabCore/Include/Generated/playfab/core/PFAuthentication.h
index 0b0c3dc..b851b38 100644
--- a/Source/PlayFabCore/Include/Generated/playfab/core/PFAuthentication.h
+++ b/Source/PlayFabCore/Include/Generated/playfab/core/PFAuthentication.h
@@ -592,7 +592,7 @@ PF_API PFAuthenticationReLoginWithFacebookInstantGamesIdAsync(
/// this case, no email or username will be associated with the PlayFab account. Otherwise, if no PlayFab
/// account is linked to the Game Center account, an error indicating this will be returned, so that the
/// title can guide the user through creation of a PlayFab account. If an invalid iOS Game Center player
-/// identifier is used, an error indicating this will be returned.
+/// identifier is used, an error indicating this will be returned. See also ClientLoginWithIOSDeviceIDAsync.
///
/// When the asynchronous task is complete, call
/// to get the result.
@@ -1243,6 +1243,8 @@ PF_API PFAuthenticationReLoginWithNintendoSwitchDeviceIdAsync(
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientLinkOpenIdConnectAsync, ClientUnlinkOpenIdConnectAsync.
+///
/// When the asynchronous task is complete, call
/// to get the result.
///
@@ -1421,7 +1423,8 @@ PF_API PFAuthenticationReLoginWithPlayFabAsync(
/// is set to true, a new PlayFab account will be created and linked to the PlayStation :tm: Network account.
/// In this case, no email or username will be associated with the PlayFab account. Otherwise, if no PlayFab
/// account is linked to the PlayStation :tm: Network account, an error indicating this will be returned,
-/// so that the title can guide the user through creation of a PlayFab account.
+/// so that the title can guide the user through creation of a PlayFab account. See also ClientLinkPSNAccountAsync,
+/// ClientUnlinkPSNAccountAsync.
///
/// When the asynchronous task is complete, call
/// to get the result.
@@ -1439,10 +1442,10 @@ PF_API PFAuthenticationLoginWithPSNAsync(
/// The buffer size in bytes required for the result.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_ENCRYPTION_KEY_MISSING,
-/// E_PF_EVALUATION_MODE_PLAYER_COUNT_EXCEEDED, E_PF_INVALID_PSN_AUTH_CODE, E_PF_INVALID_PSN_ISSUER_ID,
-/// E_PF_PLAYER_SECRET_ALREADY_CONFIGURED, E_PF_PLAYER_SECRET_NOT_CONFIGURED, E_PF_PSN_INACCESSIBLE, E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED
-/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
-/// on error handling.
+/// E_PF_EVALUATION_MODE_PLAYER_COUNT_EXCEEDED, E_PF_FEATURE_NOT_CONFIGURED_FOR_TITLE, E_PF_INVALID_PSN_AUTH_CODE,
+/// E_PF_INVALID_PSN_ISSUER_ID, E_PF_PLAYER_SECRET_ALREADY_CONFIGURED, E_PF_PLAYER_SECRET_NOT_CONFIGURED,
+/// E_PF_PSN_INACCESSIBLE, E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED or any of the global PlayFab
+/// Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFAuthenticationLoginWithPSNGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -1461,10 +1464,10 @@ PF_API PFAuthenticationLoginWithPSNGetResultSize(
/// The number of bytes in the provided buffer that were used.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_ENCRYPTION_KEY_MISSING,
-/// E_PF_EVALUATION_MODE_PLAYER_COUNT_EXCEEDED, E_PF_INVALID_PSN_AUTH_CODE, E_PF_INVALID_PSN_ISSUER_ID,
-/// E_PF_PLAYER_SECRET_ALREADY_CONFIGURED, E_PF_PLAYER_SECRET_NOT_CONFIGURED, E_PF_PSN_INACCESSIBLE, E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED
-/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
-/// on error handling.
+/// E_PF_EVALUATION_MODE_PLAYER_COUNT_EXCEEDED, E_PF_FEATURE_NOT_CONFIGURED_FOR_TITLE, E_PF_INVALID_PSN_AUTH_CODE,
+/// E_PF_INVALID_PSN_ISSUER_ID, E_PF_PLAYER_SECRET_ALREADY_CONFIGURED, E_PF_PLAYER_SECRET_NOT_CONFIGURED,
+/// E_PF_PSN_INACCESSIBLE, E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED or any of the global PlayFab
+/// Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
///
/// If the PFAuthenticationLoginWithPSNAsync call fails, entityHandle with be null. Otherwise, the handle must be closed with PFEntityCloseHandle
@@ -1703,7 +1706,7 @@ PF_API PFAuthenticationReLoginWithTwitchAsync(
/// to true, a new PlayFab account will be created and linked to the Xbox Live account. In this case,
/// no email or username will be associated with the PlayFab account. Otherwise, if no PlayFab account
/// is linked to the Xbox Live account, an error indicating this will be returned, so that the title can
-/// guide the user through creation of a PlayFab account.
+/// guide the user through creation of a PlayFab account. See also ClientLinkXboxAccountAsync, ClientUnlinkXboxAccountAsync.
///
/// When the asynchronous task is complete, call
/// to get the result.
@@ -2115,9 +2118,9 @@ PF_API PFAuthenticationServerLoginWithSteamIdAsync(
/// The buffer size in bytes required for the result.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_EVALUATION_MODE_PLAYER_COUNT_EXCEEDED,
-/// E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED, E_PF_STEAM_NOT_ENABLED_FOR_TITLE, E_PF_STEAM_USER_NOT_FOUND
-/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
-/// on error handling.
+/// E_PF_INVALID_SIGNATURE, E_PF_INVALID_SIGNATURE_TIME, E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED,
+/// E_PF_STEAM_NOT_ENABLED_FOR_TITLE, E_PF_STEAM_USER_NOT_FOUND or any of the global PlayFab Service errors.
+/// See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFAuthenticationServerLoginWithSteamIdGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -2136,9 +2139,9 @@ PF_API PFAuthenticationServerLoginWithSteamIdGetResultSize(
/// The number of bytes in the provided buffer that were used.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_EVALUATION_MODE_PLAYER_COUNT_EXCEEDED,
-/// E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED, E_PF_STEAM_NOT_ENABLED_FOR_TITLE, E_PF_STEAM_USER_NOT_FOUND
-/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
-/// on error handling.
+/// E_PF_INVALID_SIGNATURE, E_PF_INVALID_SIGNATURE_TIME, E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED,
+/// E_PF_STEAM_NOT_ENABLED_FOR_TITLE, E_PF_STEAM_USER_NOT_FOUND or any of the global PlayFab Service errors.
+/// See doc page "Handling PlayFab Errors" for more details on error handling.
///
///
/// If the PFAuthenticationServerLoginWithSteamIdAsync call fails, entityHandle with be null. Otherwise, the handle must be closed with PFEntityCloseHandle
diff --git a/Source/PlayFabCore/Include/Generated/playfab/core/PFErrors.h b/Source/PlayFabCore/Include/Generated/playfab/core/PFErrors.h
index dd9c4df..5460730 100644
--- a/Source/PlayFabCore/Include/Generated/playfab/core/PFErrors.h
+++ b/Source/PlayFabCore/Include/Generated/playfab/core/PFErrors.h
@@ -606,6 +606,10 @@ extern "C"
#define E_PF_MAX_QUERYABLE_VERSIONS_VALUE_NOT_ALLOWED_FOR_TIER MAKE_E_HC(0x578cL) // 0x8923578c
#define E_PF_STATISTIC_DEFINITION_HAS_NULL_OR_EMPTY_VERSION_CONFIGURATION MAKE_E_HC(0x5784L) // 0x89235784
#define E_PF_STATISTIC_COLUMN_LENGTH_MISMATCH MAKE_E_HC(0x5785L) // 0x89235785
+#define E_PF_INVALID_EXTERNAL_ENTITY_ID MAKE_E_HC(0x5791L) // 0x89235791
+#define E_PF_UPDATING_STATISTICS_USING_TRANSACTION_ID_NOT_AVAILABLE_FOR_FREE_TIER MAKE_E_HC(0x5792L) // 0x89235792
+#define E_PF_TRANSACTION_ALREADY_APPLIED MAKE_E_HC(0x5793L) // 0x89235793
+#define E_PF_REPORT_DATA_NOT_RETRIEVED_SUCCESSFULLY MAKE_E_HC(0x5794L) // 0x89235794
#define E_PF_MATCHMAKING_ENTITY_INVALID MAKE_E_HC(0x5646L) // 0x89235646
#define E_PF_MATCHMAKING_PLAYER_ATTRIBUTES_INVALID MAKE_E_HC(0x5647L) // 0x89235647
#define E_PF_MATCHMAKING_QUEUE_NOT_FOUND MAKE_E_HC(0x5648L) // 0x89235648
@@ -872,6 +876,8 @@ extern "C"
#define E_PF_TRUE_SKILL_INVALID_PLAYER_ID MAKE_E_HC(0x577cL) // 0x8923577c
#define E_PF_TRUE_SKILL_INVALID_SQUAD_SIZE MAKE_E_HC(0x577dL) // 0x8923577d
#define E_PF_TRUE_SKILL_CONDITION_SET_NOT_IN_MODEL MAKE_E_HC(0x577eL) // 0x8923577e
+#define E_PF_TRUE_SKILL_MODEL_STATE_INVALID_FOR_OPERATION MAKE_E_HC(0x578dL) // 0x8923578d
+#define E_PF_TRUE_SKILL_SCENARIO_CONTAINS_ACTIVE_MODEL MAKE_E_HC(0x578eL) // 0x8923578e
#define E_PF_GAME_SAVE_MANIFEST_NOT_FOUND MAKE_E_HC(0x577fL) // 0x8923577f
#define E_PF_GAME_SAVE_MANIFEST_VERSION_ALREADY_EXISTS MAKE_E_HC(0x5780L) // 0x89235780
#define E_PF_GAME_SAVE_CONFLICT_UPDATING_MANIFEST MAKE_E_HC(0x5781L) // 0x89235781
@@ -881,6 +887,10 @@ extern "C"
#define E_PF_GAME_SAVE_UNKNOWN_FILE_IN_MANIFEST MAKE_E_HC(0x5789L) // 0x89235789
#define E_PF_GAME_SAVE_FILE_EXCEEDED_REPORTED_SIZE MAKE_E_HC(0x578aL) // 0x8923578a
#define E_PF_GAME_SAVE_FILE_NOT_UPLOADED MAKE_E_HC(0x578bL) // 0x8923578b
+#define E_PF_GAME_SAVE_BAD_REQUEST MAKE_E_HC(0x578fL) // 0x8923578f
+#define E_PF_GAME_SAVE_OPERATION_NOT_ALLOWED MAKE_E_HC(0x5790L) // 0x89235790
+#define E_PF_GAME_SAVE_DATA_STORAGE_QUOTA_EXCEEDED MAKE_E_HC(0x5795L) // 0x89235795
+#define E_PF_GAME_SAVE_NEWER_MANIFEST_EXISTS MAKE_E_HC(0x5796L) // 0x89235796
#define E_PF_STATE_SHARE_FORBIDDEN MAKE_E_HC(0x5769L) // 0x89235769
#define E_PF_STATE_SHARE_TITLE_NOT_IN_FLIGHT MAKE_E_HC(0x576aL) // 0x8923576a
#define E_PF_STATE_SHARE_STATE_NOT_FOUND MAKE_E_HC(0x5723L) // 0x89235723
diff --git a/Source/PlayFabCore/Include/GeneratedGdk/playfab/core/PFAuthentication.h b/Source/PlayFabCore/Include/GeneratedGdk/playfab/core/PFAuthentication.h
index 538e9b5..6683431 100644
--- a/Source/PlayFabCore/Include/GeneratedGdk/playfab/core/PFAuthentication.h
+++ b/Source/PlayFabCore/Include/GeneratedGdk/playfab/core/PFAuthentication.h
@@ -116,6 +116,8 @@ PF_API PFAuthenticationReLoginWithCustomIDAsync(
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientLinkOpenIdConnectAsync, ClientUnlinkOpenIdConnectAsync.
+///
/// When the asynchronous task is complete, call
/// to get the result.
///
diff --git a/Source/PlayFabCore/Include/GeneratedGdk/playfab/core/PFErrors.h b/Source/PlayFabCore/Include/GeneratedGdk/playfab/core/PFErrors.h
index dd9c4df..5460730 100644
--- a/Source/PlayFabCore/Include/GeneratedGdk/playfab/core/PFErrors.h
+++ b/Source/PlayFabCore/Include/GeneratedGdk/playfab/core/PFErrors.h
@@ -606,6 +606,10 @@ extern "C"
#define E_PF_MAX_QUERYABLE_VERSIONS_VALUE_NOT_ALLOWED_FOR_TIER MAKE_E_HC(0x578cL) // 0x8923578c
#define E_PF_STATISTIC_DEFINITION_HAS_NULL_OR_EMPTY_VERSION_CONFIGURATION MAKE_E_HC(0x5784L) // 0x89235784
#define E_PF_STATISTIC_COLUMN_LENGTH_MISMATCH MAKE_E_HC(0x5785L) // 0x89235785
+#define E_PF_INVALID_EXTERNAL_ENTITY_ID MAKE_E_HC(0x5791L) // 0x89235791
+#define E_PF_UPDATING_STATISTICS_USING_TRANSACTION_ID_NOT_AVAILABLE_FOR_FREE_TIER MAKE_E_HC(0x5792L) // 0x89235792
+#define E_PF_TRANSACTION_ALREADY_APPLIED MAKE_E_HC(0x5793L) // 0x89235793
+#define E_PF_REPORT_DATA_NOT_RETRIEVED_SUCCESSFULLY MAKE_E_HC(0x5794L) // 0x89235794
#define E_PF_MATCHMAKING_ENTITY_INVALID MAKE_E_HC(0x5646L) // 0x89235646
#define E_PF_MATCHMAKING_PLAYER_ATTRIBUTES_INVALID MAKE_E_HC(0x5647L) // 0x89235647
#define E_PF_MATCHMAKING_QUEUE_NOT_FOUND MAKE_E_HC(0x5648L) // 0x89235648
@@ -872,6 +876,8 @@ extern "C"
#define E_PF_TRUE_SKILL_INVALID_PLAYER_ID MAKE_E_HC(0x577cL) // 0x8923577c
#define E_PF_TRUE_SKILL_INVALID_SQUAD_SIZE MAKE_E_HC(0x577dL) // 0x8923577d
#define E_PF_TRUE_SKILL_CONDITION_SET_NOT_IN_MODEL MAKE_E_HC(0x577eL) // 0x8923577e
+#define E_PF_TRUE_SKILL_MODEL_STATE_INVALID_FOR_OPERATION MAKE_E_HC(0x578dL) // 0x8923578d
+#define E_PF_TRUE_SKILL_SCENARIO_CONTAINS_ACTIVE_MODEL MAKE_E_HC(0x578eL) // 0x8923578e
#define E_PF_GAME_SAVE_MANIFEST_NOT_FOUND MAKE_E_HC(0x577fL) // 0x8923577f
#define E_PF_GAME_SAVE_MANIFEST_VERSION_ALREADY_EXISTS MAKE_E_HC(0x5780L) // 0x89235780
#define E_PF_GAME_SAVE_CONFLICT_UPDATING_MANIFEST MAKE_E_HC(0x5781L) // 0x89235781
@@ -881,6 +887,10 @@ extern "C"
#define E_PF_GAME_SAVE_UNKNOWN_FILE_IN_MANIFEST MAKE_E_HC(0x5789L) // 0x89235789
#define E_PF_GAME_SAVE_FILE_EXCEEDED_REPORTED_SIZE MAKE_E_HC(0x578aL) // 0x8923578a
#define E_PF_GAME_SAVE_FILE_NOT_UPLOADED MAKE_E_HC(0x578bL) // 0x8923578b
+#define E_PF_GAME_SAVE_BAD_REQUEST MAKE_E_HC(0x578fL) // 0x8923578f
+#define E_PF_GAME_SAVE_OPERATION_NOT_ALLOWED MAKE_E_HC(0x5790L) // 0x89235790
+#define E_PF_GAME_SAVE_DATA_STORAGE_QUOTA_EXCEEDED MAKE_E_HC(0x5795L) // 0x89235795
+#define E_PF_GAME_SAVE_NEWER_MANIFEST_EXISTS MAKE_E_HC(0x5796L) // 0x89235796
#define E_PF_STATE_SHARE_FORBIDDEN MAKE_E_HC(0x5769L) // 0x89235769
#define E_PF_STATE_SHARE_TITLE_NOT_IN_FLIGHT MAKE_E_HC(0x576aL) // 0x8923576a
#define E_PF_STATE_SHARE_STATE_NOT_FOUND MAKE_E_HC(0x5723L) // 0x89235723
diff --git a/Source/PlayFabCore/Include/playfab/core/PFPlatform.h b/Source/PlayFabCore/Include/playfab/core/PFPlatform.h
index e5240e6..3dfd13c 100644
--- a/Source/PlayFabCore/Include/playfab/core/PFPlatform.h
+++ b/Source/PlayFabCore/Include/playfab/core/PFPlatform.h
@@ -35,7 +35,9 @@ extern "C"
/// A pointer to an allocated block of memory of the specified size, or a null
/// pointer if allocation failed.
/// The size of the allocation to be made. This value will never be zero.
-typedef _Ret_maybenull_ _Post_writable_byte_size_(size) void* STDAPIVCALLTYPE PFMemAllocFunction(_In_ size_t size);
+/// An opaque identifier representing the internal category of
+/// memory being allocated. This value should be ignored.
+typedef _Ret_maybenull_ _Post_writable_byte_size_(size) void* STDAPIVCALLTYPE PFMemAllocFunction(_In_ size_t size, _In_ uint32_t memoryTypeId);
///
/// A callback invoked every time a previously allocated memory buffer is no longer needed by
@@ -47,7 +49,9 @@ typedef _Ret_maybenull_ _Post_writable_byte_size_(size) void* STDAPIVCALLTYPE PF
///
/// The pointer to the memory buffer previously allocated. This value will
/// never be a null pointer.
-typedef void STDAPIVCALLTYPE PFMemFreeFunction(_In_ _Post_invalid_ void* pointer);
+/// An opaque identifier representing the internal category of
+/// memory being allocated. This value should be ignored.
+typedef void STDAPIVCALLTYPE PFMemFreeFunction(_In_ _Post_invalid_ void* pointer, _In_ uint32_t memoryTypeId);
///
/// Struct encapsulating memory hooks.
@@ -97,6 +101,15 @@ PF_API PFMemGetFunctions(
_Out_ PFMemoryHooks* hooks
) noexcept;
+///
+/// Determines if custom memory functions are being used.
+///
+/// Indicates if custom memory functions are in use.
+/// HRESULT return code for this API operation.
+PF_API PFMemIsUsingCustomMemoryFunctions(
+ _Out_ bool* isUsingCustomMemoryFunctions
+) noexcept;
+
//-----------------------------------------------------------------------------
// Storage. Required on some platforms, see online documentation for more details.
//-----------------------------------------------------------------------------
diff --git a/Source/PlayFabCore/Source/Api/PFPlatform.cpp b/Source/PlayFabCore/Source/Api/PFPlatform.cpp
index 6bcafb9..7e69834 100644
--- a/Source/PlayFabCore/Source/Api/PFPlatform.cpp
+++ b/Source/PlayFabCore/Source/Api/PFPlatform.cpp
@@ -45,6 +45,15 @@ PF_API PFMemGetFunctions(
return S_OK;
}
+PF_API PFMemIsUsingCustomMemoryFunctions(
+ _Out_ bool* isUsingCustomMemoryFunctions
+) noexcept
+{
+ RETURN_HR_INVALIDARG_IF_NULL(isUsingCustomMemoryFunctions);
+
+ *isUsingCustomMemoryFunctions = PlayFab::IsUsingCustomMemoryHooks();
+ return S_OK;
+}
PF_API PFPlatformLocalStorageSetHandlers(
_In_ PFLocalStorageHooks* hooks
diff --git a/Source/PlayFabCore/Source/EventPipeline/EventPipeline.cpp b/Source/PlayFabCore/Source/EventPipeline/EventPipeline.cpp
index af4d314..fad524f 100644
--- a/Source/PlayFabCore/Source/EventPipeline/EventPipeline.cpp
+++ b/Source/PlayFabCore/Source/EventPipeline/EventPipeline.cpp
@@ -48,9 +48,9 @@ WriteEventsResponse::WriteEventsResponse(ServiceResponse&& serviceResponse) :
{
PlayFab::Vector failedEventIndexes{};
- for (rapidjson::Value::ConstMemberIterator iter = ServiceResponse::ErrorDetails.MemberBegin(); iter != ServiceResponse::ErrorDetails.MemberEnd(); ++iter)
+ for (auto iter = ServiceResponse::ErrorDetails.begin(); iter != ServiceResponse::ErrorDetails.end(); ++iter)
{
- char* errorDetail = const_cast(iter->name.GetString());
+ char* errorDetail = const_cast(iter.key().c_str());
const char* prefix = "Events[";
if (strncmp(prefix, errorDetail, strlen(prefix)) == 0)
diff --git a/Source/PlayFabCore/Source/Generated/AuthenticationTypes.cpp b/Source/PlayFabCore/Source/Generated/AuthenticationTypes.cpp
index 943a1b2..379ec2f 100644
--- a/Source/PlayFabCore/Source/Generated/AuthenticationTypes.cpp
+++ b/Source/PlayFabCore/Source/Generated/AuthenticationTypes.cpp
@@ -14,7 +14,7 @@ JsonValue LoginWithAndroidDeviceIDRequest::ToJson() const
JsonValue LoginWithAndroidDeviceIDRequest::ToJson(const PFAuthenticationLoginWithAndroidDeviceIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AndroidDevice", input.androidDevice);
JsonUtils::ObjectAddMember(output, "AndroidDeviceId", input.androidDeviceId);
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
@@ -135,27 +135,27 @@ HRESULT LoginResult::Copy(const PFAuthenticationLoginResult& input, PFAuthentica
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.infoResultPayload);
+ auto propCopyResult = buffer.CopyTo(input.infoResultPayload);
RETURN_IF_FAILED(propCopyResult.hr);
output.infoResultPayload = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.lastLoginTime);
+ auto propCopyResult = buffer.CopyTo(input.lastLoginTime);
RETURN_IF_FAILED(propCopyResult.hr);
output.lastLoginTime = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.settingsForUser);
+ auto propCopyResult = buffer.CopyTo(input.settingsForUser);
RETURN_IF_FAILED(propCopyResult.hr);
output.settingsForUser = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.treatmentAssignment);
+ auto propCopyResult = buffer.CopyTo(input.treatmentAssignment);
RETURN_IF_FAILED(propCopyResult.hr);
output.treatmentAssignment = propCopyResult.ExtractPayload();
}
@@ -169,7 +169,7 @@ JsonValue LoginWithAppleRequest::ToJson() const
JsonValue LoginWithAppleRequest::ToJson(const PFAuthenticationLoginWithAppleRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "IdentityToken", input.identityToken);
@@ -185,7 +185,7 @@ JsonValue LoginWithCustomIDRequest::ToJson() const
JsonValue LoginWithCustomIDRequest::ToJson(const PFAuthenticationLoginWithCustomIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMember(output, "CustomId", input.customId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
@@ -201,7 +201,7 @@ JsonValue LoginWithEmailAddressRequest::ToJson() const
JsonValue LoginWithEmailAddressRequest::ToJson(const PFAuthenticationLoginWithEmailAddressRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Email", input.email);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -216,7 +216,7 @@ JsonValue LoginWithFacebookRequest::ToJson() const
JsonValue LoginWithFacebookRequest::ToJson(const PFAuthenticationLoginWithFacebookRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AccessToken", input.accessToken);
JsonUtils::ObjectAddMember(output, "AuthenticationToken", input.authenticationToken);
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
@@ -233,7 +233,7 @@ JsonValue LoginWithFacebookInstantGamesIdRequest::ToJson() const
JsonValue LoginWithFacebookInstantGamesIdRequest::ToJson(const PFAuthenticationLoginWithFacebookInstantGamesIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "FacebookInstantGamesSignature", input.facebookInstantGamesSignature);
@@ -249,7 +249,7 @@ JsonValue LoginWithGameCenterRequest::ToJson() const
JsonValue LoginWithGameCenterRequest::ToJson(const PFAuthenticationLoginWithGameCenterRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -269,7 +269,7 @@ JsonValue LoginWithGoogleAccountRequest::ToJson() const
JsonValue LoginWithGoogleAccountRequest::ToJson(const PFAuthenticationLoginWithGoogleAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -286,7 +286,7 @@ JsonValue LoginWithGooglePlayGamesServicesRequest::ToJson() const
JsonValue LoginWithGooglePlayGamesServicesRequest::ToJson(const PFAuthenticationLoginWithGooglePlayGamesServicesRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -302,7 +302,7 @@ JsonValue LoginWithIOSDeviceIDRequest::ToJson() const
JsonValue LoginWithIOSDeviceIDRequest::ToJson(const PFAuthenticationLoginWithIOSDeviceIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "DeviceId", input.deviceId);
@@ -320,7 +320,7 @@ JsonValue LoginWithKongregateRequest::ToJson() const
JsonValue LoginWithKongregateRequest::ToJson(const PFAuthenticationLoginWithKongregateRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AuthTicket", input.authTicket);
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
@@ -337,7 +337,7 @@ JsonValue LoginWithNintendoServiceAccountRequest::ToJson() const
JsonValue LoginWithNintendoServiceAccountRequest::ToJson(const PFAuthenticationLoginWithNintendoServiceAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "IdentityToken", input.identityToken);
@@ -353,7 +353,7 @@ JsonValue LoginWithNintendoSwitchDeviceIdRequest::ToJson() const
JsonValue LoginWithNintendoSwitchDeviceIdRequest::ToJson(const PFAuthenticationLoginWithNintendoSwitchDeviceIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -369,7 +369,7 @@ JsonValue LoginWithOpenIdConnectRequest::ToJson() const
JsonValue LoginWithOpenIdConnectRequest::ToJson(const PFAuthenticationLoginWithOpenIdConnectRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "ConnectionId", input.connectionId);
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
@@ -386,7 +386,7 @@ JsonValue LoginWithPlayFabRequest::ToJson() const
JsonValue LoginWithPlayFabRequest::ToJson(const PFAuthenticationLoginWithPlayFabRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
JsonUtils::ObjectAddMember(output, "Password", input.password);
@@ -401,7 +401,7 @@ JsonValue LoginWithPSNRequest::ToJson() const
JsonValue LoginWithPSNRequest::ToJson(const PFAuthenticationLoginWithPSNRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AuthCode", input.authCode);
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
@@ -419,7 +419,7 @@ JsonValue LoginWithSteamRequest::ToJson() const
JsonValue LoginWithSteamRequest::ToJson(const PFAuthenticationLoginWithSteamRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -436,7 +436,7 @@ JsonValue LoginWithTwitchRequest::ToJson() const
JsonValue LoginWithTwitchRequest::ToJson(const PFAuthenticationLoginWithTwitchRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AccessToken", input.accessToken);
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
@@ -452,7 +452,7 @@ JsonValue LoginWithXboxRequest::ToJson() const
JsonValue LoginWithXboxRequest::ToJson(const PFAuthenticationLoginWithXboxRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -469,7 +469,7 @@ JsonValue LoginWithXUserRequest::ToJson() const
JsonValue LoginWithXUserRequest::ToJson(const PFAuthenticationLoginWithXUserRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -485,7 +485,7 @@ JsonValue RegisterPlayFabUserRequest::ToJson() const
JsonValue RegisterPlayFabUserRequest::ToJson(const PFAuthenticationRegisterPlayFabUserRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "DisplayName", input.displayName);
JsonUtils::ObjectAddMember(output, "Email", input.email);
@@ -551,17 +551,17 @@ HRESULT RegisterPlayFabUserResult::Copy(const PFAuthenticationRegisterPlayFabUse
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.settingsForUser);
+ auto propCopyResult = buffer.CopyTo(input.settingsForUser);
RETURN_IF_FAILED(propCopyResult.hr);
output.settingsForUser = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.username);
+ auto propCopyResult = buffer.CopyTo(input.username);
RETURN_IF_FAILED(propCopyResult.hr);
output.username = propCopyResult.ExtractPayload();
}
@@ -575,7 +575,7 @@ JsonValue ServerLoginWithPSNRequest::ToJson() const
JsonValue ServerLoginWithPSNRequest::ToJson(const PFAuthenticationServerLoginWithPSNRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AuthCode", input.authCode);
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
@@ -592,7 +592,7 @@ JsonValue LoginWithServerCustomIdRequest::ToJson() const
JsonValue LoginWithServerCustomIdRequest::ToJson(const PFAuthenticationLoginWithServerCustomIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -608,7 +608,7 @@ JsonValue LoginWithSteamIdRequest::ToJson() const
JsonValue LoginWithSteamIdRequest::ToJson(const PFAuthenticationLoginWithSteamIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -623,7 +623,7 @@ JsonValue ServerLoginWithXboxRequest::ToJson() const
JsonValue ServerLoginWithXboxRequest::ToJson(const PFAuthenticationServerLoginWithXboxRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -638,7 +638,7 @@ JsonValue LoginWithXboxIdRequest::ToJson() const
JsonValue LoginWithXboxIdRequest::ToJson(const PFAuthenticationLoginWithXboxIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CreateAccount", input.createAccount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
@@ -655,7 +655,7 @@ JsonValue AuthenticateCustomIdRequest::ToJson() const
JsonValue AuthenticateCustomIdRequest::ToJson(const PFAuthenticationAuthenticateCustomIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CustomId", input.customId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
@@ -714,17 +714,17 @@ HRESULT EntityTokenResponse::Copy(const PFAuthenticationEntityTokenResponse& inp
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.entity);
+ auto propCopyResult = buffer.CopyTo(input.entity);
RETURN_IF_FAILED(propCopyResult.hr);
output.entity = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.entityToken);
+ auto propCopyResult = buffer.CopyTo(input.entityToken);
RETURN_IF_FAILED(propCopyResult.hr);
output.entityToken = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.tokenExpiration);
+ auto propCopyResult = buffer.CopyTo(input.tokenExpiration);
RETURN_IF_FAILED(propCopyResult.hr);
output.tokenExpiration = propCopyResult.ExtractPayload();
}
@@ -770,7 +770,7 @@ HRESULT AuthenticateCustomIdResult::Copy(const PFAuthenticationAuthenticateCusto
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.entityToken);
+ auto propCopyResult = buffer.CopyTo(input.entityToken);
RETURN_IF_FAILED(propCopyResult.hr);
output.entityToken = propCopyResult.ExtractPayload();
}
@@ -785,7 +785,7 @@ JsonValue DeleteRequest::ToJson() const
JsonValue DeleteRequest::ToJson(const PFAuthenticationDeleteRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Entity", input.entity);
return output;
@@ -798,7 +798,7 @@ JsonValue GetEntityRequest::ToJson() const
JsonValue GetEntityRequest::ToJson(const PFAuthenticationGetEntityRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Entity", input.entity);
return output;
@@ -819,7 +819,7 @@ JsonValue ValidateEntityTokenRequest::ToJson() const
JsonValue ValidateEntityTokenRequest::ToJson(const PFAuthenticationValidateEntityTokenRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "EntityToken", input.entityToken);
return output;
@@ -896,27 +896,27 @@ HRESULT ValidateEntityTokenResponse::Copy(const PFAuthenticationValidateEntityTo
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.entity);
+ auto propCopyResult = buffer.CopyTo(input.entity);
RETURN_IF_FAILED(propCopyResult.hr);
output.entity = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.identifiedDeviceType);
+ auto propCopyResult = buffer.CopyTo(input.identifiedDeviceType);
RETURN_IF_FAILED(propCopyResult.hr);
output.identifiedDeviceType = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.identityProvider);
+ auto propCopyResult = buffer.CopyTo(input.identityProvider);
RETURN_IF_FAILED(propCopyResult.hr);
output.identityProvider = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.identityProviderIssuedId);
+ auto propCopyResult = buffer.CopyTo(input.identityProviderIssuedId);
RETURN_IF_FAILED(propCopyResult.hr);
output.identityProviderIssuedId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.lineage);
+ auto propCopyResult = buffer.CopyTo(input.lineage);
RETURN_IF_FAILED(propCopyResult.hr);
output.lineage = propCopyResult.ExtractPayload();
}
diff --git a/Source/PlayFabCore/Source/Generated/EventsTypes.cpp b/Source/PlayFabCore/Source/Generated/EventsTypes.cpp
index 91030bd..ba58abf 100644
--- a/Source/PlayFabCore/Source/Generated/EventsTypes.cpp
+++ b/Source/PlayFabCore/Source/Generated/EventsTypes.cpp
@@ -14,7 +14,7 @@ JsonValue EventContents::ToJson() const
JsonValue EventContents::ToJson(const PFEventsEventContents& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Entity", input.entity);
JsonUtils::ObjectAddMember(output, "EventNamespace", input.eventNamespace);
@@ -33,7 +33,7 @@ JsonValue WriteEventsRequest::ToJson() const
JsonValue WriteEventsRequest::ToJson(const PFEventsWriteEventsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMemberArray(output, "Events", input.events, input.eventsCount);
return output;
diff --git a/Source/PlayFabCore/Source/Generated/Types.cpp b/Source/PlayFabCore/Source/Generated/Types.cpp
index 162a69d..058d138 100644
--- a/Source/PlayFabCore/Source/Generated/Types.cpp
+++ b/Source/PlayFabCore/Source/Generated/Types.cpp
@@ -147,7 +147,7 @@ HRESULT ItemInstance::Copy(const PFItemInstance& input, PFItemInstance& output,
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.annotation);
+ auto propCopyResult = buffer.CopyTo(input.annotation);
RETURN_IF_FAILED(propCopyResult.hr);
output.annotation = propCopyResult.ExtractPayload();
}
@@ -157,12 +157,12 @@ HRESULT ItemInstance::Copy(const PFItemInstance& input, PFItemInstance& output,
output.bundleContents = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.bundleParent);
+ auto propCopyResult = buffer.CopyTo(input.bundleParent);
RETURN_IF_FAILED(propCopyResult.hr);
output.bundleParent = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.catalogVersion);
+ auto propCopyResult = buffer.CopyTo(input.catalogVersion);
RETURN_IF_FAILED(propCopyResult.hr);
output.catalogVersion = propCopyResult.ExtractPayload();
}
@@ -172,47 +172,47 @@ HRESULT ItemInstance::Copy(const PFItemInstance& input, PFItemInstance& output,
output.customData = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.displayName);
+ auto propCopyResult = buffer.CopyTo(input.displayName);
RETURN_IF_FAILED(propCopyResult.hr);
output.displayName = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.expiration);
+ auto propCopyResult = buffer.CopyTo(input.expiration);
RETURN_IF_FAILED(propCopyResult.hr);
output.expiration = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.itemClass);
+ auto propCopyResult = buffer.CopyTo(input.itemClass);
RETURN_IF_FAILED(propCopyResult.hr);
output.itemClass = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.itemId);
+ auto propCopyResult = buffer.CopyTo(input.itemId);
RETURN_IF_FAILED(propCopyResult.hr);
output.itemId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.itemInstanceId);
+ auto propCopyResult = buffer.CopyTo(input.itemInstanceId);
RETURN_IF_FAILED(propCopyResult.hr);
output.itemInstanceId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.purchaseDate);
+ auto propCopyResult = buffer.CopyTo(input.purchaseDate);
RETURN_IF_FAILED(propCopyResult.hr);
output.purchaseDate = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.remainingUses);
+ auto propCopyResult = buffer.CopyTo(input.remainingUses);
RETURN_IF_FAILED(propCopyResult.hr);
output.remainingUses = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.unitCurrency);
+ auto propCopyResult = buffer.CopyTo(input.unitCurrency);
RETURN_IF_FAILED(propCopyResult.hr);
output.unitCurrency = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.usesIncrementedBy);
+ auto propCopyResult = buffer.CopyTo(input.usesIncrementedBy);
RETURN_IF_FAILED(propCopyResult.hr);
output.usesIncrementedBy = propCopyResult.ExtractPayload();
}
@@ -252,7 +252,7 @@ HRESULT UserAndroidDeviceInfo::Copy(const PFUserAndroidDeviceInfo& input, PFUser
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.androidDeviceId);
+ auto propCopyResult = buffer.CopyTo(input.androidDeviceId);
RETURN_IF_FAILED(propCopyResult.hr);
output.androidDeviceId = propCopyResult.ExtractPayload();
}
@@ -292,7 +292,7 @@ HRESULT UserAppleIdInfo::Copy(const PFUserAppleIdInfo& input, PFUserAppleIdInfo&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.appleSubjectId);
+ auto propCopyResult = buffer.CopyTo(input.appleSubjectId);
RETURN_IF_FAILED(propCopyResult.hr);
output.appleSubjectId = propCopyResult.ExtractPayload();
}
@@ -332,7 +332,7 @@ HRESULT UserCustomIdInfo::Copy(const PFUserCustomIdInfo& input, PFUserCustomIdIn
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.customId);
+ auto propCopyResult = buffer.CopyTo(input.customId);
RETURN_IF_FAILED(propCopyResult.hr);
output.customId = propCopyResult.ExtractPayload();
}
@@ -380,12 +380,12 @@ HRESULT UserFacebookInfo::Copy(const PFUserFacebookInfo& input, PFUserFacebookIn
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.facebookId);
+ auto propCopyResult = buffer.CopyTo(input.facebookId);
RETURN_IF_FAILED(propCopyResult.hr);
output.facebookId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.fullName);
+ auto propCopyResult = buffer.CopyTo(input.fullName);
RETURN_IF_FAILED(propCopyResult.hr);
output.fullName = propCopyResult.ExtractPayload();
}
@@ -425,7 +425,7 @@ HRESULT UserFacebookInstantGamesIdInfo::Copy(const PFUserFacebookInstantGamesIdI
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.facebookInstantGamesId);
+ auto propCopyResult = buffer.CopyTo(input.facebookInstantGamesId);
RETURN_IF_FAILED(propCopyResult.hr);
output.facebookInstantGamesId = propCopyResult.ExtractPayload();
}
@@ -465,7 +465,7 @@ HRESULT UserGameCenterInfo::Copy(const PFUserGameCenterInfo& input, PFUserGameCe
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.gameCenterId);
+ auto propCopyResult = buffer.CopyTo(input.gameCenterId);
RETURN_IF_FAILED(propCopyResult.hr);
output.gameCenterId = propCopyResult.ExtractPayload();
}
@@ -537,27 +537,27 @@ HRESULT UserGoogleInfo::Copy(const PFUserGoogleInfo& input, PFUserGoogleInfo& ou
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.googleEmail);
+ auto propCopyResult = buffer.CopyTo(input.googleEmail);
RETURN_IF_FAILED(propCopyResult.hr);
output.googleEmail = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.googleGender);
+ auto propCopyResult = buffer.CopyTo(input.googleGender);
RETURN_IF_FAILED(propCopyResult.hr);
output.googleGender = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.googleId);
+ auto propCopyResult = buffer.CopyTo(input.googleId);
RETURN_IF_FAILED(propCopyResult.hr);
output.googleId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.googleLocale);
+ auto propCopyResult = buffer.CopyTo(input.googleLocale);
RETURN_IF_FAILED(propCopyResult.hr);
output.googleLocale = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.googleName);
+ auto propCopyResult = buffer.CopyTo(input.googleName);
RETURN_IF_FAILED(propCopyResult.hr);
output.googleName = propCopyResult.ExtractPayload();
}
@@ -613,17 +613,17 @@ HRESULT UserGooglePlayGamesInfo::Copy(const PFUserGooglePlayGamesInfo& input, PF
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.googlePlayGamesPlayerAvatarImageUrl);
+ auto propCopyResult = buffer.CopyTo(input.googlePlayGamesPlayerAvatarImageUrl);
RETURN_IF_FAILED(propCopyResult.hr);
output.googlePlayGamesPlayerAvatarImageUrl = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.googlePlayGamesPlayerDisplayName);
+ auto propCopyResult = buffer.CopyTo(input.googlePlayGamesPlayerDisplayName);
RETURN_IF_FAILED(propCopyResult.hr);
output.googlePlayGamesPlayerDisplayName = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.googlePlayGamesPlayerId);
+ auto propCopyResult = buffer.CopyTo(input.googlePlayGamesPlayerId);
RETURN_IF_FAILED(propCopyResult.hr);
output.googlePlayGamesPlayerId = propCopyResult.ExtractPayload();
}
@@ -663,7 +663,7 @@ HRESULT UserIosDeviceInfo::Copy(const PFUserIosDeviceInfo& input, PFUserIosDevic
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.iosDeviceId);
+ auto propCopyResult = buffer.CopyTo(input.iosDeviceId);
RETURN_IF_FAILED(propCopyResult.hr);
output.iosDeviceId = propCopyResult.ExtractPayload();
}
@@ -711,12 +711,12 @@ HRESULT UserKongregateInfo::Copy(const PFUserKongregateInfo& input, PFUserKongre
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.kongregateId);
+ auto propCopyResult = buffer.CopyTo(input.kongregateId);
RETURN_IF_FAILED(propCopyResult.hr);
output.kongregateId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.kongregateName);
+ auto propCopyResult = buffer.CopyTo(input.kongregateName);
RETURN_IF_FAILED(propCopyResult.hr);
output.kongregateName = propCopyResult.ExtractPayload();
}
@@ -756,7 +756,7 @@ HRESULT UserNintendoSwitchAccountIdInfo::Copy(const PFUserNintendoSwitchAccountI
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.nintendoSwitchAccountSubjectId);
+ auto propCopyResult = buffer.CopyTo(input.nintendoSwitchAccountSubjectId);
RETURN_IF_FAILED(propCopyResult.hr);
output.nintendoSwitchAccountSubjectId = propCopyResult.ExtractPayload();
}
@@ -796,7 +796,7 @@ HRESULT UserNintendoSwitchDeviceIdInfo::Copy(const PFUserNintendoSwitchDeviceIdI
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.nintendoSwitchDeviceId);
+ auto propCopyResult = buffer.CopyTo(input.nintendoSwitchDeviceId);
RETURN_IF_FAILED(propCopyResult.hr);
output.nintendoSwitchDeviceId = propCopyResult.ExtractPayload();
}
@@ -852,17 +852,17 @@ HRESULT UserOpenIdInfo::Copy(const PFUserOpenIdInfo& input, PFUserOpenIdInfo& ou
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.connectionId);
+ auto propCopyResult = buffer.CopyTo(input.connectionId);
RETURN_IF_FAILED(propCopyResult.hr);
output.connectionId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.issuer);
+ auto propCopyResult = buffer.CopyTo(input.issuer);
RETURN_IF_FAILED(propCopyResult.hr);
output.issuer = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.subject);
+ auto propCopyResult = buffer.CopyTo(input.subject);
RETURN_IF_FAILED(propCopyResult.hr);
output.subject = propCopyResult.ExtractPayload();
}
@@ -902,7 +902,7 @@ HRESULT UserPrivateAccountInfo::Copy(const PFUserPrivateAccountInfo& input, PFUs
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.email);
+ auto propCopyResult = buffer.CopyTo(input.email);
RETURN_IF_FAILED(propCopyResult.hr);
output.email = propCopyResult.ExtractPayload();
}
@@ -950,12 +950,12 @@ HRESULT UserPsnInfo::Copy(const PFUserPsnInfo& input, PFUserPsnInfo& output, Mod
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.psnAccountId);
+ auto propCopyResult = buffer.CopyTo(input.psnAccountId);
RETURN_IF_FAILED(propCopyResult.hr);
output.psnAccountId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.psnOnlineId);
+ auto propCopyResult = buffer.CopyTo(input.psnOnlineId);
RETURN_IF_FAILED(propCopyResult.hr);
output.psnOnlineId = propCopyResult.ExtractPayload();
}
@@ -995,7 +995,7 @@ HRESULT UserServerCustomIdInfo::Copy(const PFUserServerCustomIdInfo& input, PFUs
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.customId);
+ auto propCopyResult = buffer.CopyTo(input.customId);
RETURN_IF_FAILED(propCopyResult.hr);
output.customId = propCopyResult.ExtractPayload();
}
@@ -1067,27 +1067,27 @@ HRESULT UserSteamInfo::Copy(const PFUserSteamInfo& input, PFUserSteamInfo& outpu
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.steamActivationStatus);
+ auto propCopyResult = buffer.CopyTo(input.steamActivationStatus);
RETURN_IF_FAILED(propCopyResult.hr);
output.steamActivationStatus = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.steamCountry);
+ auto propCopyResult = buffer.CopyTo(input.steamCountry);
RETURN_IF_FAILED(propCopyResult.hr);
output.steamCountry = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.steamCurrency);
+ auto propCopyResult = buffer.CopyTo(input.steamCurrency);
RETURN_IF_FAILED(propCopyResult.hr);
output.steamCurrency = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.steamId);
+ auto propCopyResult = buffer.CopyTo(input.steamId);
RETURN_IF_FAILED(propCopyResult.hr);
output.steamId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.steamName);
+ auto propCopyResult = buffer.CopyTo(input.steamName);
RETURN_IF_FAILED(propCopyResult.hr);
output.steamName = propCopyResult.ExtractPayload();
}
@@ -1101,7 +1101,7 @@ JsonValue EntityKey::ToJson() const
JsonValue EntityKey::ToJson(const PFEntityKey& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Id", input.id);
JsonUtils::ObjectAddMember(output, "Type", input.type);
return output;
@@ -1148,12 +1148,12 @@ HRESULT EntityKey::Copy(const PFEntityKey& input, PFEntityKey& output, ModelBuff
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.id);
+ auto propCopyResult = buffer.CopyTo(input.id);
RETURN_IF_FAILED(propCopyResult.hr);
output.id = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.type);
+ auto propCopyResult = buffer.CopyTo(input.type);
RETURN_IF_FAILED(propCopyResult.hr);
output.type = propCopyResult.ExtractPayload();
}
@@ -1246,37 +1246,37 @@ HRESULT UserTitleInfo::Copy(const PFUserTitleInfo& input, PFUserTitleInfo& outpu
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.avatarUrl);
+ auto propCopyResult = buffer.CopyTo(input.avatarUrl);
RETURN_IF_FAILED(propCopyResult.hr);
output.avatarUrl = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.displayName);
+ auto propCopyResult = buffer.CopyTo(input.displayName);
RETURN_IF_FAILED(propCopyResult.hr);
output.displayName = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.firstLogin);
+ auto propCopyResult = buffer.CopyTo(input.firstLogin);
RETURN_IF_FAILED(propCopyResult.hr);
output.firstLogin = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.isBanned);
+ auto propCopyResult = buffer.CopyTo(input.isBanned);
RETURN_IF_FAILED(propCopyResult.hr);
output.isBanned = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.lastLogin);
+ auto propCopyResult = buffer.CopyTo(input.lastLogin);
RETURN_IF_FAILED(propCopyResult.hr);
output.lastLogin = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.origination);
+ auto propCopyResult = buffer.CopyTo(input.origination);
RETURN_IF_FAILED(propCopyResult.hr);
output.origination = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.titlePlayerAccount);
+ auto propCopyResult = buffer.CopyTo(input.titlePlayerAccount);
RETURN_IF_FAILED(propCopyResult.hr);
output.titlePlayerAccount = propCopyResult.ExtractPayload();
}
@@ -1324,12 +1324,12 @@ HRESULT UserTwitchInfo::Copy(const PFUserTwitchInfo& input, PFUserTwitchInfo& ou
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.twitchId);
+ auto propCopyResult = buffer.CopyTo(input.twitchId);
RETURN_IF_FAILED(propCopyResult.hr);
output.twitchId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.twitchUserName);
+ auto propCopyResult = buffer.CopyTo(input.twitchUserName);
RETURN_IF_FAILED(propCopyResult.hr);
output.twitchUserName = propCopyResult.ExtractPayload();
}
@@ -1377,12 +1377,12 @@ HRESULT UserXboxInfo::Copy(const PFUserXboxInfo& input, PFUserXboxInfo& output,
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.xboxUserId);
+ auto propCopyResult = buffer.CopyTo(input.xboxUserId);
RETURN_IF_FAILED(propCopyResult.hr);
output.xboxUserId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.xboxUserSandbox);
+ auto propCopyResult = buffer.CopyTo(input.xboxUserSandbox);
RETURN_IF_FAILED(propCopyResult.hr);
output.xboxUserSandbox = propCopyResult.ExtractPayload();
}
@@ -1650,62 +1650,62 @@ HRESULT UserAccountInfo::Copy(const PFUserAccountInfo& input, PFUserAccountInfo&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.androidDeviceInfo);
+ auto propCopyResult = buffer.CopyTo(input.androidDeviceInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.androidDeviceInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.appleAccountInfo);
+ auto propCopyResult = buffer.CopyTo(input.appleAccountInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.appleAccountInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.customIdInfo);
+ auto propCopyResult = buffer.CopyTo(input.customIdInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.customIdInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.facebookInfo);
+ auto propCopyResult = buffer.CopyTo(input.facebookInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.facebookInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.facebookInstantGamesIdInfo);
+ auto propCopyResult = buffer.CopyTo(input.facebookInstantGamesIdInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.facebookInstantGamesIdInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.gameCenterInfo);
+ auto propCopyResult = buffer.CopyTo(input.gameCenterInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.gameCenterInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.googleInfo);
+ auto propCopyResult = buffer.CopyTo(input.googleInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.googleInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.googlePlayGamesInfo);
+ auto propCopyResult = buffer.CopyTo(input.googlePlayGamesInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.googlePlayGamesInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.iosDeviceInfo);
+ auto propCopyResult = buffer.CopyTo(input.iosDeviceInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.iosDeviceInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.kongregateInfo);
+ auto propCopyResult = buffer.CopyTo(input.kongregateInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.kongregateInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.nintendoSwitchAccountInfo);
+ auto propCopyResult = buffer.CopyTo(input.nintendoSwitchAccountInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.nintendoSwitchAccountInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.nintendoSwitchDeviceIdInfo);
+ auto propCopyResult = buffer.CopyTo(input.nintendoSwitchDeviceIdInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.nintendoSwitchDeviceIdInfo = propCopyResult.ExtractPayload();
}
@@ -1715,47 +1715,47 @@ HRESULT UserAccountInfo::Copy(const PFUserAccountInfo& input, PFUserAccountInfo&
output.openIdInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.privateInfo);
+ auto propCopyResult = buffer.CopyTo(input.privateInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.privateInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.psnInfo);
+ auto propCopyResult = buffer.CopyTo(input.psnInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.psnInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.serverCustomIdInfo);
+ auto propCopyResult = buffer.CopyTo(input.serverCustomIdInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.serverCustomIdInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.steamInfo);
+ auto propCopyResult = buffer.CopyTo(input.steamInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.steamInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.titleInfo);
+ auto propCopyResult = buffer.CopyTo(input.titleInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.titleInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.twitchInfo);
+ auto propCopyResult = buffer.CopyTo(input.twitchInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.twitchInfo = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.username);
+ auto propCopyResult = buffer.CopyTo(input.username);
RETURN_IF_FAILED(propCopyResult.hr);
output.username = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.xboxInfo);
+ auto propCopyResult = buffer.CopyTo(input.xboxInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.xboxInfo = propCopyResult.ExtractPayload();
}
@@ -1811,17 +1811,17 @@ HRESULT CharacterResult::Copy(const PFCharacterResult& input, PFCharacterResult&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.characterId);
+ auto propCopyResult = buffer.CopyTo(input.characterId);
RETURN_IF_FAILED(propCopyResult.hr);
output.characterId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.characterName);
+ auto propCopyResult = buffer.CopyTo(input.characterName);
RETURN_IF_FAILED(propCopyResult.hr);
output.characterName = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.characterType);
+ auto propCopyResult = buffer.CopyTo(input.characterType);
RETURN_IF_FAILED(propCopyResult.hr);
output.characterType = propCopyResult.ExtractPayload();
}
@@ -1871,12 +1871,12 @@ HRESULT UserDataRecord::Copy(const PFUserDataRecord& input, PFUserDataRecord& ou
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.permission);
+ auto propCopyResult = buffer.CopyTo(input.permission);
RETURN_IF_FAILED(propCopyResult.hr);
output.permission = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.value);
+ auto propCopyResult = buffer.CopyTo(input.value);
RETURN_IF_FAILED(propCopyResult.hr);
output.value = propCopyResult.ExtractPayload();
}
@@ -1924,7 +1924,7 @@ JsonValue PlayerProfileViewConstraints::ToJson() const
JsonValue PlayerProfileViewConstraints::ToJson(const PFPlayerProfileViewConstraints& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "ShowAvatarUrl", input.showAvatarUrl);
JsonUtils::ObjectAddMember(output, "ShowBannedUntil", input.showBannedUntil);
JsonUtils::ObjectAddMember(output, "ShowCampaignAttributions", input.showCampaignAttributions);
@@ -1952,7 +1952,7 @@ JsonValue AdCampaignAttributionModel::ToJson() const
JsonValue AdCampaignAttributionModel::ToJson(const PFAdCampaignAttributionModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberTime(output, "AttributedAt", input.attributedAt);
JsonUtils::ObjectAddMember(output, "CampaignId", input.campaignId);
JsonUtils::ObjectAddMember(output, "Platform", input.platform);
@@ -2002,12 +2002,12 @@ HRESULT AdCampaignAttributionModel::Copy(const PFAdCampaignAttributionModel& inp
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.campaignId);
+ auto propCopyResult = buffer.CopyTo(input.campaignId);
RETURN_IF_FAILED(propCopyResult.hr);
output.campaignId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.platform);
+ auto propCopyResult = buffer.CopyTo(input.platform);
RETURN_IF_FAILED(propCopyResult.hr);
output.platform = propCopyResult.ExtractPayload();
}
@@ -2021,7 +2021,7 @@ JsonValue ContactEmailInfoModel::ToJson() const
JsonValue ContactEmailInfoModel::ToJson(const PFContactEmailInfoModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "EmailAddress", input.emailAddress);
JsonUtils::ObjectAddMember(output, "Name", input.name);
JsonUtils::ObjectAddMember(output, "VerificationStatus", input.verificationStatus);
@@ -2077,17 +2077,17 @@ HRESULT ContactEmailInfoModel::Copy(const PFContactEmailInfoModel& input, PFCont
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.emailAddress);
+ auto propCopyResult = buffer.CopyTo(input.emailAddress);
RETURN_IF_FAILED(propCopyResult.hr);
output.emailAddress = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.name);
+ auto propCopyResult = buffer.CopyTo(input.name);
RETURN_IF_FAILED(propCopyResult.hr);
output.name = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.verificationStatus);
+ auto propCopyResult = buffer.CopyTo(input.verificationStatus);
RETURN_IF_FAILED(propCopyResult.hr);
output.verificationStatus = propCopyResult.ExtractPayload();
}
@@ -2101,7 +2101,7 @@ JsonValue LinkedPlatformAccountModel::ToJson() const
JsonValue LinkedPlatformAccountModel::ToJson(const PFLinkedPlatformAccountModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Email", input.email);
JsonUtils::ObjectAddMember(output, "Platform", input.platform);
JsonUtils::ObjectAddMember(output, "PlatformUserId", input.platformUserId);
@@ -2166,22 +2166,22 @@ HRESULT LinkedPlatformAccountModel::Copy(const PFLinkedPlatformAccountModel& inp
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.email);
+ auto propCopyResult = buffer.CopyTo(input.email);
RETURN_IF_FAILED(propCopyResult.hr);
output.email = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.platform);
+ auto propCopyResult = buffer.CopyTo(input.platform);
RETURN_IF_FAILED(propCopyResult.hr);
output.platform = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.platformUserId);
+ auto propCopyResult = buffer.CopyTo(input.platformUserId);
RETURN_IF_FAILED(propCopyResult.hr);
output.platformUserId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.username);
+ auto propCopyResult = buffer.CopyTo(input.username);
RETURN_IF_FAILED(propCopyResult.hr);
output.username = propCopyResult.ExtractPayload();
}
@@ -2195,7 +2195,7 @@ JsonValue LocationModel::ToJson() const
JsonValue LocationModel::ToJson(const PFLocationModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "City", input.city);
JsonUtils::ObjectAddMember(output, "ContinentCode", input.continentCode);
JsonUtils::ObjectAddMember(output, "CountryCode", input.countryCode);
@@ -2269,27 +2269,27 @@ HRESULT LocationModel::Copy(const PFLocationModel& input, PFLocationModel& outpu
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.city);
+ auto propCopyResult = buffer.CopyTo(input.city);
RETURN_IF_FAILED(propCopyResult.hr);
output.city = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.continentCode);
+ auto propCopyResult = buffer.CopyTo(input.continentCode);
RETURN_IF_FAILED(propCopyResult.hr);
output.continentCode = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.countryCode);
+ auto propCopyResult = buffer.CopyTo(input.countryCode);
RETURN_IF_FAILED(propCopyResult.hr);
output.countryCode = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.latitude);
+ auto propCopyResult = buffer.CopyTo(input.latitude);
RETURN_IF_FAILED(propCopyResult.hr);
output.latitude = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.longitude);
+ auto propCopyResult = buffer.CopyTo(input.longitude);
RETURN_IF_FAILED(propCopyResult.hr);
output.longitude = propCopyResult.ExtractPayload();
}
@@ -2303,7 +2303,7 @@ JsonValue SubscriptionModel::ToJson() const
JsonValue SubscriptionModel::ToJson(const PFSubscriptionModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberTime(output, "Expiration", input.expiration);
JsonUtils::ObjectAddMemberTime(output, "InitialSubscriptionTime", input.initialSubscriptionTime);
JsonUtils::ObjectAddMember(output, "IsActive", input.isActive);
@@ -2377,22 +2377,22 @@ HRESULT SubscriptionModel::Copy(const PFSubscriptionModel& input, PFSubscription
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.status);
+ auto propCopyResult = buffer.CopyTo(input.status);
RETURN_IF_FAILED(propCopyResult.hr);
output.status = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.subscriptionId);
+ auto propCopyResult = buffer.CopyTo(input.subscriptionId);
RETURN_IF_FAILED(propCopyResult.hr);
output.subscriptionId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.subscriptionItemId);
+ auto propCopyResult = buffer.CopyTo(input.subscriptionItemId);
RETURN_IF_FAILED(propCopyResult.hr);
output.subscriptionItemId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.subscriptionProvider);
+ auto propCopyResult = buffer.CopyTo(input.subscriptionProvider);
RETURN_IF_FAILED(propCopyResult.hr);
output.subscriptionProvider = propCopyResult.ExtractPayload();
}
@@ -2406,7 +2406,7 @@ JsonValue MembershipModel::ToJson() const
JsonValue MembershipModel::ToJson(const PFMembershipModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "IsActive", input.isActive);
JsonUtils::ObjectAddMemberTime(output, "MembershipExpiration", input.membershipExpiration);
JsonUtils::ObjectAddMember(output, "MembershipId", input.membershipId);
@@ -2469,12 +2469,12 @@ HRESULT MembershipModel::Copy(const PFMembershipModel& input, PFMembershipModel&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.membershipId);
+ auto propCopyResult = buffer.CopyTo(input.membershipId);
RETURN_IF_FAILED(propCopyResult.hr);
output.membershipId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.overrideExpiration);
+ auto propCopyResult = buffer.CopyTo(input.overrideExpiration);
RETURN_IF_FAILED(propCopyResult.hr);
output.overrideExpiration = propCopyResult.ExtractPayload();
}
@@ -2493,7 +2493,7 @@ JsonValue PushNotificationRegistrationModel::ToJson() const
JsonValue PushNotificationRegistrationModel::ToJson(const PFPushNotificationRegistrationModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "NotificationEndpointARN", input.notificationEndpointARN);
JsonUtils::ObjectAddMember(output, "Platform", input.platform);
return output;
@@ -2540,12 +2540,12 @@ HRESULT PushNotificationRegistrationModel::Copy(const PFPushNotificationRegistra
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.notificationEndpointARN);
+ auto propCopyResult = buffer.CopyTo(input.notificationEndpointARN);
RETURN_IF_FAILED(propCopyResult.hr);
output.notificationEndpointARN = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.platform);
+ auto propCopyResult = buffer.CopyTo(input.platform);
RETURN_IF_FAILED(propCopyResult.hr);
output.platform = propCopyResult.ExtractPayload();
}
@@ -2559,7 +2559,7 @@ JsonValue StatisticModel::ToJson() const
JsonValue StatisticModel::ToJson(const PFStatisticModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Name", input.name);
JsonUtils::ObjectAddMember(output, "Value", input.value);
JsonUtils::ObjectAddMember(output, "Version", input.version);
@@ -2603,7 +2603,7 @@ HRESULT StatisticModel::Copy(const PFStatisticModel& input, PFStatisticModel& ou
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.name);
+ auto propCopyResult = buffer.CopyTo(input.name);
RETURN_IF_FAILED(propCopyResult.hr);
output.name = propCopyResult.ExtractPayload();
}
@@ -2617,7 +2617,7 @@ JsonValue TagModel::ToJson() const
JsonValue TagModel::ToJson(const PFTagModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "TagValue", input.tagValue);
return output;
}
@@ -2655,7 +2655,7 @@ HRESULT TagModel::Copy(const PFTagModel& input, PFTagModel& output, ModelBuffer&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.tagValue);
+ auto propCopyResult = buffer.CopyTo(input.tagValue);
RETURN_IF_FAILED(propCopyResult.hr);
output.tagValue = propCopyResult.ExtractPayload();
}
@@ -2669,7 +2669,7 @@ JsonValue ValueToDateModel::ToJson() const
JsonValue ValueToDateModel::ToJson(const PFValueToDateModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Currency", input.currency);
JsonUtils::ObjectAddMember(output, "TotalValue", input.totalValue);
JsonUtils::ObjectAddMember(output, "TotalValueAsDecimal", input.totalValueAsDecimal);
@@ -2719,12 +2719,12 @@ HRESULT ValueToDateModel::Copy(const PFValueToDateModel& input, PFValueToDateMod
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.currency);
+ auto propCopyResult = buffer.CopyTo(input.currency);
RETURN_IF_FAILED(propCopyResult.hr);
output.currency = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.totalValueAsDecimal);
+ auto propCopyResult = buffer.CopyTo(input.totalValueAsDecimal);
RETURN_IF_FAILED(propCopyResult.hr);
output.totalValueAsDecimal = propCopyResult.ExtractPayload();
}
@@ -2738,7 +2738,7 @@ JsonValue PlayerProfileModel::ToJson() const
JsonValue PlayerProfileModel::ToJson(const PFPlayerProfileModel& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "AdCampaignAttributions", input.adCampaignAttributions, input.adCampaignAttributionsCount);
JsonUtils::ObjectAddMember(output, "AvatarUrl", input.avatarUrl);
JsonUtils::ObjectAddMemberTime(output, "BannedUntil", input.bannedUntil);
@@ -2962,12 +2962,12 @@ HRESULT PlayerProfileModel::Copy(const PFPlayerProfileModel& input, PFPlayerProf
output.adCampaignAttributions = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.avatarUrl);
+ auto propCopyResult = buffer.CopyTo(input.avatarUrl);
RETURN_IF_FAILED(propCopyResult.hr);
output.avatarUrl = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.bannedUntil);
+ auto propCopyResult = buffer.CopyTo(input.bannedUntil);
RETURN_IF_FAILED(propCopyResult.hr);
output.bannedUntil = propCopyResult.ExtractPayload();
}
@@ -2977,12 +2977,12 @@ HRESULT PlayerProfileModel::Copy(const PFPlayerProfileModel& input, PFPlayerProf
output.contactEmailAddresses = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.created);
+ auto propCopyResult = buffer.CopyTo(input.created);
RETURN_IF_FAILED(propCopyResult.hr);
output.created = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.displayName);
+ auto propCopyResult = buffer.CopyTo(input.displayName);
RETURN_IF_FAILED(propCopyResult.hr);
output.displayName = propCopyResult.ExtractPayload();
}
@@ -2992,7 +2992,7 @@ HRESULT PlayerProfileModel::Copy(const PFPlayerProfileModel& input, PFPlayerProf
output.experimentVariants = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.lastLogin);
+ auto propCopyResult = buffer.CopyTo(input.lastLogin);
RETURN_IF_FAILED(propCopyResult.hr);
output.lastLogin = propCopyResult.ExtractPayload();
}
@@ -3012,17 +3012,17 @@ HRESULT PlayerProfileModel::Copy(const PFPlayerProfileModel& input, PFPlayerProf
output.memberships = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.origination);
+ auto propCopyResult = buffer.CopyTo(input.origination);
RETURN_IF_FAILED(propCopyResult.hr);
output.origination = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playerId);
+ auto propCopyResult = buffer.CopyTo(input.playerId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playerId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.publisherId);
+ auto propCopyResult = buffer.CopyTo(input.publisherId);
RETURN_IF_FAILED(propCopyResult.hr);
output.publisherId = propCopyResult.ExtractPayload();
}
@@ -3042,12 +3042,12 @@ HRESULT PlayerProfileModel::Copy(const PFPlayerProfileModel& input, PFPlayerProf
output.tags = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.titleId);
+ auto propCopyResult = buffer.CopyTo(input.titleId);
RETURN_IF_FAILED(propCopyResult.hr);
output.titleId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.totalValueToDateInUSD);
+ auto propCopyResult = buffer.CopyTo(input.totalValueToDateInUSD);
RETURN_IF_FAILED(propCopyResult.hr);
output.totalValueToDateInUSD = propCopyResult.ExtractPayload();
}
@@ -3066,7 +3066,7 @@ JsonValue GetPlayerCombinedInfoRequestParams::ToJson() const
JsonValue GetPlayerCombinedInfoRequestParams::ToJson(const PFGetPlayerCombinedInfoRequestParams& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "GetCharacterInventories", input.getCharacterInventories);
JsonUtils::ObjectAddMember(output, "GetCharacterList", input.getCharacterList);
JsonUtils::ObjectAddMember(output, "GetPlayerProfile", input.getPlayerProfile);
@@ -3127,7 +3127,7 @@ HRESULT CharacterInventory::Copy(const PFCharacterInventory& input, PFCharacterI
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.characterId);
+ auto propCopyResult = buffer.CopyTo(input.characterId);
RETURN_IF_FAILED(propCopyResult.hr);
output.characterId = propCopyResult.ExtractPayload();
}
@@ -3176,7 +3176,7 @@ HRESULT StatisticValue::Copy(const PFStatisticValue& input, PFStatisticValue& ou
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.statisticName);
+ auto propCopyResult = buffer.CopyTo(input.statisticName);
RETURN_IF_FAILED(propCopyResult.hr);
output.statisticName = propCopyResult.ExtractPayload();
}
@@ -3319,7 +3319,7 @@ HRESULT GetPlayerCombinedInfoResultPayload::Copy(const PFGetPlayerCombinedInfoRe
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.accountInfo);
+ auto propCopyResult = buffer.CopyTo(input.accountInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.accountInfo = propCopyResult.ExtractPayload();
}
@@ -3334,7 +3334,7 @@ HRESULT GetPlayerCombinedInfoResultPayload::Copy(const PFGetPlayerCombinedInfoRe
output.characterList = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playerProfile);
+ auto propCopyResult = buffer.CopyTo(input.playerProfile);
RETURN_IF_FAILED(propCopyResult.hr);
output.playerProfile = propCopyResult.ExtractPayload();
}
@@ -3383,7 +3383,7 @@ JsonValue Variable::ToJson() const
JsonValue Variable::ToJson(const PFVariable& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Name", input.name);
JsonUtils::ObjectAddMember(output, "Value", input.value);
return output;
@@ -3430,12 +3430,12 @@ HRESULT Variable::Copy(const PFVariable& input, PFVariable& output, ModelBuffer&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.name);
+ auto propCopyResult = buffer.CopyTo(input.name);
RETURN_IF_FAILED(propCopyResult.hr);
output.name = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.value);
+ auto propCopyResult = buffer.CopyTo(input.value);
RETURN_IF_FAILED(propCopyResult.hr);
output.value = propCopyResult.ExtractPayload();
}
@@ -3570,32 +3570,32 @@ HRESULT EntityLineage::Copy(const PFEntityLineage& input, PFEntityLineage& outpu
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.characterId);
+ auto propCopyResult = buffer.CopyTo(input.characterId);
RETURN_IF_FAILED(propCopyResult.hr);
output.characterId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.groupId);
+ auto propCopyResult = buffer.CopyTo(input.groupId);
RETURN_IF_FAILED(propCopyResult.hr);
output.groupId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.masterPlayerAccountId);
+ auto propCopyResult = buffer.CopyTo(input.masterPlayerAccountId);
RETURN_IF_FAILED(propCopyResult.hr);
output.masterPlayerAccountId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.namespaceId);
+ auto propCopyResult = buffer.CopyTo(input.namespaceId);
RETURN_IF_FAILED(propCopyResult.hr);
output.namespaceId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.titleId);
+ auto propCopyResult = buffer.CopyTo(input.titleId);
RETURN_IF_FAILED(propCopyResult.hr);
output.titleId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.titlePlayerAccountId);
+ auto propCopyResult = buffer.CopyTo(input.titlePlayerAccountId);
RETURN_IF_FAILED(propCopyResult.hr);
output.titlePlayerAccountId = propCopyResult.ExtractPayload();
}
diff --git a/Source/PlayFabCore/Source/HttpClient/PFHCTrace.cpp b/Source/PlayFabCore/Source/HttpClient/PFHCTrace.cpp
deleted file mode 100644
index fe9b9b3..0000000
--- a/Source/PlayFabCore/Source/HttpClient/PFHCTrace.cpp
+++ /dev/null
@@ -1,78 +0,0 @@
-#include "stdafx.h"
-#include
-#include
-#include
-#include "PFCoreGlobalState.h"
-#include "Trace/TraceState.h"
-
-using namespace PlayFab;
-
-PF_API PFHCSettingsSetTraceLevel(
- _In_ PFHCTraceLevel traceLevel
-) noexcept
-{
- PFHC_TRACE_SET_VERBOSITY(PlayFab, traceLevel);
- return HCSettingsSetTraceLevel(static_cast(traceLevel));
-}
-
-PF_API PFHCSettingsGetTraceLevel(
- _Out_ PFHCTraceLevel* traceLevel
-) noexcept
-{
- HCTraceLevel hcTraceLevel;
- HRESULT hr = HCSettingsGetTraceLevel(&hcTraceLevel);
- *traceLevel = static_cast(hcTraceLevel);
- return hr;
-}
-
-PF_API_(void) PFHCTraceSetClientCallback(_In_opt_ PFHCTraceCallback* callback) noexcept
-{
- auto& settings = GetTraceSettings();
- settings.traceCallback = (HCTraceCallback*)callback;
-}
-
-PF_API_(void) PFHCTraceSetTraceToDebugger(_In_ bool traceToDebugger) noexcept
-{
- // This impl differs between LHC to so it routes the debug trace to PFCore's trace's formatting.
- // This can be called before or after PFInit. If its called after then TraceState::EnableTraceToDebugger
- // will setup the internal debug output. Tracing to debugger cannot be disabled after PFInit.
- auto& settings = GetTraceSettings();
- settings.traceToDebugger = traceToDebugger;
-}
-
-// Platform Hooks
-
-PF_API PFHCTraceSetPlatformCallbacks(
- _In_ PFHCTracePlatformThisThreadIdCallback* threadIdCallback,
- _In_opt_ void* threadIdContext,
- _In_ PFHCTracePlatformWriteMessageToDebuggerCallback* writeToDebuggerCallback,
- _In_opt_ void* writeToDebuggerContext
-) noexcept
-{
- return HCTraceSetPlatformCallbacks(
- threadIdCallback,
- threadIdContext,
- (HCTracePlatformWriteMessageToDebuggerCallback*)writeToDebuggerCallback,
- writeToDebuggerContext
- );
-}
-
-// Implementation
-
-PF_API_(void) PFHCTraceImplMessage(
- struct PFHCTraceImplArea const* area,
- PFHCTraceLevel level,
- _Printf_format_string_ char const* format,
- ...
-) noexcept
-{
- va_list varArgs{};
- va_start(varArgs, format);
- HCTraceImplMessage_v((HCTraceImplArea*)area, (HCTraceLevel)level, format, varArgs);
- va_end(varArgs);
-}
-
-PF_API_(uint64_t) PFHCTraceImplScopeId() noexcept
-{
- return HCTraceImplScopeId();
-}
\ No newline at end of file
diff --git a/Source/PlayFabCore/Source/HttpClient/PFHttpClient.cpp b/Source/PlayFabCore/Source/HttpClient/PFHttpClient.cpp
deleted file mode 100644
index 352cf66..0000000
--- a/Source/PlayFabCore/Source/HttpClient/PFHttpClient.cpp
+++ /dev/null
@@ -1,660 +0,0 @@
-#include "stdafx.h"
-#include
-#include
-
-PF_API PFHCMemSetFunctions(
- _In_opt_ PFHCMemAllocFunction memAllocFunc,
- _In_opt_ PFHCMemFreeFunction memFreeFunc
-) noexcept
-{
- return HCMemSetFunctions(
- memAllocFunc,
- memFreeFunc
- );
-}
-
-PF_API PFHCMemGetFunctions(
- _Out_ PFHCMemAllocFunction* memAllocFunc,
- _Out_ PFHCMemFreeFunction* memFreeFunc
-) noexcept
-{
- return HCMemGetFunctions(
- memAllocFunc,
- memFreeFunc
- );
-}
-
-//Global APIs
-
-PF_API PFHCInitialize(
- _In_opt_ PFHCInitArgs* args
-) noexcept
-{
- UNREFERENCED_PARAMETER(args);
- PFHCIsInitialized(); // empty functions don't export with non-mangled names, so make a trivial function call
- return S_OK; // ignore this call
-}
-
-PF_API_(bool) PFHCIsInitialized() noexcept
-{
- return HCIsInitialized();
-}
-
-PF_API PFHCCleanupAsync(
- _In_ XAsyncBlock* async
-) noexcept
-{
- UNREFERENCED_PARAMETER(async);
- PFHCIsInitialized(); // empty functions don't export with non-mangled names, so make a trivial function call
- return S_OK; // ignore this call
-}
-
-PF_API PFHCGetLibVersion(_Outptr_ const char** version) noexcept
-{
- return HCGetLibVersion(version);
-}
-
-PF_API_(int32_t) PFHCAddCallRoutedHandler(
- _In_ PFHCCallRoutedHandler handler,
- _In_opt_ void* context
-) noexcept
-{
- return HCAddCallRoutedHandler(
- handler,
- context
- );
-}
-
-PF_API_(void) PFHCRemoveCallRoutedHandler(
- _In_ int32_t handlerId
-) noexcept
-{
- HCRemoveCallRoutedHandler(handlerId);
-}
-
-PF_API PFHCSetGlobalProxy(_In_ const char* proxyUri) noexcept
-{
- return HCSetGlobalProxy(proxyUri);
-}
-
-//Http APIs
-
-PF_API PFHCHttpCallCreate(
- _Out_ PFHCCallHandle* call
-) noexcept
-{
- return HCHttpCallCreate(call);
-}
-
-PF_API PFHCHttpCallPerformAsync(
- _In_ PFHCCallHandle call,
- _Inout_ XAsyncBlock* asyncBlock
-) noexcept
-{
- return HCHttpCallPerformAsync(
- call,
- asyncBlock
- );
-}
-
-PF_API_(PFHCCallHandle) PFHCHttpCallDuplicateHandle(
- _In_ PFHCCallHandle call
-) noexcept
-{
- return HCHttpCallDuplicateHandle(call);
-}
-
-PF_API PFHCHttpCallCloseHandle(
- _In_ PFHCCallHandle call
-) noexcept
-{
- return HCHttpCallCloseHandle(call);
-}
-
-PF_API_(uint64_t) PFHCHttpCallGetId(
- _In_ PFHCCallHandle call
-) noexcept
-{
- return HCHttpCallGetId(call);
-}
-
-PF_API PFHCHttpCallSetTracing(
- _In_ PFHCCallHandle call,
- _In_ bool traceCall
-) noexcept
-{
- return HCHttpCallSetTracing(
- call,
- traceCall
- );
-}
-
-PF_API PFHCHttpCallGetRequestUrl(
- _In_ PFHCCallHandle call,
- _Out_ const char** url
-) noexcept
-{
- return HCHttpCallGetRequestUrl(
- call,
- url
- );
-}
-
-//HttpCallRequest Set APIs
-
-PF_API PFHCHttpCallRequestSetUrl(
- _In_ PFHCCallHandle call,
- _In_z_ const char* method,
- _In_z_ const char* url
-) noexcept
-{
- return HCHttpCallRequestSetUrl(
- call,
- method,
- url
- );
-}
-
-PF_API PFHCHttpCallRequestSetRequestBodyBytes(
- _In_ PFHCCallHandle call,
- _In_reads_bytes_(requestBodySize) const uint8_t* requestBodyBytes,
- _In_ uint32_t requestBodySize
-) noexcept
-{
- return HCHttpCallRequestSetRequestBodyBytes(
- call,
- requestBodyBytes,
- requestBodySize
- );
-}
-
-PF_API PFHCHttpCallRequestSetRequestBodyString(
- _In_ PFHCCallHandle call,
- _In_z_ const char* requestBodyString
-) noexcept
-{
- return HCHttpCallRequestSetRequestBodyString(
- call,
- requestBodyString
- );
-}
-
-PF_API PFHCHttpCallRequestSetRequestBodyReadFunction(
- _In_ PFHCCallHandle call,
- _In_ PFHCHttpCallRequestBodyReadFunction readFunction,
- _In_ size_t bodySize,
- _In_opt_ void* context
-) noexcept
-{
- return HCHttpCallRequestSetRequestBodyReadFunction(
- call,
- readFunction,
- bodySize,
- context
- );
-}
-
-PF_API PFHCHttpCallRequestSetHeader(
- _In_ PFHCCallHandle call,
- _In_z_ const char* headerName,
- _In_z_ const char* headerValue,
- _In_ bool allowTracing
-) noexcept
-{
- return HCHttpCallRequestSetHeader(
- call,
- headerName,
- headerValue,
- allowTracing
- );
-}
-
-PF_API PFHCHttpCallRequestSetRetryAllowed(
- _In_opt_ PFHCCallHandle call,
- _In_ bool retryAllowed
-) noexcept
-{
- return HCHttpCallRequestSetRetryAllowed(
- call,
- retryAllowed
- );
-}
-
-PF_API PFHCHttpCallRequestSetRetryCacheId(
- _In_opt_ PFHCCallHandle call,
- _In_ uint32_t retryAfterCacheId
-) noexcept
-{
- return HCHttpCallRequestSetRetryCacheId(
- call,
- retryAfterCacheId
- );
-}
-
-PF_API PFHCHttpCallRequestSetTimeout(
- _In_opt_ PFHCCallHandle call,
- _In_ uint32_t timeoutInSeconds
-) noexcept
-{
- return HCHttpCallRequestSetTimeout(
- call,
- timeoutInSeconds
- );
-}
-
-PF_API PFHCHttpCallRequestSetRetryDelay(
- _In_opt_ PFHCCallHandle call,
- _In_ uint32_t retryDelayInSeconds
-) noexcept
-{
- return HCHttpCallRequestSetRetryDelay(
- call,
- retryDelayInSeconds
- );
-}
-
-PF_API PFHCHttpCallRequestSetTimeoutWindow(
- _In_opt_ PFHCCallHandle call,
- _In_ uint32_t timeoutWindowInSeconds
-) noexcept
-{
- return HCHttpCallRequestSetTimeoutWindow(
- call,
- timeoutWindowInSeconds
- );
-}
-
-#if HC_PLATFORM_IS_MICROSOFT && (HC_PLATFORM != HC_PLATFORM_UWP) && (HC_PLATFORM != HC_PLATFORM_XDK)
-PF_API PFHCHttpCallRequestSetSSLValidation(
- _In_ PFHCCallHandle call,
- _In_ bool sslValidation
-) noexcept
-{
- return HCHttpCallRequestSetSSLValidation(call, sslValidation);
-}
-#endif
-
-#if HC_PLATFORM == HC_PLATFORM_GDK
-PF_API PFHCHttpDisableAssertsForSSLValidationInDevSandboxes(
- _In_ PFHCConfigSetting setting
-) noexcept
-{
- return HCHttpDisableAssertsForSSLValidationInDevSandboxes((HCConfigSetting)setting);
-}
-#endif
-
-//HttpCallResponse Set APIs
-
-PF_API PFHCHttpCallResponseSetResponseBodyWriteFunction(
- _In_ PFHCCallHandle call,
- _In_ PFHCHttpCallResponseBodyWriteFunction writeFunction,
- _In_opt_ void* context
-) noexcept
-{
- return HCHttpCallResponseSetResponseBodyWriteFunction(
- call,
- writeFunction,
- context
- );
-}
-
-//HttpCallResponse Get APIs
-
-PF_API PFHCHttpCallResponseGetResponseString(
- _In_ PFHCCallHandle call,
- _Out_ const char** responseString
-) noexcept
-{
- return HCHttpCallResponseGetResponseString(
- call,
- responseString
- );
-}
-
-PF_API PFHCHttpCallResponseGetResponseBodyBytesSize(
- _In_ PFHCCallHandle call,
- _Out_ size_t* bufferSize
-) noexcept
-{
- return HCHttpCallResponseGetResponseBodyBytesSize(
- call,
- bufferSize
- );
-}
-
-PF_API PFHCHttpCallResponseGetResponseBodyBytes(
- _In_ PFHCCallHandle call,
- _In_ size_t bufferSize,
- _Out_writes_bytes_to_opt_(bufferSize, *bufferUsed) uint8_t* buffer,
- _Out_opt_ size_t* bufferUsed
-) noexcept
-{
- return HCHttpCallResponseGetResponseBodyBytes(
- call,
- bufferSize,
- buffer,
- bufferUsed
- );
-}
-
-PF_API PFHCHttpCallResponseGetStatusCode(
- _In_ PFHCCallHandle call,
- _Out_ uint32_t* statusCode
-) noexcept
-{
- return HCHttpCallResponseGetStatusCode(
- call,
- statusCode
- );
-}
-
-PF_API PFHCHttpCallResponseGetNetworkErrorCode(
- _In_ PFHCCallHandle call,
- _Out_ HRESULT* networkErrorCode,
- _Out_ uint32_t* platformNetworkErrorCode
-) noexcept
-{
- return HCHttpCallResponseGetNetworkErrorCode(
- call,
- networkErrorCode,
- platformNetworkErrorCode
- );
-}
-
-PF_API PFHCHttpCallResponseGetPlatformNetworkErrorMessage(
- _In_ PFHCCallHandle call,
- _Out_ const char** platformNetworkErrorMessage
-) noexcept
-{
- return HCHttpCallResponseGetPlatformNetworkErrorMessage(
- call,
- platformNetworkErrorMessage
- );
-}
-
-PF_API PFHCHttpCallResponseGetHeader(
- _In_ PFHCCallHandle call,
- _In_z_ const char* headerName,
- _Out_ const char** headerValue
-) noexcept
-{
- return HCHttpCallResponseGetHeader(
- call,
- headerName,
- headerValue
- );
-}
-
-PF_API PFHCHttpCallResponseGetNumHeaders(
- _In_ PFHCCallHandle call,
- _Out_ uint32_t* numHeaders
-) noexcept
-{
- return HCHttpCallResponseGetNumHeaders(
- call,
- numHeaders
- );
-}
-
-PF_API PFHCHttpCallResponseGetHeaderAtIndex(
- _In_ PFHCCallHandle call,
- _In_ uint32_t headerIndex,
- _Out_ const char** headerName,
- _Out_ const char** headerValue
-) noexcept
-{
- return HCHttpCallResponseGetHeaderAtIndex(
- call,
- headerIndex,
- headerName,
- headerValue
- );
-}
-
-PF_API PFHCHttpCallRequestEnableGzipCompression(
- _In_ PFHCCallHandle call,
- _In_ PFHCCompressionLevel level
-) noexcept
-{
- return HCHttpCallRequestEnableGzipCompression(
- call,
- (HCCompressionLevel)level
- );
-}
-
-PF_API PFHCHttpCallResponseSetGzipCompressed(
- _In_ PFHCCallHandle call,
- _In_ bool compress
-) noexcept
-{
- return HCHttpCallResponseSetGzipCompressed(
- call,
- compress
- );
-}
-
-
-#if !HC_NOWEBSOCKETS
-
-// WebSocket APIs
-
-PF_API PFHCWebSocketCreate(
- _Out_ PFHCWebsocketHandle* websocket,
- _In_opt_ PFHCWebSocketMessageFunction messageFunc,
- _In_opt_ PFHCWebSocketBinaryMessageFunction binaryMessageFunc,
- _In_opt_ PFHCWebSocketCloseEventFunction closeFunc,
- _In_opt_ void* functionContext
-) noexcept
-{
- return HCWebSocketCreate(
- websocket,
- messageFunc,
- binaryMessageFunc,
- (HCWebSocketCloseEventFunction)closeFunc,
- functionContext
- );
-}
-
-#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_GDK
-
-PF_API PFHCWebSocketSetBinaryMessageFragmentEventFunction(
- _In_ PFHCWebsocketHandle websocket,
- _In_ PFHCWebSocketBinaryMessageFragmentFunction binaryMessageFragmentFunc
-) noexcept
-{
- return HCWebSocketSetBinaryMessageFragmentEventFunction(
- websocket,
- binaryMessageFragmentFunc
- );
-}
-#endif
-
-PF_API PFHCWebSocketSetProxyUri(
- _In_ PFHCWebsocketHandle websocket,
- _In_z_ const char* proxyUri
-) noexcept
-{
- return HCWebSocketSetProxyUri(
- websocket,
- proxyUri
- );
-}
-
-#if HC_PLATFORM == HC_PLATFORM_WIN32 && !HC_WINHTTP_WEBSOCKETS
-
-PF_API PFHCWebSocketSetProxyDecryptsHttps(
- _In_ PFHCWebsocketHandle websocket,
- _In_ bool allowProxyToDecryptHttps
-) noexcept
-{
- return HCWebSocketSetProxyDecryptsHttps(
- websocket,
- allowProxyToDecryptHttps
- );
-}
-#endif
-
-PF_API PFHCWebSocketSetHeader(
- _In_ PFHCWebsocketHandle websocket,
- _In_z_ const char* headerName,
- _In_z_ const char* headerValue
-) noexcept
-{
- return HCWebSocketSetHeader(
- websocket,
- headerName,
- headerValue
- );
-}
-
-PF_API PFHCWebSocketGetEventFunctions(
- _In_ PFHCWebsocketHandle websocket,
- _Out_opt_ PFHCWebSocketMessageFunction* messageFunc,
- _Out_opt_ PFHCWebSocketBinaryMessageFunction* binaryMessageFunc,
- _Out_opt_ PFHCWebSocketCloseEventFunction* closeFunc,
- _Out_ void** functionContext
-) noexcept
-{
- return HCWebSocketGetEventFunctions(
- websocket,
- messageFunc,
- binaryMessageFunc,
- (HCWebSocketCloseEventFunction*)closeFunc,
- functionContext
- );
-}
-
-#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_GDK
-
-PF_API PFHCWebSocketGetBinaryMessageFragmentEventFunction(
- _In_ PFHCWebsocketHandle websocket,
- _Out_ PFHCWebSocketBinaryMessageFragmentFunction* binaryMessageFragmentFunc,
- _Out_ void** functionContext
-) noexcept
-{
- return HCWebSocketGetBinaryMessageFragmentEventFunction(
- websocket,
- binaryMessageFragmentFunc,
- functionContext
- );
-}
-#endif
-
-PF_API PFHCWebSocketConnectAsync(
- _In_z_ const char* uri,
- _In_z_ const char* subProtocol,
- _In_ PFHCWebsocketHandle websocket,
- _Inout_ XAsyncBlock* asyncBlock
-) noexcept
-{
- return HCWebSocketConnectAsync(
- uri,
- subProtocol,
- websocket,
- asyncBlock
- );
-}
-
-PF_API PFHCGetWebSocketConnectResult(
- _Inout_ XAsyncBlock* asyncBlock,
- _In_ PFWebSocketCompletionResult* result
-) noexcept
-{
- return HCGetWebSocketConnectResult(
- asyncBlock,
- (WebSocketCompletionResult*)result
- );
-}
-
-PF_API PFHCWebSocketSendMessageAsync(
- _In_ PFHCWebsocketHandle websocket,
- _In_z_ const char* message,
- _Inout_ XAsyncBlock* asyncBlock
-) noexcept
-{
- return HCWebSocketSendMessageAsync(
- websocket,
- message,
- asyncBlock
- );
-}
-
-PF_API PFHCWebSocketSendBinaryMessageAsync(
- _In_ PFHCWebsocketHandle websocket,
- _In_reads_bytes_(payloadSize) const uint8_t* payloadBytes,
- _In_ uint32_t payloadSize,
- _Inout_ XAsyncBlock* asyncBlock
-) noexcept
-{
- return HCWebSocketSendBinaryMessageAsync(
- websocket,
- payloadBytes,
- payloadSize,
- asyncBlock
- );
-}
-
-PF_API PFHCGetWebSocketSendMessageResult(
- _Inout_ XAsyncBlock* asyncBlock,
- _In_ PFWebSocketCompletionResult* result
-) noexcept
-{
- return HCGetWebSocketSendMessageResult(
- asyncBlock,
- (WebSocketCompletionResult*)result
- );
-}
-
-PF_API PFHCWebSocketDisconnect(
- _In_ PFHCWebsocketHandle websocket
-) noexcept
-{
- return HCWebSocketDisconnect(websocket);
-}
-
-#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_GDK
-PF_API PFHCWebSocketSetMaxReceiveBufferSize(
- _In_ PFHCWebsocketHandle websocket,
- _In_ size_t bufferSizeInBytes
-) noexcept
-{
- return HCWebSocketSetMaxReceiveBufferSize(
- websocket,
- bufferSizeInBytes
- );
-}
-#endif
-
-PF_API_(PFHCWebsocketHandle) PFHCWebSocketDuplicateHandle(
- _In_ PFHCWebsocketHandle websocket
-) noexcept
-{
- return HCWebSocketDuplicateHandle(websocket);
-}
-
-PF_API PFHCWebSocketCloseHandle(
- _In_ PFHCWebsocketHandle websocket
-) noexcept
-{
- return HCWebSocketCloseHandle(websocket);
-}
-
-PF_API_(int32_t) PFHCAddWebSocketRoutedHandler(
- _In_ PFHCWebSocketRoutedHandler handler,
- _In_opt_ void* context
-) noexcept
-{
- return HCAddWebSocketRoutedHandler(
- handler,
- context
- );
-}
-
-PF_API_(void) PFHCRemoveWebSocketRoutedHandler(
- _In_ int32_t handlerId
-) noexcept
-{
- HCRemoveWebSocketRoutedHandler(handlerId);
-}
-
-#endif // !HC_NOWEBSOCKETS
diff --git a/Source/PlayFabCore/Source/HttpClient/PFHttpProvider.cpp b/Source/PlayFabCore/Source/HttpClient/PFHttpProvider.cpp
deleted file mode 100644
index 5eb51b0..0000000
--- a/Source/PlayFabCore/Source/HttpClient/PFHttpProvider.cpp
+++ /dev/null
@@ -1,405 +0,0 @@
-#include "stdafx.h"
-#include
-#include
-
-
-PF_API PFHCSetHttpCallPerformFunction(
- _In_ PFHCCallPerformFunction performFunc,
- _In_opt_ void* performContext
-) noexcept
-{
- return HCSetHttpCallPerformFunction(
- performFunc,
- performContext
- );
-}
-
-PF_API PFHCGetHttpCallPerformFunction(
- _Out_ PFHCCallPerformFunction* performFunc,
- _Out_ void** performContext
-) noexcept
-{
- return HCGetHttpCallPerformFunction(
- performFunc,
- performContext
- );
-}
-
-PF_API PFHCHttpCallGetContext(
- _In_ PFHCCallHandle call,
- _In_ void** context
-) noexcept
-{
- return HCHttpCallGetContext(
- call,
- context
- );
-}
-
-PF_API PFHCHttpCallSetContext(
- _In_ PFHCCallHandle call,
- _In_opt_ void* context
-) noexcept
-{
- return HCHttpCallSetContext(
- call,
- context
- );
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// HttpCallRequest Get APIs
-//
-
-PF_API PFHCHttpCallRequestGetUrl(
- _In_ PFHCCallHandle call,
- _Outptr_ const char** method,
- _Outptr_ const char** url
-) noexcept
-{
- return HCHttpCallRequestGetUrl(
- call,
- method,
- url
- );
-}
-
-PF_API PFHCHttpCallRequestGetRequestBodyBytes(
- _In_ PFHCCallHandle call,
- _Outptr_result_bytebuffer_maybenull_(*requestBodySize) const uint8_t** requestBodyBytes,
- _Out_ uint32_t* requestBodySize
-) noexcept
-{
- return HCHttpCallRequestGetRequestBodyBytes(
- call,
- requestBodyBytes,
- requestBodySize
- );
-}
-
-PF_API PFHCHttpCallRequestGetRequestBodyString(
- _In_ PFHCCallHandle call,
- _Outptr_ const char** requestBody
-) noexcept
-{
- return HCHttpCallRequestGetRequestBodyString(
- call,
- requestBody
- );
-}
-
-PF_API PFHCHttpCallRequestGetRequestBodyReadFunction(
- _In_ PFHCCallHandle call,
- _Out_ PFHCHttpCallRequestBodyReadFunction* readFunction,
- _Out_ size_t* bodySize,
- _Out_ void** context
-) noexcept
-{
- return HCHttpCallRequestGetRequestBodyReadFunction(
- call,
- readFunction,
- bodySize,
- context
- );
-}
-
-PF_API PFHCHttpCallRequestGetHeader(
- _In_ PFHCCallHandle call,
- _In_z_ const char* headerName,
- _Out_ const char** headerValue
-) noexcept
-{
- return HCHttpCallRequestGetHeader(
- call,
- headerName,
- headerValue
- );
-}
-
-PF_API PFHCHttpCallRequestGetNumHeaders(
- _In_ PFHCCallHandle call,
- _Out_ uint32_t* numHeaders
-) noexcept
-{
- return HCHttpCallRequestGetNumHeaders(
- call,
- numHeaders
- );
-}
-
-PF_API PFHCHttpCallRequestGetHeaderAtIndex(
- _In_ PFHCCallHandle call,
- _In_ uint32_t headerIndex,
- _Out_ const char** headerName,
- _Out_ const char** headerValue
-) noexcept
-{
- return HCHttpCallRequestGetHeaderAtIndex(
- call,
- headerIndex,
- headerName,
- headerValue
- );
-}
-
-PF_API PFHCHttpCallRequestGetRetryAllowed(
- _In_opt_ PFHCCallHandle call,
- _Out_ bool* retryAllowed
-) noexcept
-{
- return HCHttpCallRequestGetRetryAllowed(
- call,
- retryAllowed
- );
-}
-
-PF_API PFHCHttpCallRequestGetRetryCacheId(
- _In_ PFHCCallHandle call,
- _Out_ uint32_t* retryAfterCacheId
-) noexcept
-{
- return HCHttpCallRequestGetRetryCacheId(
- call,
- retryAfterCacheId
- );
-}
-
-PF_API PFHCHttpCallRequestGetTimeout(
- _In_opt_ PFHCCallHandle call,
- _Out_ uint32_t* timeoutInSeconds
-) noexcept
-{
- return HCHttpCallRequestGetTimeout(
- call,
- timeoutInSeconds
- );
-}
-
-PF_API PFHCHttpCallRequestGetRetryDelay(
- _In_opt_ PFHCCallHandle call,
- _In_ uint32_t* retryDelayInSeconds
-) noexcept
-{
- return HCHttpCallRequestGetRetryDelay(
- call,
- retryDelayInSeconds
- );
-}
-
-PF_API PFHCHttpCallRequestGetTimeoutWindow(
- _In_opt_ PFHCCallHandle call,
- _Out_ uint32_t* timeoutWindowInSeconds
-) noexcept
-{
- return HCHttpCallRequestGetTimeoutWindow(
- call,
- timeoutWindowInSeconds
- );
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// HttpCallResponse Get APIs
-//
-
-PF_API PFHCHttpCallResponseGetResponseBodyWriteFunction(
- _In_ PFHCCallHandle call,
- _Out_ PFHCHttpCallResponseBodyWriteFunction* writeFunction,
- _Out_ void** context
-) noexcept
-{
- return HCHttpCallResponseGetResponseBodyWriteFunction(
- call,
- writeFunction,
- context
- );
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// HttpCallResponse Set APIs
-//
-
-PF_API PFHCHttpCallResponseSetResponseBodyBytes(
- _In_ PFHCCallHandle call,
- _In_reads_bytes_(bodySize) const uint8_t* bodyBytes,
- _In_ size_t bodySize
-) noexcept
-{
- return HCHttpCallResponseSetResponseBodyBytes(
- call,
- bodyBytes,
- bodySize
- );
-}
-
-PF_API PFHCHttpCallResponseAppendResponseBodyBytes(
- _In_ PFHCCallHandle call,
- _In_reads_bytes_(bodySize) const uint8_t* bodyBytes,
- _In_ size_t bodySize
-) noexcept
-{
- RETURN_HR_INVALIDARG_IF_NULL(call);
- return HCHttpCallResponseAppendResponseBodyBytes(
- call,
- bodyBytes,
- bodySize
- );
-}
-
-PF_API PFHCHttpCallResponseSetStatusCode(
- _In_ PFHCCallHandle call,
- _In_ uint32_t statusCode
-) noexcept
-{
- return HCHttpCallResponseSetStatusCode(
- call,
- statusCode
- );
-}
-
-PF_API PFHCHttpCallResponseSetNetworkErrorCode(
- _In_ PFHCCallHandle call,
- _In_ HRESULT networkErrorCode,
- _In_ uint32_t platformNetworkErrorCode
-) noexcept
-{
- return HCHttpCallResponseSetNetworkErrorCode(
- call,
- networkErrorCode,
- platformNetworkErrorCode
- );
-}
-
-PF_API PFHCHttpCallResponseSetPlatformNetworkErrorMessage(
- _In_ PFHCCallHandle call,
- _In_z_ const char* platformNetworkErrorMessage
-) noexcept
-{
- return HCHttpCallResponseSetPlatformNetworkErrorMessage(
- call,
- platformNetworkErrorMessage
- );
-}
-
-PF_API PFHCHttpCallResponseSetHeader(
- _In_ PFHCCallHandle call,
- _In_z_ const char* headerName,
- _In_z_ const char* headerValue
-) noexcept
-{
- return HCHttpCallResponseSetHeader(
- call,
- headerName,
- headerValue
- );
-}
-
-PF_API PFHCHttpCallResponseSetHeaderWithLength(
- _In_ PFHCCallHandle call,
- _In_reads_(nameSize) const char* headerName,
- _In_ size_t nameSize,
- _In_reads_(valueSize) const char* headerValue,
- _In_ size_t valueSize
-) noexcept
-{
- return HCHttpCallResponseSetHeaderWithLength(
- call,
- headerName,
- nameSize,
- headerValue,
- valueSize
- );
-}
-
-#if !HC_NOWEBSOCKETS
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// WebSocket Set APIs
-//
-
-
-PF_API PFHCSetWebSocketFunctions(
- _In_ PFHCWebSocketConnectFunction websocketConnectFunc,
- _In_ PFHCWebSocketSendMessageFunction websocketSendMessageFunc,
- _In_ PFHCWebSocketSendBinaryMessageFunction websocketSendBinaryMessageFunc,
- _In_ PFHCWebSocketDisconnectFunction websocketDisconnectFunc,
- _In_opt_ void* context
-) noexcept
-{
- return HCSetWebSocketFunctions(
- websocketConnectFunc,
- websocketSendMessageFunc,
- websocketSendBinaryMessageFunc,
- (HCWebSocketDisconnectFunction)websocketDisconnectFunc,
- context
- );
-}
-
-PF_API PFHCGetWebSocketFunctions(
- _Out_ PFHCWebSocketConnectFunction* websocketConnectFunc,
- _Out_ PFHCWebSocketSendMessageFunction* websocketSendMessageFunc,
- _Out_ PFHCWebSocketSendBinaryMessageFunction* websocketSendBinaryMessageFunc,
- _Out_ PFHCWebSocketDisconnectFunction* websocketDisconnectFunc,
- _Out_ void** context
-) noexcept
-{
- return HCGetWebSocketFunctions(
- websocketConnectFunc,
- websocketSendMessageFunc,
- websocketSendBinaryMessageFunc,
- (HCWebSocketDisconnectFunction*)websocketDisconnectFunc,
- context
- );
-}
-
-PF_API PFHCWebSocketGetProxyUri(
- _In_ PFHCWebsocketHandle websocket,
- _Out_ const char** proxyUri
-) noexcept
-{
- return HCWebSocketGetProxyUri(
- websocket,
- proxyUri
- );
-}
-
-PF_API PFHCWebSocketGetHeader(
- _In_ PFHCWebsocketHandle websocket,
- _In_z_ const char* headerName,
- _Out_ const char** headerValue
-) noexcept
-{
- return HCWebSocketGetHeader(
- websocket,
- headerName,
- headerValue
- );
-}
-
-PF_API PFHCWebSocketGetNumHeaders(
- _In_ PFHCWebsocketHandle websocket,
- _Out_ uint32_t* numHeaders
-) noexcept
-{
- return HCWebSocketGetNumHeaders(
- websocket,
- numHeaders
- );
-}
-
-
-PF_API PFHCWebSocketGetHeaderAtIndex(
- _In_ PFHCWebsocketHandle websocket,
- _In_ uint32_t headerIndex,
- _Out_ const char** headerName,
- _Out_ const char** headerValue
-) noexcept
-{
- return HCWebSocketGetHeaderAtIndex(
- websocket,
- headerIndex,
- headerName,
- headerValue
- );
-}
-
-#endif // !HC_NOWEBSOCKETS
\ No newline at end of file
diff --git a/Source/PlayFabCore/Source/HttpClient/PFMock.cpp b/Source/PlayFabCore/Source/HttpClient/PFMock.cpp
deleted file mode 100644
index e1c06a5..0000000
--- a/Source/PlayFabCore/Source/HttpClient/PFMock.cpp
+++ /dev/null
@@ -1,110 +0,0 @@
-#include "stdafx.h"
-#include
-#include
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// Mock APIs
-//
-
-PF_API PFHCMockCallCreate(
- _Out_ PFHCMockCallHandle* call
-) noexcept
-{
- return HCMockCallCreate(call);
-}
-
-PF_API PFHCMockAddMock(
- _In_ PFHCMockCallHandle call,
- _In_opt_z_ const char* method,
- _In_opt_z_ const char* url,
- _In_reads_bytes_opt_(requestBodySize) const uint8_t* requestBodyBytes,
- _In_ uint32_t requestBodySize
-) noexcept
-{
- return HCMockAddMock(
- call,
- method,
- url,
- requestBodyBytes,
- requestBodySize
- );
-}
-
-PF_API PFHCMockSetMockMatchedCallback(
- _In_ PFHCMockCallHandle call,
- _In_ PFHCMockMatchedCallback callback,
- _In_opt_ void* context
-)
-{
- return HCMockSetMockMatchedCallback(
- call,
- callback,
- context
- );
-}
-
-PF_API PFHCMockRemoveMock(
- _In_ PFHCMockCallHandle call
-)
-{
- return HCMockRemoveMock(call);
-}
-
-PF_API PFHCMockClearMocks() noexcept
-{
- return HCMockClearMocks();
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// HCMockResponse Set APIs
-//
-
-PF_API PFHCMockResponseSetResponseBodyBytes(
- _In_ PFHCMockCallHandle call,
- _In_reads_bytes_(bodySize) const uint8_t* bodyBytes,
- _In_ uint32_t bodySize
-) noexcept
-{
- return HCMockResponseSetResponseBodyBytes(
- call,
- bodyBytes,
- bodySize
- );
-}
-
-PF_API PFHCMockResponseSetStatusCode(
- _In_ PFHCMockCallHandle call,
- _In_ uint32_t statusCode
-) noexcept
-{
- return HCMockResponseSetStatusCode(
- call,
- statusCode
- );
-}
-
-PF_API PFHCMockResponseSetNetworkErrorCode(
- _In_ PFHCMockCallHandle call,
- _In_ HRESULT networkErrorCode,
- _In_ uint32_t platformNetworkErrorCode
-) noexcept
-{
- return HCMockResponseSetNetworkErrorCode(
- call,
- networkErrorCode,
- platformNetworkErrorCode
- );
-}
-
-PF_API PFHCMockResponseSetHeader(
- _In_ PFHCMockCallHandle call,
- _In_z_ const char* headerName,
- _In_z_ const char* headerValue
-) noexcept
-{
- return HCMockResponseSetHeader(
- call,
- headerName,
- headerValue
- );
-}
diff --git a/Source/PlayFabCore/Source/Trace/TraceState.cpp b/Source/PlayFabCore/Source/Trace/TraceState.cpp
index f78e570..f0e3072 100644
--- a/Source/PlayFabCore/Source/Trace/TraceState.cpp
+++ b/Source/PlayFabCore/Source/Trace/TraceState.cpp
@@ -8,7 +8,7 @@
namespace PlayFab
{
-static constexpr char s_configFile[] = "PlayFabTraceSettings.json";
+// static constexpr char s_configFile[] = "PlayFabTraceSettings.json";
TraceSettings& GetTraceSettings()
{
@@ -79,7 +79,7 @@ HRESULT AccessTraceState(AccessMode mode, SharedPtr& traceState)
}
}
-TraceState::TraceState(RunContext&& initContext, RunContext&& traceContext, LocalStorage localStorage) noexcept :
+TraceState::TraceState(RunContext&& /*initContext*/, RunContext&& traceContext, LocalStorage localStorage) noexcept :
m_runContext{ std::move(traceContext) }
{
// Init LibHttpClient Tracing
@@ -92,6 +92,9 @@ TraceState::TraceState(RunContext&& initContext, RunContext&& traceContext, Loca
#endif
HCTraceSetClientCallback(TraceCallback);
+ // Removing this feature until we more fully flesh out XPlat tracing unification for merged SDK. For now, trace options
+ // are tracing to debugger, ETW (windows only), and client callbacks.
+
// Synchronously load trace settings. TraceSettings loaded from file override those configured via API
// TODO document location, name, and format of TraceSettings file. It should just be a Json serialized
// version of the TraceSettings struct:
@@ -105,14 +108,34 @@ TraceState::TraceState(RunContext&& initContext, RunContext&& traceContext, Loca
TraceSettings& settings = GetTraceSettings();
+ /*
Result> readResult = localStorage.Read(s_configFile, initContext).Wait();
if (SUCCEEDED(readResult.hr))
{
auto fileData{ readResult.ExtractPayload() };
- JsonDocument fileJson{ &JsonUtils::allocator, JsonUtils::kDefaultStackCapacity, &JsonUtils::allocator };
- fileJson.Parse(reinterpret_cast(fileData.data()), fileData.size());
- if (!fileJson.HasParseError())
+ JsonDocument fileJson;
+ bool parseError = false;
+ String parseErrorMsg;
+
+ try
+ {
+ if (fileData.data())
+ {
+ fileJson = JsonValue::parse(fileData.data());
+ }
+ else
+ {
+ parseError = true;
+ }
+ }
+ catch (const JsonValue::parse_error& e)
+ {
+ parseErrorMsg = e.what();
+ parseError = true;
+ }
+
+ if (!parseError)
{
JsonUtils::ObjectGetMember(fileJson, "enableTraceToFile", settings.enableTraceToFile);
JsonUtils::ObjectGetMember(fileJson, "traceToDebugger", settings.traceToDebugger);
@@ -123,6 +146,7 @@ TraceState::TraceState(RunContext&& initContext, RunContext&& traceContext, Loca
}
}
}
+ */
// Add appropriate TraceOutputs based on TraceSettings and Platform
if (settings.enableTraceToFile)
@@ -220,7 +244,7 @@ HRESULT CALLBACK TraceState::CleanupAsyncProvider(XAsyncOp op, XAsyncProviderDat
return E_PENDING;
}
- // Give TraceOutputs a chance to finish naturally before terminating RunContext. Terminating RunContext immediately may lead to
+ // Give TraceOutputs a chance to finish naturally before terminating RunContext. Terminating RunContext immediately may lead to
// lost trace messages in some cases
for (auto& output : context->traceState->m_outputs)
{
@@ -286,12 +310,12 @@ String FormatString(_In_z_ _Printf_format_string_ const char* format, ...)
Vector buffer(1 + std::vsnprintf(NULL, 0, format, args1));
va_end(args1);
-
+
std::vsnprintf(buffer.data(), buffer.size(), format, args2);
va_end(args2);
-
+
String strBuffer(buffer.data(), buffer.size());
-
+
return strBuffer;
}
@@ -309,13 +333,7 @@ void CALLBACK TraceState::TraceCallback(
{
return;
}
-
- TraceSettings& settings = GetTraceSettings();
- if (settings.traceCallback)
- {
- settings.traceCallback(areaName, level, threadId, timestamp, message);
- }
-
+
if (state->m_outputs.empty())
{
// Early out if we have no outputs
@@ -344,7 +362,7 @@ void CALLBACK TraceState::TraceCallback(
#else
localtime_r(&timeTInSec, &fmtTime);
#endif
-
+
String formattedMessage = FormatString("[%04llX][%s][%02d:%02d:%02d.%03u][%s] %s\r\n",
threadId,
traceLevelNames[static_cast(level)],
@@ -355,7 +373,7 @@ void CALLBACK TraceState::TraceCallback(
areaName,
message
);
-
+
auto& outputs = state->m_outputs;
for (auto& output : outputs)
{
diff --git a/Source/PlayFabCore/Source/Trace/TraceState.h b/Source/PlayFabCore/Source/Trace/TraceState.h
index 408b518..b5783a7 100644
--- a/Source/PlayFabCore/Source/Trace/TraceState.h
+++ b/Source/PlayFabCore/Source/Trace/TraceState.h
@@ -13,7 +13,6 @@ struct TraceSettings
bool enableTraceToFile{ false };
char traceFileDirectory[FILENAME_MAX]{ 0 };
bool traceToDebugger{ false };
- HCTraceCallback* traceCallback{ nullptr };
};
TraceSettings& GetTraceSettings();
diff --git a/Source/PlayFabCore/Source/stdafx.h b/Source/PlayFabCore/Source/stdafx.h
index bd2e544..b611619 100644
--- a/Source/PlayFabCore/Source/stdafx.h
+++ b/Source/PlayFabCore/Source/stdafx.h
@@ -23,7 +23,7 @@
#include
// PlayFabSharedInternal
-#include
+#include
#include
#include
#include
diff --git a/Source/PlayFabServices/API-List.csv b/Source/PlayFabServices/API-List.csv
index 6a98ad1..5d4e142 100644
--- a/Source/PlayFabServices/API-List.csv
+++ b/Source/PlayFabServices/API-List.csv
@@ -151,6 +151,7 @@ PF Services,AccountManagement,PFAccountManagementClientGetPlayFabIDsFromNintendo
PF Services,AccountManagement,PFAccountManagementClientGetPlayFabIDsFromPSNAccountIDsAsync,SessionTicket,Account Management,ClientGetPlayFabIDsFromPSNAccountIDs,false,No,Yes,No,Yes,Yes,No,No,Yes
PF Services,AccountManagement,PFAccountManagementClientGetPlayFabIDsFromPSNOnlineIDsAsync,SessionTicket,Account Management,ClientGetPlayFabIDsFromPSNOnlineIDs,false,No,No,No,No,No,No,No,No
PF Services,AccountManagement,PFAccountManagementClientGetPlayFabIDsFromSteamIDsAsync,SessionTicket,Account Management,ClientGetPlayFabIDsFromSteamIDs,false,No,Yes,No,No,Yes,No,No,Yes
+PF Services,AccountManagement,PFAccountManagementClientGetPlayFabIDsFromSteamNamesAsync,SessionTicket,Account Management,ClientGetPlayFabIDsFromSteamNames,false,No,No,No,No,No,No,No,No
PF Services,AccountManagement,PFAccountManagementClientGetPlayFabIDsFromTwitchIDsAsync,SessionTicket,Account Management,ClientGetPlayFabIDsFromTwitchIDs,false,No,Yes,No,No,Yes,No,No,Yes
PF Services,AccountManagement,PFAccountManagementClientGetPlayFabIDsFromXboxLiveIDsAsync,SessionTicket,Account Management,ClientGetPlayFabIDsFromXboxLiveIDs,false,Yes,Yes,No,No,Yes,No,No,Yes
PF Services,AccountManagement,PFAccountManagementClientLinkAndroidDeviceIDAsync,SessionTicket,Account Management,ClientLinkAndroidDeviceID,false,No,Yes,No,No,Yes,No,No,Yes
@@ -206,6 +207,7 @@ PF Services,AccountManagement,PFAccountManagementServerGetPlayFabIDsFromNintendo
PF Services,AccountManagement,PFAccountManagementServerGetPlayFabIDsFromPSNAccountIDsAsync,SecretKey,Account Management,ServerGetPlayFabIDsFromPSNAccountIDs,false,No,Yes,No,No,Yes,No,No,Yes
PF Services,AccountManagement,PFAccountManagementServerGetPlayFabIDsFromPSNOnlineIDsAsync,SecretKey,Account Management,ServerGetPlayFabIDsFromPSNOnlineIDs,false,No,No,No,No,No,No,No,No
PF Services,AccountManagement,PFAccountManagementServerGetPlayFabIDsFromSteamIDsAsync,SecretKey,Account Management,ServerGetPlayFabIDsFromSteamIDs,false,No,Yes,No,No,Yes,No,No,Yes
+PF Services,AccountManagement,PFAccountManagementServerGetPlayFabIDsFromSteamNamesAsync,SecretKey,Account Management,ServerGetPlayFabIDsFromSteamNames,false,No,No,No,No,No,No,No,No
PF Services,AccountManagement,PFAccountManagementServerGetPlayFabIDsFromTwitchIDsAsync,SecretKey,Account Management,ServerGetPlayFabIDsFromTwitchIDs,false,No,Yes,No,No,Yes,No,No,Yes
PF Services,AccountManagement,PFAccountManagementServerGetPlayFabIDsFromXboxLiveIDsAsync,SecretKey,Account Management,ServerGetPlayFabIDsFromXboxLiveIDs,false,No,Yes,No,No,Yes,No,No,Yes
PF Services,AccountManagement,PFAccountManagementServerGetServerCustomIDsFromPlayFabIDsAsync,SecretKey,Account Management,ServerGetServerCustomIDsFromPlayFabIDs,false,No,Yes,No,No,Yes,No,No,Yes
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFAccountManagement.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFAccountManagement.h
index 5541342..cc4c745 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFAccountManagement.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFAccountManagement.h
@@ -917,6 +917,63 @@ PF_API PFAccountManagementClientGetPlayFabIDsFromSteamIDsGetResult(
) noexcept;
#endif
+#if 0
+///
+/// Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers
+/// are persona names.
+///
+/// PFEntityHandle to use for authentication.
+/// Populated request object.
+/// XAsyncBlock for the async operation.
+/// Result code for this API operation.
+///
+/// When the asynchronous task is complete, call
+/// and to get the result.
+///
+PF_API PFAccountManagementClientGetPlayFabIDsFromSteamNamesAsync(
+ _In_ PFEntityHandle entityHandle,
+ _In_ const PFAccountManagementGetPlayFabIDsFromSteamNamesRequest* request,
+ _Inout_ XAsyncBlock* async
+) noexcept;
+
+///
+/// Get the size in bytes needed to store the result of a ClientGetPlayFabIDsFromSteamNames call.
+///
+/// XAsyncBlock for the async operation.
+/// The buffer size in bytes required for the result.
+///
+/// Result code for this API operation. If the service call is unsuccessful, the result will be one of
+/// global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
+///
+PF_API PFAccountManagementClientGetPlayFabIDsFromSteamNamesGetResultSize(
+ _Inout_ XAsyncBlock* async,
+ _Out_ size_t* bufferSize
+) noexcept;
+
+///
+/// Gets the result of a successful PFAccountManagementClientGetPlayFabIDsFromSteamNamesAsync call.
+///
+/// XAsyncBlock for the async operation.
+/// The size of the buffer for the result object.
+/// Byte buffer used for the result value and its fields.
+/// Pointer to the result object.
+/// The number of bytes in the provided buffer that were used.
+///
+/// Result code for this API operation. If the service call is unsuccessful, the result will be one of
+/// global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
+///
+///
+/// result is a pointer within buffer and does not need to be freed separately.
+///
+PF_API PFAccountManagementClientGetPlayFabIDsFromSteamNamesGetResult(
+ _Inout_ XAsyncBlock* async,
+ _In_ size_t bufferSize,
+ _Out_writes_bytes_to_(bufferSize, *bufferUsed) void* buffer,
+ _Outptr_ PFAccountManagementGetPlayFabIDsFromSteamNamesResult** result,
+ _Out_opt_ size_t* bufferUsed
+) noexcept;
+#endif
+
#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_LINUX || HC_PLATFORM == HC_PLATFORM_MAC
///
/// Retrieves the unique PlayFab identifiers for the given set of Twitch identifiers. The Twitch identifiers
@@ -1088,6 +1145,8 @@ PF_API PFAccountManagementClientLinkAppleAsync(
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientLoginWithCustomIDAsync, ClientUnlinkCustomIDAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_LINKED_IDENTIFIER_ALREADY_CLAIMED or any of the global PlayFab Service
/// errors. See doc page "Handling PlayFab Errors" for more details on error handling.
@@ -1116,7 +1175,7 @@ PF_API PFAccountManagementClientLinkCustomIDAsync(
/// as Facebook provides unique user IDs per application and doing so can result in issues with the Facebook
/// ID for the user in their PlayFab account information. If you must re-use an application in a new PlayFab
/// Title ID, please be sure to first unlink all accounts from Facebook, or delete all users in the first
-/// Title ID.
+/// Title ID. See also ClientLoginWithFacebookAsync, ClientUnlinkFacebookAccountAsync.
///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_ALREADY_LINKED, E_PF_ACCOUNT_NOT_FOUND, E_PF_FACEBOOK_API_ERROR,
@@ -1140,6 +1199,8 @@ PF_API PFAccountManagementClientLinkFacebookAccountAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, and macOS.
+/// See also ClientLoginWithFacebookInstantGamesIdAsync, ClientUnlinkFacebookInstantGamesIdAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_FACEBOOK_INSTANT_GAMES_AUTH_NOT_CONFIGURED_FOR_TITLE, E_PF_INVALID_FACEBOOK_INSTANT_GAMES_SIGNATURE,
/// E_PF_LINKED_IDENTIFIER_ALREADY_CLAIMED or any of the global PlayFab Service errors. See doc page "Handling
@@ -1166,6 +1227,8 @@ PF_API PFAccountManagementClientLinkFacebookInstantGamesIdAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, iOS, and macOS.
+/// See also ClientUnlinkGameCenterAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_ALREADY_LINKED, E_PF_GAME_CENTER_AUTHENTICATION_FAILED, E_PF_INVALID_GAME_CENTER_AUTH_REQUEST,
/// E_PF_LINKED_ACCOUNT_ALREADY_CLAIMED or any of the global PlayFab Service errors. See doc page "Handling
@@ -1189,7 +1252,8 @@ PF_API PFAccountManagementClientLinkGameCenterAccountAsync(
///
/// This API is available on Win32, Linux, Android, and macOS.
/// Google sign-in is accomplished by obtaining a Google OAuth 2.0 credential using the Google sign-in
-/// for Android APIs on the device and passing it to this API.
+/// for Android APIs on the device and passing it to this API. See also ClientLoginWithGoogleAccountAsync,
+/// ClientUnlinkGoogleAccountAsync.
///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_ALREADY_LINKED, E_PF_GOOGLE_O_AUTH_ERROR, E_PF_GOOGLE_O_AUTH_NO_ID_TOKEN_INCLUDED_IN_RESPONSE,
@@ -1313,6 +1377,8 @@ PF_API PFAccountManagementClientLinkNintendoServiceAccountAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, and macOS.
+/// See also ClientLoginWithNintendoSwitchDeviceIdAsync, ClientUnlinkNintendoSwitchDeviceIdAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_LINKED_IDENTIFIER_ALREADY_CLAIMED or any of the global PlayFab Service
/// errors. See doc page "Handling PlayFab Errors" for more details on error handling.
@@ -1334,6 +1400,8 @@ PF_API PFAccountManagementClientLinkNintendoSwitchDeviceIdAsync(
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientLoginWithOpenIdConnectAsync, ClientUnlinkOpenIdConnectAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_INVALID_IDENTITY_PROVIDER_ID, E_PF_LINKED_IDENTIFIER_ALREADY_CLAIMED
/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
@@ -1410,6 +1478,8 @@ PF_API PFAccountManagementClientLinkSteamAccountAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, and macOS.
+/// See also ClientLoginWithTwitchAsync, ClientUnlinkTwitchAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_ALREADY_LINKED, E_PF_FEATURE_NOT_CONFIGURED_FOR_TITLE, E_PF_INVALID_TWITCH_TOKEN,
/// E_PF_LINKED_ACCOUNT_ALREADY_CLAIMED, E_PF_TWITCH_RESPONSE_ERROR or any of the global PlayFab Service
@@ -1432,6 +1502,8 @@ PF_API PFAccountManagementClientLinkTwitchAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, GDK, Linux, and macOS.
+/// See also ClientLoginWithXboxAsync, ClientUnlinkXboxAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_ALREADY_LINKED, E_PF_EXPIRED_XBOX_LIVE_TOKEN, E_PF_INVALID_XBOX_LIVE_TOKEN,
/// E_PF_LINKED_ACCOUNT_ALREADY_CLAIMED or any of the global PlayFab Service errors. See doc page "Handling
@@ -1583,6 +1655,8 @@ PF_API PFAccountManagementClientUnlinkAppleAsync(
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientLinkCustomIDAsync, ClientLoginWithCustomIDAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED, E_PF_CUSTOM_ID_NOT_LINKED or any of the global PlayFab
/// Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
@@ -1603,6 +1677,8 @@ PF_API PFAccountManagementClientUnlinkCustomIDAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, Android, iOS, and macOS.
+/// See also ClientLinkFacebookAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED or any of the global PlayFab Service errors. See
/// doc page "Handling PlayFab Errors" for more details on error handling.
@@ -1648,6 +1724,8 @@ PF_API PFAccountManagementClientUnlinkFacebookInstantGamesIdAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, iOS, and macOS.
+/// See also ClientLinkGameCenterAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED or any of the global PlayFab Service errors. See
/// doc page "Handling PlayFab Errors" for more details on error handling.
@@ -1669,6 +1747,8 @@ PF_API PFAccountManagementClientUnlinkGameCenterAccountAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, Android, and macOS.
+/// See also ClientLinkGoogleAccountAsync, ClientLoginWithGoogleAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED or any of the global PlayFab Service errors. See
/// doc page "Handling PlayFab Errors" for more details on error handling.
@@ -1783,6 +1863,8 @@ PF_API PFAccountManagementClientUnlinkNintendoServiceAccountAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, and macOS.
+/// See also ClientLinkNintendoSwitchDeviceIdAsync, ClientLoginWithNintendoSwitchDeviceIdAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED, E_PF_NINTENDO_SWITCH_DEVICE_ID_NOT_LINKED or any
/// of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error
@@ -1850,6 +1932,8 @@ PF_API PFAccountManagementClientUnlinkPSNAccountAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, Linux, and macOS.
+/// See also ClientLinkSteamAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED or any of the global PlayFab Service errors. See
/// doc page "Handling PlayFab Errors" for more details on error handling.
@@ -1894,6 +1978,8 @@ PF_API PFAccountManagementClientUnlinkTwitchAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, GDK, Linux, and macOS.
+/// See also ClientLinkXboxAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED, E_PF_INVALID_XBOX_LIVE_TOKEN or any of the global
/// PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
@@ -2606,6 +2692,63 @@ PF_API PFAccountManagementServerGetPlayFabIDsFromSteamIDsGetResult(
) noexcept;
#endif
+#if 0
+///
+/// Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers
+/// are persona names.
+///
+/// PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync.
+/// Populated request object.
+/// XAsyncBlock for the async operation.
+/// Result code for this API operation.
+///
+/// When the asynchronous task is complete, call
+/// and to get the result.
+///
+PF_API PFAccountManagementServerGetPlayFabIDsFromSteamNamesAsync(
+ _In_ PFEntityHandle titleEntityHandle,
+ _In_ const PFAccountManagementGetPlayFabIDsFromSteamNamesRequest* request,
+ _Inout_ XAsyncBlock* async
+) noexcept;
+
+///
+/// Get the size in bytes needed to store the result of a ServerGetPlayFabIDsFromSteamNames call.
+///
+/// XAsyncBlock for the async operation.
+/// The buffer size in bytes required for the result.
+///
+/// Result code for this API operation. If the service call is unsuccessful, the result will be one of
+/// global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
+///
+PF_API PFAccountManagementServerGetPlayFabIDsFromSteamNamesGetResultSize(
+ _Inout_ XAsyncBlock* async,
+ _Out_ size_t* bufferSize
+) noexcept;
+
+///
+/// Gets the result of a successful PFAccountManagementServerGetPlayFabIDsFromSteamNamesAsync call.
+///
+/// XAsyncBlock for the async operation.
+/// The size of the buffer for the result object.
+/// Byte buffer used for the result value and its fields.
+/// Pointer to the result object.
+/// The number of bytes in the provided buffer that were used.
+///
+/// Result code for this API operation. If the service call is unsuccessful, the result will be one of
+/// global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
+///
+///
+/// result is a pointer within buffer and does not need to be freed separately.
+///
+PF_API PFAccountManagementServerGetPlayFabIDsFromSteamNamesGetResult(
+ _Inout_ XAsyncBlock* async,
+ _In_ size_t bufferSize,
+ _Out_writes_bytes_to_(bufferSize, *bufferUsed) void* buffer,
+ _Outptr_ PFAccountManagementGetPlayFabIDsFromSteamNamesResult** result,
+ _Out_opt_ size_t* bufferUsed
+) noexcept;
+#endif
+
#if HC_PLATFORM == HC_PLATFORM_WIN32 || HC_PLATFORM == HC_PLATFORM_LINUX || HC_PLATFORM == HC_PLATFORM_MAC
///
/// Retrieves the unique PlayFab identifiers for the given set of Twitch identifiers. The Twitch identifiers
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFAccountManagementTypes.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFAccountManagementTypes.h
index d421171..58a9f73 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFAccountManagementTypes.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFAccountManagementTypes.h
@@ -852,6 +852,60 @@ typedef struct PFAccountManagementGetPlayFabIDsFromSteamIDsResult
} PFAccountManagementGetPlayFabIDsFromSteamIDsResult;
+///
+/// PFAccountManagementGetPlayFabIDsFromSteamNamesRequest data model.
+///
+typedef struct PFAccountManagementGetPlayFabIDsFromSteamNamesRequest
+{
+ ///
+ /// Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array
+ /// cannot exceed 2,000 in length.
+ ///
+ _Field_size_(steamNamesCount) const char* const* steamNames;
+
+ ///
+ /// Count of steamNames
+ ///
+ uint32_t steamNamesCount;
+
+} PFAccountManagementGetPlayFabIDsFromSteamNamesRequest;
+
+///
+/// PFAccountManagementSteamNamePlayFabIdPair data model.
+///
+typedef struct PFAccountManagementSteamNamePlayFabIdPair
+{
+ ///
+ /// (Optional) Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the
+ /// Steam identifier.
+ ///
+ _Maybenull_ _Null_terminated_ const char* playFabId;
+
+ ///
+ /// (Optional) Unique Steam identifier for a user, also known as Steam persona name.
+ ///
+ _Maybenull_ _Null_terminated_ const char* steamName;
+
+} PFAccountManagementSteamNamePlayFabIdPair;
+
+///
+/// PFAccountManagementGetPlayFabIDsFromSteamNamesResult data model. For Steam identifiers which have
+/// not been linked to PlayFab accounts, or if the user has not logged in recently, null will be returned.
+///
+typedef struct PFAccountManagementGetPlayFabIDsFromSteamNamesResult
+{
+ ///
+ /// (Optional) Mapping of Steam identifiers to PlayFab identifiers.
+ ///
+ _Maybenull_ _Field_size_(dataCount) PFAccountManagementSteamNamePlayFabIdPair const* const* data;
+
+ ///
+ /// Count of data
+ ///
+ uint32_t dataCount;
+
+} PFAccountManagementGetPlayFabIDsFromSteamNamesResult;
+
///
/// PFAccountManagementGetPlayFabIDsFromTwitchIDsRequest data model.
///
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFCatalog.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFCatalog.h
index 6581549..4e1fb86 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFCatalog.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFCatalog.h
@@ -41,8 +41,8 @@ PF_API PFCatalogCreateDraftItemAsync(
/// The buffer size in bytes required for the result.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED,
-/// E_PF_ITEM_NOT_FOUND, E_PF_NOT_IMPLEMENTED or any of the global PlayFab Service errors. See doc page
-/// "Handling PlayFab Errors" for more details on error handling.
+/// E_PF_INVALID_REQUEST, E_PF_ITEM_NOT_FOUND, E_PF_NOT_IMPLEMENTED or any of the global PlayFab Service
+/// errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFCatalogCreateDraftItemGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -59,8 +59,8 @@ PF_API PFCatalogCreateDraftItemGetResultSize(
/// The number of bytes in the provided buffer that were used.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED,
-/// E_PF_ITEM_NOT_FOUND, E_PF_NOT_IMPLEMENTED or any of the global PlayFab Service errors. See doc page
-/// "Handling PlayFab Errors" for more details on error handling.
+/// E_PF_INVALID_REQUEST, E_PF_ITEM_NOT_FOUND, E_PF_NOT_IMPLEMENTED or any of the global PlayFab Service
+/// errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
///
/// result is a pointer within buffer and does not need to be freed separately.
@@ -1137,8 +1137,8 @@ PF_API PFCatalogUpdateDraftItemAsync(
/// The buffer size in bytes required for the result.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED,
-/// E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors"
-/// for more details on error handling.
+/// E_PF_INVALID_REQUEST, E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page
+/// "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFCatalogUpdateDraftItemGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -1155,8 +1155,8 @@ PF_API PFCatalogUpdateDraftItemGetResultSize(
/// The number of bytes in the provided buffer that were used.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED,
-/// E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors"
-/// for more details on error handling.
+/// E_PF_INVALID_REQUEST, E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page
+/// "Handling PlayFab Errors" for more details on error handling.
///
///
/// result is a pointer within buffer and does not need to be freed separately.
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFCloudScript.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFCloudScript.h
index 154442e..ce274e0 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFCloudScript.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFCloudScript.h
@@ -230,10 +230,10 @@ PF_API PFCloudScriptExecuteFunctionAsync(
/// The buffer size in bytes required for the result.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_ARGUMENT_SIZE_EXCEEDED,
-/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EXECUTION_TIME_LIMIT_EXCEEDED, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_HTTP_REQUEST_ERROR,
-/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_QUEUE_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_RETURN_SIZE_EXCEEDED,
-/// E_PF_INVALID_ENTITY_TYPE or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EVENT_HUB_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EXECUTION_TIME_LIMIT_EXCEEDED,
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_HTTP_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_QUEUE_REQUEST_ERROR,
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_RETURN_SIZE_EXCEEDED, E_PF_INVALID_ENTITY_TYPE or any of the global
+/// PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFCloudScriptExecuteFunctionGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -250,10 +250,10 @@ PF_API PFCloudScriptExecuteFunctionGetResultSize(
/// The number of bytes in the provided buffer that were used.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_ARGUMENT_SIZE_EXCEEDED,
-/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EXECUTION_TIME_LIMIT_EXCEEDED, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_HTTP_REQUEST_ERROR,
-/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_QUEUE_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_RETURN_SIZE_EXCEEDED,
-/// E_PF_INVALID_ENTITY_TYPE or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EVENT_HUB_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EXECUTION_TIME_LIMIT_EXCEEDED,
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_HTTP_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_QUEUE_REQUEST_ERROR,
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_RETURN_SIZE_EXCEEDED, E_PF_INVALID_ENTITY_TYPE or any of the global
+/// PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
///
/// result is a pointer within buffer and does not need to be freed separately.
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFFriends.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFFriends.h
index 5760550..d82a1b1 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFFriends.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFFriends.h
@@ -24,6 +24,8 @@ extern "C"
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientGetFriendsListAsync, ClientSetFriendTagsAsync.
+///
/// When the asynchronous task is complete, call to get
/// the result.
///
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFLeaderboards.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFLeaderboards.h
index 70153a8..fa4cbe0 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFLeaderboards.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFLeaderboards.h
@@ -26,9 +26,11 @@ extern "C"
/// See also LeaderboardDeleteLeaderboardDefinitionAsync.
///
/// Call to get the status of the operation. If the service call is unsuccessful,
-/// the async result will be E_PF_API_NOT_ENABLED_FOR_TITLE, E_PF_DUPLICATE_LINKED_STATISTIC_COLUMN_NAME_FOUND,
-/// E_PF_INVALID_BASE_TIME_FOR_INTERVAL, E_PF_LEADERBOARD_NAME_CONFLICT, E_PF_LEADERBOARD_SIZE_LIMIT_EXCEEDED,
-/// E_PF_LINKED_STATISTIC_COLUMN_MISMATCH, E_PF_LINKING_STATS_NOT_ALLOWED_FOR_ENTITY_TYPE, E_PF_MAX_QUERYABLE_VERSIONS_VALUE_NOT_ALLOWED_FOR_TIER,
+/// the async result will be E_PF_API_NOT_ENABLED_FOR_TITLE, E_PF_DUPLICATE_COLUMN_NAME_FOUND, E_PF_DUPLICATE_LINKED_STATISTIC_COLUMN_NAME_FOUND,
+/// E_PF_EXTERNAL_ENTITY_NOT_ALLOWED_FOR_TIER, E_PF_INVALID_BASE_TIME_FOR_INTERVAL, E_PF_LEADERBOARD_COUNT_LIMIT_EXCEEDED,
+/// E_PF_LEADERBOARD_NAME_CONFLICT, E_PF_LEADERBOARD_SIZE_LIMIT_EXCEEDED, E_PF_LINKED_STATISTIC_COLUMN_MISMATCH,
+/// E_PF_LINKED_STATISTIC_COLUMN_NOT_FOUND, E_PF_LINKED_STATISTIC_COLUMN_REQUIRED, E_PF_LINKING_STATS_NOT_ALLOWED_FOR_ENTITY_TYPE,
+/// E_PF_MAX_QUERYABLE_VERSIONS_VALUE_NOT_ALLOWED_FOR_TIER, E_PF_MULTIPLE_LINKED_STATISTICS_NOT_ALLOWED,
/// E_PF_STAT_DEFINITION_ALREADY_LINKED_TO_LEADERBOARD, E_PF_STATISTIC_NOT_FOUND or any of the global
/// PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
@@ -88,7 +90,7 @@ PF_API PFLeaderboardsDeleteLeaderboardEntriesAsync(
#endif
///
-/// Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in
+/// Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in
/// the leaderboard.
///
/// PFEntityHandle to use for authentication.
@@ -112,8 +114,11 @@ PF_API PFLeaderboardsGetFriendLeaderboardForEntityAsync(
/// XAsyncBlock for the async operation.
/// The buffer size in bytes required for the result.
///
-/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_API_NOT_ENABLED_FOR_TITLE,
-/// E_PF_INVALID_ENTITY_TYPE, E_PF_LEADERBOARD_NOT_FOUND, E_PF_NO_LEADERBOARD_FOR_STATISTIC, E_PF_STATISTIC_NOT_FOUND
+/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_ACCOUNT_NOT_FOUND,
+/// E_PF_API_NOT_ENABLED_FOR_TITLE, E_PF_DOWNSTREAM_SERVICE_UNAVAILABLE, E_PF_EXPIRED_XBOX_LIVE_TOKEN,
+/// E_PF_FACEBOOK_API_ERROR, E_PF_INVALID_ENTITY_TYPE, E_PF_INVALID_SIGNATURE, E_PF_INVALID_SIGNATURE_TIME,
+/// E_PF_INVALID_XBOX_LIVE_TOKEN, E_PF_LEADERBOARD_NOT_FOUND, E_PF_NO_LEADERBOARD_FOR_STATISTIC, E_PF_PLAYER_SECRET_NOT_CONFIGURED,
+/// E_PF_STATISTIC_NOT_FOUND, E_PF_XBOX_INACCESSIBLE, E_PF_XBOX_SERVICE_TOO_MANY_REQUESTS, E_PF_XBOX_XASS_EXCHANGE_FAILURE
/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
/// on error handling.
///
@@ -131,8 +136,11 @@ PF_API PFLeaderboardsGetFriendLeaderboardForEntityGetResultSize(
/// Pointer to the result object.
/// The number of bytes in the provided buffer that were used.
///
-/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_API_NOT_ENABLED_FOR_TITLE,
-/// E_PF_INVALID_ENTITY_TYPE, E_PF_LEADERBOARD_NOT_FOUND, E_PF_NO_LEADERBOARD_FOR_STATISTIC, E_PF_STATISTIC_NOT_FOUND
+/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_ACCOUNT_NOT_FOUND,
+/// E_PF_API_NOT_ENABLED_FOR_TITLE, E_PF_DOWNSTREAM_SERVICE_UNAVAILABLE, E_PF_EXPIRED_XBOX_LIVE_TOKEN,
+/// E_PF_FACEBOOK_API_ERROR, E_PF_INVALID_ENTITY_TYPE, E_PF_INVALID_SIGNATURE, E_PF_INVALID_SIGNATURE_TIME,
+/// E_PF_INVALID_XBOX_LIVE_TOKEN, E_PF_LEADERBOARD_NOT_FOUND, E_PF_NO_LEADERBOARD_FOR_STATISTIC, E_PF_PLAYER_SECRET_NOT_CONFIGURED,
+/// E_PF_STATISTIC_NOT_FOUND, E_PF_XBOX_INACCESSIBLE, E_PF_XBOX_SERVICE_TOO_MANY_REQUESTS, E_PF_XBOX_XASS_EXCHANGE_FAILURE
/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
/// on error handling.
///
@@ -521,9 +529,9 @@ PF_API PFLeaderboardsUnlinkLeaderboardFromStatisticAsync(
/// See also LeaderboardDeleteLeaderboardEntriesAsync.
///
/// Call to get the status of the operation. If the service call is unsuccessful,
-/// the async result will be E_PF_LEADERBOARD_COLUMN_LENGTH_MISMATCH, E_PF_LEADERBOARD_NOT_FOUND, E_PF_LEADERBOARD_UPDATE_NOT_ALLOWED_WHILE_LINKED
-/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
-/// on error handling.
+/// the async result will be E_PF_API_NOT_ENABLED_FOR_GAME_CLIENT_ACCESS, E_PF_LEADERBOARD_COLUMN_LENGTH_MISMATCH,
+/// E_PF_LEADERBOARD_NOT_FOUND, E_PF_LEADERBOARD_UPDATE_NOT_ALLOWED_WHILE_LINKED or any of the global
+/// PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFLeaderboardsUpdateLeaderboardEntriesAsync(
_In_ PFEntityHandle entityHandle,
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFLeaderboardsTypes.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFLeaderboardsTypes.h
index c8d0633..b11bafb 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFLeaderboardsTypes.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFLeaderboardsTypes.h
@@ -280,7 +280,7 @@ typedef struct PFLeaderboardsEntityLeaderboardEntry
typedef struct PFLeaderboardsGetEntityLeaderboardResponse
{
///
- /// (Optional) Leaderboard columns describing the sort directions,.
+ /// (Optional) Leaderboard columns describing the sort directions.
///
_Maybenull_ _Field_size_(columnsCount) PFLeaderboardsLeaderboardColumn const* const* columns;
@@ -289,6 +289,11 @@ typedef struct PFLeaderboardsGetEntityLeaderboardResponse
///
uint32_t columnsCount;
+ ///
+ /// The number of entries on the leaderboard.
+ ///
+ uint32_t entryCount;
+
///
/// (Optional) Individual entity rankings in the leaderboard, in sorted order by rank.
///
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFMultiplayerServerTypes.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFMultiplayerServerTypes.h
index 2523bc7..5767c7d 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFMultiplayerServerTypes.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFMultiplayerServerTypes.h
@@ -938,7 +938,7 @@ typedef struct PFMultiplayerServerPartyNetworkConfiguration
_Maybenull_ _Null_terminated_ const char* directPeerConnectivityOptions;
///
- /// The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive.
+ /// The maximum number of devices allowed to connect to the network. Must be between 1 and 128, inclusive.
///
uint32_t maxDevices;
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFPlayerDataManagement.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFPlayerDataManagement.h
index a30a7c4..13f8c72 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFPlayerDataManagement.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFPlayerDataManagement.h
@@ -26,7 +26,7 @@ extern "C"
/// counter is incremented. If the Version parameter is provided, then this call will only return data
/// if the current version on the system is greater than the value provided. If the Keys parameter is
/// provided, the data object returned will only contain the data specific to the indicated Keys. Otherwise,
-/// the full set of custom user data will be returned.
+/// the full set of custom user data will be returned. See also ClientGetUserReadOnlyDataAsync, ClientUpdateUserDataAsync.
///
/// When the asynchronous task is complete, call
/// and to get the result.
@@ -85,7 +85,7 @@ PF_API PFPlayerDataManagementClientGetUserDataGetResult(
/// This API is available on all platforms.
/// Data is stored as JSON key-value pairs. If the Keys parameter is provided, the data object returned
/// will only contain the data specific to the indicated Keys. Otherwise, the full set of custom user
-/// data will be returned.
+/// data will be returned. See also ClientGetUserPublisherReadOnlyDataAsync, ClientUpdateUserPublisherDataAsync.
///
/// When the asynchronous task is complete, call
/// and to get the result.
@@ -146,7 +146,7 @@ PF_API PFPlayerDataManagementClientGetUserPublisherDataGetResult(
/// This API is available on all platforms.
/// Data is stored as JSON key-value pairs. If the Keys parameter is provided, the data object returned
/// will only contain the data specific to the indicated Keys. Otherwise, the full set of custom user
-/// data will be returned.
+/// data will be returned. See also ClientGetUserPublisherDataAsync, ClientUpdateUserPublisherDataAsync.
///
/// When the asynchronous task is complete, call
/// and to get the result.
@@ -209,7 +209,7 @@ PF_API PFPlayerDataManagementClientGetUserPublisherReadOnlyDataGetResult(
/// counter is incremented. If the Version parameter is provided, then this call will only return data
/// if the current version on the system is greater than the value provided. If the Keys parameter is
/// provided, the data object returned will only contain the data specific to the indicated Keys. Otherwise,
-/// the full set of custom user data will be returned.
+/// the full set of custom user data will be returned. See also ClientGetUserDataAsync, ClientUpdateUserDataAsync.
///
/// When the asynchronous task is complete, call
/// and to get the result.
@@ -270,7 +270,8 @@ PF_API PFPlayerDataManagementClientGetUserReadOnlyDataGetResult(
/// This function performs an additive update of the arbitrary strings containing the custom data for
/// the user. In updating the custom data object, keys which already exist in the object will have their
/// values overwritten, while keys with null values will be removed. New keys will be added, with the
-/// given values. No other key-value pairs will be changed apart from those specified in the call.
+/// given values. No other key-value pairs will be changed apart from those specified in the call. See
+/// also ClientGetUserDataAsync, ClientGetUserReadOnlyDataAsync.
///
/// When the asynchronous task is complete, call
/// to get the result.
@@ -308,7 +309,8 @@ PF_API PFPlayerDataManagementClientUpdateUserDataGetResult(
/// This function performs an additive update of the arbitrary strings containing the custom data for
/// the user. In updating the custom data object, keys which already exist in the object will have their
/// values overwritten, while keys with null values will be removed. New keys will be added, with the
-/// given values. No other key-value pairs will be changed apart from those specified in the call.
+/// given values. No other key-value pairs will be changed apart from those specified in the call. See
+/// also ClientGetUserPublisherDataAsync, ClientGetUserPublisherReadOnlyDataAsync.
///
/// When the asynchronous task is complete, call
/// to get the result.
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFStatistics.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFStatistics.h
index 6a00888..0d9c3a2 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFStatistics.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFStatistics.h
@@ -27,10 +27,11 @@ extern "C"
///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_AGGREGATION_TYPE_NOT_ALLOWED_FOR_MULTI_COLUMN_STATISTIC, E_PF_API_NOT_ENABLED_FOR_TITLE,
-/// E_PF_DUPLICATE_STATISTIC_NAME, E_PF_INVALID_BASE_TIME_FOR_INTERVAL, E_PF_MAX_QUERYABLE_VERSIONS_VALUE_NOT_ALLOWED_FOR_TIER,
-/// E_PF_STATISTIC_COUNT_LIMIT_EXCEEDED, E_PF_STATISTIC_DEFINITION_HAS_NULL_OR_EMPTY_VERSION_CONFIGURATION,
-/// E_PF_STATISTIC_NAME_CONFLICT or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_DUPLICATE_COLUMN_NAME_FOUND, E_PF_DUPLICATE_STATISTIC_NAME, E_PF_EXTERNAL_ENTITY_NOT_ALLOWED_FOR_TIER,
+/// E_PF_INVALID_BASE_TIME_FOR_INTERVAL, E_PF_MAX_QUERYABLE_VERSIONS_VALUE_NOT_ALLOWED_FOR_TIER, E_PF_STATISTIC_COUNT_LIMIT_EXCEEDED,
+/// E_PF_STATISTIC_DEFINITION_HAS_NULL_OR_EMPTY_VERSION_CONFIGURATION, E_PF_STATISTIC_NAME_CONFLICT or
+/// any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
+/// on error handling.
///
PF_API PFStatisticsCreateStatisticDefinitionAsync(
_In_ PFEntityHandle entityHandle,
@@ -428,8 +429,8 @@ PF_API PFStatisticsUpdateStatisticsAsync(
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_API_NOT_ENABLED_FOR_GAME_CLIENT_ACCESS,
/// E_PF_ENTITY_TYPE_MISMATCH_WITH_STAT_DEFINITION, E_PF_INVALID_ENTITY_TYPE, E_PF_NOT_AUTHORIZED, E_PF_STATISTIC_COLUMN_LENGTH_MISMATCH,
-/// E_PF_STATISTIC_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_STATISTIC_NOT_FOUND, E_PF_TRANSACTION_ALREADY_APPLIED or any of the global PlayFab Service errors.
+/// See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFStatisticsUpdateStatisticsGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -447,8 +448,8 @@ PF_API PFStatisticsUpdateStatisticsGetResultSize(
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_API_NOT_ENABLED_FOR_GAME_CLIENT_ACCESS,
/// E_PF_ENTITY_TYPE_MISMATCH_WITH_STAT_DEFINITION, E_PF_INVALID_ENTITY_TYPE, E_PF_NOT_AUTHORIZED, E_PF_STATISTIC_COLUMN_LENGTH_MISMATCH,
-/// E_PF_STATISTIC_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_STATISTIC_NOT_FOUND, E_PF_TRANSACTION_ALREADY_APPLIED or any of the global PlayFab Service errors.
+/// See doc page "Handling PlayFab Errors" for more details on error handling.
///
///
/// result is a pointer within buffer and does not need to be freed separately.
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/PFStatisticsTypes.h b/Source/PlayFabServices/Include/Generated/playfab/services/PFStatisticsTypes.h
index 88bcf04..05398be 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/PFStatisticsTypes.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/PFStatisticsTypes.h
@@ -77,7 +77,7 @@ typedef struct PFStatisticsCreateStatisticDefinitionRequest
_Maybenull_ _Null_terminated_ const char* entityType;
///
- /// Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_',
+ /// Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_',
/// '-' and '.'.
///
_Null_terminated_ const char* name;
@@ -187,7 +187,7 @@ typedef struct PFStatisticsGetStatisticDefinitionRequest
uint32_t customTagsCount;
///
- /// Name of the statistic. Must be less than 50 characters.
+ /// Name of the statistic. Must be less than 150 characters.
///
_Null_terminated_ const char* name;
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/cpp/AccountManagementTypeWrappers.h b/Source/PlayFabServices/Include/Generated/playfab/services/cpp/AccountManagementTypeWrappers.h
index e369595..f8ab6cf 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/cpp/AccountManagementTypeWrappers.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/cpp/AccountManagementTypeWrappers.h
@@ -2814,6 +2814,198 @@ class PFAccountManagementGetPlayFabIDsFromSteamIDsResultWrapper : public ModelWr
ModelVector, Alloc> m_data;
};
+template class Alloc = std::allocator>
+class PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper : public ModelWrapper
+{
+public:
+ using ModelType = PFAccountManagementGetPlayFabIDsFromSteamNamesRequest;
+ using String = typename std::basic_string, Alloc>;
+ template using Vector = typename std::vector>;
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper() = default;
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper(const PFAccountManagementGetPlayFabIDsFromSteamNamesRequest& model) :
+ ModelWrapper{ model },
+ m_steamNames{ model.steamNames, model.steamNames + model.steamNamesCount }
+ {
+ SetModelPointers();
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper(const PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper& src) :
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper{ src.Model() }
+ {
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper(PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper&& src) :
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper{}
+ {
+ swap(*this, src);
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper& operator=(PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper src)
+ {
+ swap(*this, src);
+ return *this;
+ }
+
+ virtual ~PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper() = default;
+
+ friend void swap(PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper& lhs, PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper& rhs)
+ {
+ using std::swap;
+ swap(lhs.m_model, rhs.m_model);
+ swap(lhs.m_steamNames, rhs.m_steamNames);
+ lhs.SetModelPointers();
+ rhs.SetModelPointers();
+ }
+
+ void SetSteamNames(CStringVector value)
+ {
+ m_steamNames = std::move(value);
+ this->m_model.steamNames = m_steamNames.empty() ? nullptr : m_steamNames.data();
+ this->m_model.steamNamesCount = static_cast(m_steamNames.size());
+ }
+
+private:
+ void SetModelPointers()
+ {
+ this->m_model.steamNames = m_steamNames.empty() ? nullptr : m_steamNames.data();
+ }
+
+ CStringVector m_steamNames;
+};
+
+template class Alloc = std::allocator>
+class PFAccountManagementSteamNamePlayFabIdPairWrapper : public ModelWrapper
+{
+public:
+ using ModelType = PFAccountManagementSteamNamePlayFabIdPair;
+ using String = typename std::basic_string, Alloc>;
+ template using Vector = typename std::vector>;
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper() = default;
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper(const PFAccountManagementSteamNamePlayFabIdPair& model) :
+ ModelWrapper{ model },
+ m_playFabId{ SafeString(model.playFabId) },
+ m_steamName{ SafeString(model.steamName) }
+ {
+ SetModelPointers();
+ }
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper(const PFAccountManagementSteamNamePlayFabIdPairWrapper& src) :
+ PFAccountManagementSteamNamePlayFabIdPairWrapper{ src.Model() }
+ {
+ }
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper(PFAccountManagementSteamNamePlayFabIdPairWrapper&& src) :
+ PFAccountManagementSteamNamePlayFabIdPairWrapper{}
+ {
+ swap(*this, src);
+ }
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper& operator=(PFAccountManagementSteamNamePlayFabIdPairWrapper src)
+ {
+ swap(*this, src);
+ return *this;
+ }
+
+ virtual ~PFAccountManagementSteamNamePlayFabIdPairWrapper() = default;
+
+ friend void swap(PFAccountManagementSteamNamePlayFabIdPairWrapper& lhs, PFAccountManagementSteamNamePlayFabIdPairWrapper& rhs)
+ {
+ using std::swap;
+ swap(lhs.m_model, rhs.m_model);
+ swap(lhs.m_playFabId, rhs.m_playFabId);
+ swap(lhs.m_steamName, rhs.m_steamName);
+ lhs.SetModelPointers();
+ rhs.SetModelPointers();
+ }
+
+ void SetPlayFabId(String value)
+ {
+ m_playFabId = std::move(value);
+ this->m_model.playFabId = m_playFabId.empty() ? nullptr : m_playFabId.data();
+ }
+
+ void SetSteamName(String value)
+ {
+ m_steamName = std::move(value);
+ this->m_model.steamName = m_steamName.empty() ? nullptr : m_steamName.data();
+ }
+
+private:
+ void SetModelPointers()
+ {
+ this->m_model.playFabId = m_playFabId.empty() ? nullptr : m_playFabId.data();
+ this->m_model.steamName = m_steamName.empty() ? nullptr : m_steamName.data();
+ }
+
+ String m_playFabId;
+ String m_steamName;
+};
+
+template class Alloc = std::allocator>
+class PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper : public ModelWrapper
+{
+public:
+ using ModelType = PFAccountManagementGetPlayFabIDsFromSteamNamesResult;
+ using String = typename std::basic_string, Alloc>;
+ template using Vector = typename std::vector>;
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper() = default;
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper(const PFAccountManagementGetPlayFabIDsFromSteamNamesResult& model) :
+ ModelWrapper{ model },
+ m_data{ model.data, model.data + model.dataCount }
+ {
+ SetModelPointers();
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper(const PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper& src) :
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper{ src.Model() }
+ {
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper(PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper&& src) :
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper{}
+ {
+ swap(*this, src);
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper& operator=(PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper src)
+ {
+ swap(*this, src);
+ return *this;
+ }
+
+ virtual ~PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper() = default;
+
+ friend void swap(PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper& lhs, PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper& rhs)
+ {
+ using std::swap;
+ swap(lhs.m_model, rhs.m_model);
+ swap(lhs.m_data, rhs.m_data);
+ lhs.SetModelPointers();
+ rhs.SetModelPointers();
+ }
+
+ void SetData(ModelVector, Alloc> value)
+ {
+ m_data = std::move(value);
+ this->m_model.data = m_data.empty() ? nullptr : m_data.data();
+ this->m_model.dataCount = static_cast(m_data.size());
+ }
+
+private:
+ void SetModelPointers()
+ {
+ this->m_model.data = m_data.empty() ? nullptr : m_data.data();
+ }
+
+ ModelVector, Alloc> m_data;
+};
+
template class Alloc = std::allocator>
class PFAccountManagementGetPlayFabIDsFromTwitchIDsRequestWrapper : public ModelWrapper
{
diff --git a/Source/PlayFabServices/Include/Generated/playfab/services/cpp/LeaderboardsTypeWrappers.h b/Source/PlayFabServices/Include/Generated/playfab/services/cpp/LeaderboardsTypeWrappers.h
index c997827..b4a6c5d 100644
--- a/Source/PlayFabServices/Include/Generated/playfab/services/cpp/LeaderboardsTypeWrappers.h
+++ b/Source/PlayFabServices/Include/Generated/playfab/services/cpp/LeaderboardsTypeWrappers.h
@@ -686,6 +686,11 @@ class PFLeaderboardsGetEntityLeaderboardResponseWrapper : public ModelWrapperm_model.columnsCount = static_cast(m_columns.size());
}
+ void SetEntryCount(uint32_t value)
+ {
+ this->m_model.entryCount = value;
+ }
+
void SetRankings(ModelVector, Alloc> value)
{
m_rankings = std::move(value);
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFAccountManagement.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFAccountManagement.h
index ced56d3..eebfb32 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFAccountManagement.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFAccountManagement.h
@@ -254,6 +254,8 @@ PF_API PFAccountManagementClientGetPlayFabIDsFromXboxLiveIDsGetResult(
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientLoginWithCustomIDAsync, ClientUnlinkCustomIDAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_LINKED_IDENTIFIER_ALREADY_CLAIMED or any of the global PlayFab Service
/// errors. See doc page "Handling PlayFab Errors" for more details on error handling.
@@ -274,6 +276,8 @@ PF_API PFAccountManagementClientLinkCustomIDAsync(
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientLoginWithOpenIdConnectAsync, ClientUnlinkOpenIdConnectAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_INVALID_IDENTITY_PROVIDER_ID, E_PF_LINKED_IDENTIFIER_ALREADY_CLAIMED
/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
@@ -295,6 +299,8 @@ PF_API PFAccountManagementClientLinkOpenIdConnectAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, GDK, Linux, and macOS.
+/// See also ClientLoginWithXboxAsync, ClientUnlinkXboxAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_ALREADY_LINKED, E_PF_EXPIRED_XBOX_LIVE_TOKEN, E_PF_INVALID_XBOX_LIVE_TOKEN,
/// E_PF_LINKED_ACCOUNT_ALREADY_CLAIMED or any of the global PlayFab Service errors. See doc page "Handling
@@ -349,6 +355,8 @@ PF_API PFAccountManagementClientReportPlayerGetResult(
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientLinkCustomIDAsync, ClientLoginWithCustomIDAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED, E_PF_CUSTOM_ID_NOT_LINKED or any of the global PlayFab
/// Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
@@ -391,6 +399,8 @@ PF_API PFAccountManagementClientUnlinkOpenIdConnectAsync(
/// Result code for this API operation.
///
/// This API is available on Win32, GDK, Linux, and macOS.
+/// See also ClientLinkXboxAccountAsync.
+///
/// Call to get the status of the operation. If the service call is unsuccessful,
/// the async result will be E_PF_ACCOUNT_NOT_LINKED, E_PF_INVALID_XBOX_LIVE_TOKEN or any of the global
/// PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFAccountManagementTypes.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFAccountManagementTypes.h
index d421171..58a9f73 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFAccountManagementTypes.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFAccountManagementTypes.h
@@ -852,6 +852,60 @@ typedef struct PFAccountManagementGetPlayFabIDsFromSteamIDsResult
} PFAccountManagementGetPlayFabIDsFromSteamIDsResult;
+///
+/// PFAccountManagementGetPlayFabIDsFromSteamNamesRequest data model.
+///
+typedef struct PFAccountManagementGetPlayFabIDsFromSteamNamesRequest
+{
+ ///
+ /// Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array
+ /// cannot exceed 2,000 in length.
+ ///
+ _Field_size_(steamNamesCount) const char* const* steamNames;
+
+ ///
+ /// Count of steamNames
+ ///
+ uint32_t steamNamesCount;
+
+} PFAccountManagementGetPlayFabIDsFromSteamNamesRequest;
+
+///
+/// PFAccountManagementSteamNamePlayFabIdPair data model.
+///
+typedef struct PFAccountManagementSteamNamePlayFabIdPair
+{
+ ///
+ /// (Optional) Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the
+ /// Steam identifier.
+ ///
+ _Maybenull_ _Null_terminated_ const char* playFabId;
+
+ ///
+ /// (Optional) Unique Steam identifier for a user, also known as Steam persona name.
+ ///
+ _Maybenull_ _Null_terminated_ const char* steamName;
+
+} PFAccountManagementSteamNamePlayFabIdPair;
+
+///
+/// PFAccountManagementGetPlayFabIDsFromSteamNamesResult data model. For Steam identifiers which have
+/// not been linked to PlayFab accounts, or if the user has not logged in recently, null will be returned.
+///
+typedef struct PFAccountManagementGetPlayFabIDsFromSteamNamesResult
+{
+ ///
+ /// (Optional) Mapping of Steam identifiers to PlayFab identifiers.
+ ///
+ _Maybenull_ _Field_size_(dataCount) PFAccountManagementSteamNamePlayFabIdPair const* const* data;
+
+ ///
+ /// Count of data
+ ///
+ uint32_t dataCount;
+
+} PFAccountManagementGetPlayFabIDsFromSteamNamesResult;
+
///
/// PFAccountManagementGetPlayFabIDsFromTwitchIDsRequest data model.
///
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFCatalog.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFCatalog.h
index 3ced13d..449bea3 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFCatalog.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFCatalog.h
@@ -41,8 +41,8 @@ PF_API PFCatalogCreateDraftItemAsync(
/// The buffer size in bytes required for the result.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED,
-/// E_PF_ITEM_NOT_FOUND, E_PF_NOT_IMPLEMENTED or any of the global PlayFab Service errors. See doc page
-/// "Handling PlayFab Errors" for more details on error handling.
+/// E_PF_INVALID_REQUEST, E_PF_ITEM_NOT_FOUND, E_PF_NOT_IMPLEMENTED or any of the global PlayFab Service
+/// errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFCatalogCreateDraftItemGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -59,8 +59,8 @@ PF_API PFCatalogCreateDraftItemGetResultSize(
/// The number of bytes in the provided buffer that were used.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED,
-/// E_PF_ITEM_NOT_FOUND, E_PF_NOT_IMPLEMENTED or any of the global PlayFab Service errors. See doc page
-/// "Handling PlayFab Errors" for more details on error handling.
+/// E_PF_INVALID_REQUEST, E_PF_ITEM_NOT_FOUND, E_PF_NOT_IMPLEMENTED or any of the global PlayFab Service
+/// errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
///
/// result is a pointer within buffer and does not need to be freed separately.
@@ -931,8 +931,8 @@ PF_API PFCatalogUpdateDraftItemAsync(
/// The buffer size in bytes required for the result.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED,
-/// E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors"
-/// for more details on error handling.
+/// E_PF_INVALID_REQUEST, E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page
+/// "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFCatalogUpdateDraftItemGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -949,8 +949,8 @@ PF_API PFCatalogUpdateDraftItemGetResultSize(
/// The number of bytes in the provided buffer that were used.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED,
-/// E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors"
-/// for more details on error handling.
+/// E_PF_INVALID_REQUEST, E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page
+/// "Handling PlayFab Errors" for more details on error handling.
///
///
/// result is a pointer within buffer and does not need to be freed separately.
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFCloudScript.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFCloudScript.h
index 0d2c14c..7def865 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFCloudScript.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFCloudScript.h
@@ -168,10 +168,10 @@ PF_API PFCloudScriptExecuteFunctionAsync(
/// The buffer size in bytes required for the result.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_ARGUMENT_SIZE_EXCEEDED,
-/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EXECUTION_TIME_LIMIT_EXCEEDED, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_HTTP_REQUEST_ERROR,
-/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_QUEUE_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_RETURN_SIZE_EXCEEDED,
-/// E_PF_INVALID_ENTITY_TYPE or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EVENT_HUB_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EXECUTION_TIME_LIMIT_EXCEEDED,
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_HTTP_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_QUEUE_REQUEST_ERROR,
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_RETURN_SIZE_EXCEEDED, E_PF_INVALID_ENTITY_TYPE or any of the global
+/// PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFCloudScriptExecuteFunctionGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -188,10 +188,10 @@ PF_API PFCloudScriptExecuteFunctionGetResultSize(
/// The number of bytes in the provided buffer that were used.
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_ARGUMENT_SIZE_EXCEEDED,
-/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EXECUTION_TIME_LIMIT_EXCEEDED, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_HTTP_REQUEST_ERROR,
-/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_QUEUE_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_RETURN_SIZE_EXCEEDED,
-/// E_PF_INVALID_ENTITY_TYPE or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EVENT_HUB_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_EXECUTION_TIME_LIMIT_EXCEEDED,
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_HTTP_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_QUEUE_REQUEST_ERROR,
+/// E_PF_CLOUD_SCRIPT_AZURE_FUNCTIONS_RETURN_SIZE_EXCEEDED, E_PF_INVALID_ENTITY_TYPE or any of the global
+/// PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
///
///
/// result is a pointer within buffer and does not need to be freed separately.
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFFriends.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFFriends.h
index 7e10fa3..87d4395 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFFriends.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFFriends.h
@@ -24,6 +24,8 @@ extern "C"
/// Result code for this API operation.
///
/// This API is available on all platforms.
+/// See also ClientGetFriendsListAsync, ClientSetFriendTagsAsync.
+///
/// When the asynchronous task is complete, call to get
/// the result.
///
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFLeaderboards.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFLeaderboards.h
index 81f121b..75031c9 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFLeaderboards.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFLeaderboards.h
@@ -14,7 +14,7 @@ extern "C"
{
///
-/// Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in
+/// Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in
/// the leaderboard.
///
/// PFEntityHandle to use for authentication.
@@ -38,8 +38,11 @@ PF_API PFLeaderboardsGetFriendLeaderboardForEntityAsync(
/// XAsyncBlock for the async operation.
/// The buffer size in bytes required for the result.
///
-/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_API_NOT_ENABLED_FOR_TITLE,
-/// E_PF_INVALID_ENTITY_TYPE, E_PF_LEADERBOARD_NOT_FOUND, E_PF_NO_LEADERBOARD_FOR_STATISTIC, E_PF_STATISTIC_NOT_FOUND
+/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_ACCOUNT_NOT_FOUND,
+/// E_PF_API_NOT_ENABLED_FOR_TITLE, E_PF_DOWNSTREAM_SERVICE_UNAVAILABLE, E_PF_EXPIRED_XBOX_LIVE_TOKEN,
+/// E_PF_FACEBOOK_API_ERROR, E_PF_INVALID_ENTITY_TYPE, E_PF_INVALID_SIGNATURE, E_PF_INVALID_SIGNATURE_TIME,
+/// E_PF_INVALID_XBOX_LIVE_TOKEN, E_PF_LEADERBOARD_NOT_FOUND, E_PF_NO_LEADERBOARD_FOR_STATISTIC, E_PF_PLAYER_SECRET_NOT_CONFIGURED,
+/// E_PF_STATISTIC_NOT_FOUND, E_PF_XBOX_INACCESSIBLE, E_PF_XBOX_SERVICE_TOO_MANY_REQUESTS, E_PF_XBOX_XASS_EXCHANGE_FAILURE
/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
/// on error handling.
///
@@ -57,8 +60,11 @@ PF_API PFLeaderboardsGetFriendLeaderboardForEntityGetResultSize(
/// Pointer to the result object.
/// The number of bytes in the provided buffer that were used.
///
-/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_API_NOT_ENABLED_FOR_TITLE,
-/// E_PF_INVALID_ENTITY_TYPE, E_PF_LEADERBOARD_NOT_FOUND, E_PF_NO_LEADERBOARD_FOR_STATISTIC, E_PF_STATISTIC_NOT_FOUND
+/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_ACCOUNT_NOT_FOUND,
+/// E_PF_API_NOT_ENABLED_FOR_TITLE, E_PF_DOWNSTREAM_SERVICE_UNAVAILABLE, E_PF_EXPIRED_XBOX_LIVE_TOKEN,
+/// E_PF_FACEBOOK_API_ERROR, E_PF_INVALID_ENTITY_TYPE, E_PF_INVALID_SIGNATURE, E_PF_INVALID_SIGNATURE_TIME,
+/// E_PF_INVALID_XBOX_LIVE_TOKEN, E_PF_LEADERBOARD_NOT_FOUND, E_PF_NO_LEADERBOARD_FOR_STATISTIC, E_PF_PLAYER_SECRET_NOT_CONFIGURED,
+/// E_PF_STATISTIC_NOT_FOUND, E_PF_XBOX_INACCESSIBLE, E_PF_XBOX_SERVICE_TOO_MANY_REQUESTS, E_PF_XBOX_XASS_EXCHANGE_FAILURE
/// or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details
/// on error handling.
///
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFLeaderboardsTypes.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFLeaderboardsTypes.h
index c8d0633..b11bafb 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFLeaderboardsTypes.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFLeaderboardsTypes.h
@@ -280,7 +280,7 @@ typedef struct PFLeaderboardsEntityLeaderboardEntry
typedef struct PFLeaderboardsGetEntityLeaderboardResponse
{
///
- /// (Optional) Leaderboard columns describing the sort directions,.
+ /// (Optional) Leaderboard columns describing the sort directions.
///
_Maybenull_ _Field_size_(columnsCount) PFLeaderboardsLeaderboardColumn const* const* columns;
@@ -289,6 +289,11 @@ typedef struct PFLeaderboardsGetEntityLeaderboardResponse
///
uint32_t columnsCount;
+ ///
+ /// The number of entries on the leaderboard.
+ ///
+ uint32_t entryCount;
+
///
/// (Optional) Individual entity rankings in the leaderboard, in sorted order by rank.
///
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFMultiplayerServerTypes.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFMultiplayerServerTypes.h
index 2523bc7..5767c7d 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFMultiplayerServerTypes.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFMultiplayerServerTypes.h
@@ -938,7 +938,7 @@ typedef struct PFMultiplayerServerPartyNetworkConfiguration
_Maybenull_ _Null_terminated_ const char* directPeerConnectivityOptions;
///
- /// The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive.
+ /// The maximum number of devices allowed to connect to the network. Must be between 1 and 128, inclusive.
///
uint32_t maxDevices;
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFPlayerDataManagement.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFPlayerDataManagement.h
index 7a3d22d..17fb80e 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFPlayerDataManagement.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFPlayerDataManagement.h
@@ -26,7 +26,7 @@ extern "C"
/// counter is incremented. If the Version parameter is provided, then this call will only return data
/// if the current version on the system is greater than the value provided. If the Keys parameter is
/// provided, the data object returned will only contain the data specific to the indicated Keys. Otherwise,
-/// the full set of custom user data will be returned.
+/// the full set of custom user data will be returned. See also ClientGetUserReadOnlyDataAsync, ClientUpdateUserDataAsync.
///
/// When the asynchronous task is complete, call
/// and to get the result.
@@ -85,7 +85,7 @@ PF_API PFPlayerDataManagementClientGetUserDataGetResult(
/// This API is available on all platforms.
/// Data is stored as JSON key-value pairs. If the Keys parameter is provided, the data object returned
/// will only contain the data specific to the indicated Keys. Otherwise, the full set of custom user
-/// data will be returned.
+/// data will be returned. See also ClientGetUserPublisherReadOnlyDataAsync, ClientUpdateUserPublisherDataAsync.
///
/// When the asynchronous task is complete, call
/// and to get the result.
@@ -146,7 +146,7 @@ PF_API PFPlayerDataManagementClientGetUserPublisherDataGetResult(
/// This API is available on all platforms.
/// Data is stored as JSON key-value pairs. If the Keys parameter is provided, the data object returned
/// will only contain the data specific to the indicated Keys. Otherwise, the full set of custom user
-/// data will be returned.
+/// data will be returned. See also ClientGetUserPublisherDataAsync, ClientUpdateUserPublisherDataAsync.
///
/// When the asynchronous task is complete, call
/// and to get the result.
@@ -209,7 +209,7 @@ PF_API PFPlayerDataManagementClientGetUserPublisherReadOnlyDataGetResult(
/// counter is incremented. If the Version parameter is provided, then this call will only return data
/// if the current version on the system is greater than the value provided. If the Keys parameter is
/// provided, the data object returned will only contain the data specific to the indicated Keys. Otherwise,
-/// the full set of custom user data will be returned.
+/// the full set of custom user data will be returned. See also ClientGetUserDataAsync, ClientUpdateUserDataAsync.
///
/// When the asynchronous task is complete, call
/// and to get the result.
@@ -270,7 +270,8 @@ PF_API PFPlayerDataManagementClientGetUserReadOnlyDataGetResult(
/// This function performs an additive update of the arbitrary strings containing the custom data for
/// the user. In updating the custom data object, keys which already exist in the object will have their
/// values overwritten, while keys with null values will be removed. New keys will be added, with the
-/// given values. No other key-value pairs will be changed apart from those specified in the call.
+/// given values. No other key-value pairs will be changed apart from those specified in the call. See
+/// also ClientGetUserDataAsync, ClientGetUserReadOnlyDataAsync.
///
/// When the asynchronous task is complete, call
/// to get the result.
@@ -308,7 +309,8 @@ PF_API PFPlayerDataManagementClientUpdateUserDataGetResult(
/// This function performs an additive update of the arbitrary strings containing the custom data for
/// the user. In updating the custom data object, keys which already exist in the object will have their
/// values overwritten, while keys with null values will be removed. New keys will be added, with the
-/// given values. No other key-value pairs will be changed apart from those specified in the call.
+/// given values. No other key-value pairs will be changed apart from those specified in the call. See
+/// also ClientGetUserPublisherDataAsync, ClientGetUserPublisherReadOnlyDataAsync.
///
/// When the asynchronous task is complete, call
/// to get the result.
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFStatistics.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFStatistics.h
index 9f3208d..a02180c 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFStatistics.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFStatistics.h
@@ -158,8 +158,8 @@ PF_API PFStatisticsUpdateStatisticsAsync(
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_API_NOT_ENABLED_FOR_GAME_CLIENT_ACCESS,
/// E_PF_ENTITY_TYPE_MISMATCH_WITH_STAT_DEFINITION, E_PF_INVALID_ENTITY_TYPE, E_PF_NOT_AUTHORIZED, E_PF_STATISTIC_COLUMN_LENGTH_MISMATCH,
-/// E_PF_STATISTIC_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_STATISTIC_NOT_FOUND, E_PF_TRANSACTION_ALREADY_APPLIED or any of the global PlayFab Service errors.
+/// See doc page "Handling PlayFab Errors" for more details on error handling.
///
PF_API PFStatisticsUpdateStatisticsGetResultSize(
_Inout_ XAsyncBlock* async,
@@ -177,8 +177,8 @@ PF_API PFStatisticsUpdateStatisticsGetResultSize(
///
/// Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_API_NOT_ENABLED_FOR_GAME_CLIENT_ACCESS,
/// E_PF_ENTITY_TYPE_MISMATCH_WITH_STAT_DEFINITION, E_PF_INVALID_ENTITY_TYPE, E_PF_NOT_AUTHORIZED, E_PF_STATISTIC_COLUMN_LENGTH_MISMATCH,
-/// E_PF_STATISTIC_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab
-/// Errors" for more details on error handling.
+/// E_PF_STATISTIC_NOT_FOUND, E_PF_TRANSACTION_ALREADY_APPLIED or any of the global PlayFab Service errors.
+/// See doc page "Handling PlayFab Errors" for more details on error handling.
///
///
/// result is a pointer within buffer and does not need to be freed separately.
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFStatisticsTypes.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFStatisticsTypes.h
index 88bcf04..05398be 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFStatisticsTypes.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/PFStatisticsTypes.h
@@ -77,7 +77,7 @@ typedef struct PFStatisticsCreateStatisticDefinitionRequest
_Maybenull_ _Null_terminated_ const char* entityType;
///
- /// Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_',
+ /// Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_',
/// '-' and '.'.
///
_Null_terminated_ const char* name;
@@ -187,7 +187,7 @@ typedef struct PFStatisticsGetStatisticDefinitionRequest
uint32_t customTagsCount;
///
- /// Name of the statistic. Must be less than 50 characters.
+ /// Name of the statistic. Must be less than 150 characters.
///
_Null_terminated_ const char* name;
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/cpp/AccountManagementTypeWrappers.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/cpp/AccountManagementTypeWrappers.h
index e369595..f8ab6cf 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/cpp/AccountManagementTypeWrappers.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/cpp/AccountManagementTypeWrappers.h
@@ -2814,6 +2814,198 @@ class PFAccountManagementGetPlayFabIDsFromSteamIDsResultWrapper : public ModelWr
ModelVector, Alloc> m_data;
};
+template class Alloc = std::allocator>
+class PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper : public ModelWrapper
+{
+public:
+ using ModelType = PFAccountManagementGetPlayFabIDsFromSteamNamesRequest;
+ using String = typename std::basic_string, Alloc>;
+ template using Vector = typename std::vector>;
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper() = default;
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper(const PFAccountManagementGetPlayFabIDsFromSteamNamesRequest& model) :
+ ModelWrapper{ model },
+ m_steamNames{ model.steamNames, model.steamNames + model.steamNamesCount }
+ {
+ SetModelPointers();
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper(const PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper& src) :
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper{ src.Model() }
+ {
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper(PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper&& src) :
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper{}
+ {
+ swap(*this, src);
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper& operator=(PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper src)
+ {
+ swap(*this, src);
+ return *this;
+ }
+
+ virtual ~PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper() = default;
+
+ friend void swap(PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper& lhs, PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper& rhs)
+ {
+ using std::swap;
+ swap(lhs.m_model, rhs.m_model);
+ swap(lhs.m_steamNames, rhs.m_steamNames);
+ lhs.SetModelPointers();
+ rhs.SetModelPointers();
+ }
+
+ void SetSteamNames(CStringVector value)
+ {
+ m_steamNames = std::move(value);
+ this->m_model.steamNames = m_steamNames.empty() ? nullptr : m_steamNames.data();
+ this->m_model.steamNamesCount = static_cast(m_steamNames.size());
+ }
+
+private:
+ void SetModelPointers()
+ {
+ this->m_model.steamNames = m_steamNames.empty() ? nullptr : m_steamNames.data();
+ }
+
+ CStringVector m_steamNames;
+};
+
+template class Alloc = std::allocator>
+class PFAccountManagementSteamNamePlayFabIdPairWrapper : public ModelWrapper
+{
+public:
+ using ModelType = PFAccountManagementSteamNamePlayFabIdPair;
+ using String = typename std::basic_string, Alloc>;
+ template using Vector = typename std::vector>;
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper() = default;
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper(const PFAccountManagementSteamNamePlayFabIdPair& model) :
+ ModelWrapper{ model },
+ m_playFabId{ SafeString(model.playFabId) },
+ m_steamName{ SafeString(model.steamName) }
+ {
+ SetModelPointers();
+ }
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper(const PFAccountManagementSteamNamePlayFabIdPairWrapper& src) :
+ PFAccountManagementSteamNamePlayFabIdPairWrapper{ src.Model() }
+ {
+ }
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper(PFAccountManagementSteamNamePlayFabIdPairWrapper&& src) :
+ PFAccountManagementSteamNamePlayFabIdPairWrapper{}
+ {
+ swap(*this, src);
+ }
+
+ PFAccountManagementSteamNamePlayFabIdPairWrapper& operator=(PFAccountManagementSteamNamePlayFabIdPairWrapper src)
+ {
+ swap(*this, src);
+ return *this;
+ }
+
+ virtual ~PFAccountManagementSteamNamePlayFabIdPairWrapper() = default;
+
+ friend void swap(PFAccountManagementSteamNamePlayFabIdPairWrapper& lhs, PFAccountManagementSteamNamePlayFabIdPairWrapper& rhs)
+ {
+ using std::swap;
+ swap(lhs.m_model, rhs.m_model);
+ swap(lhs.m_playFabId, rhs.m_playFabId);
+ swap(lhs.m_steamName, rhs.m_steamName);
+ lhs.SetModelPointers();
+ rhs.SetModelPointers();
+ }
+
+ void SetPlayFabId(String value)
+ {
+ m_playFabId = std::move(value);
+ this->m_model.playFabId = m_playFabId.empty() ? nullptr : m_playFabId.data();
+ }
+
+ void SetSteamName(String value)
+ {
+ m_steamName = std::move(value);
+ this->m_model.steamName = m_steamName.empty() ? nullptr : m_steamName.data();
+ }
+
+private:
+ void SetModelPointers()
+ {
+ this->m_model.playFabId = m_playFabId.empty() ? nullptr : m_playFabId.data();
+ this->m_model.steamName = m_steamName.empty() ? nullptr : m_steamName.data();
+ }
+
+ String m_playFabId;
+ String m_steamName;
+};
+
+template class Alloc = std::allocator>
+class PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper : public ModelWrapper
+{
+public:
+ using ModelType = PFAccountManagementGetPlayFabIDsFromSteamNamesResult;
+ using String = typename std::basic_string, Alloc>;
+ template using Vector = typename std::vector>;
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper() = default;
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper(const PFAccountManagementGetPlayFabIDsFromSteamNamesResult& model) :
+ ModelWrapper{ model },
+ m_data{ model.data, model.data + model.dataCount }
+ {
+ SetModelPointers();
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper(const PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper& src) :
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper{ src.Model() }
+ {
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper(PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper&& src) :
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper{}
+ {
+ swap(*this, src);
+ }
+
+ PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper& operator=(PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper src)
+ {
+ swap(*this, src);
+ return *this;
+ }
+
+ virtual ~PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper() = default;
+
+ friend void swap(PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper& lhs, PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper& rhs)
+ {
+ using std::swap;
+ swap(lhs.m_model, rhs.m_model);
+ swap(lhs.m_data, rhs.m_data);
+ lhs.SetModelPointers();
+ rhs.SetModelPointers();
+ }
+
+ void SetData(ModelVector, Alloc> value)
+ {
+ m_data = std::move(value);
+ this->m_model.data = m_data.empty() ? nullptr : m_data.data();
+ this->m_model.dataCount = static_cast(m_data.size());
+ }
+
+private:
+ void SetModelPointers()
+ {
+ this->m_model.data = m_data.empty() ? nullptr : m_data.data();
+ }
+
+ ModelVector, Alloc> m_data;
+};
+
template class Alloc = std::allocator>
class PFAccountManagementGetPlayFabIDsFromTwitchIDsRequestWrapper : public ModelWrapper
{
diff --git a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/cpp/LeaderboardsTypeWrappers.h b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/cpp/LeaderboardsTypeWrappers.h
index c997827..b4a6c5d 100644
--- a/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/cpp/LeaderboardsTypeWrappers.h
+++ b/Source/PlayFabServices/Include/GeneratedGdk/playfab/services/cpp/LeaderboardsTypeWrappers.h
@@ -686,6 +686,11 @@ class PFLeaderboardsGetEntityLeaderboardResponseWrapper : public ModelWrapperm_model.columnsCount = static_cast(m_columns.size());
}
+ void SetEntryCount(uint32_t value)
+ {
+ this->m_model.entryCount = value;
+ }
+
void SetRankings(ModelVector, Alloc> value)
{
m_rankings = std::move(value);
diff --git a/Source/PlayFabServices/Source/Generated/AccountManagement.cpp b/Source/PlayFabServices/Source/Generated/AccountManagement.cpp
index 6c27436..89ef88c 100644
--- a/Source/PlayFabServices/Source/Generated/AccountManagement.cpp
+++ b/Source/PlayFabServices/Source/Generated/AccountManagement.cpp
@@ -566,6 +566,41 @@ AsyncOp AccountManagementAPI::ClientGetPlayFabI
});
}
+AsyncOp AccountManagementAPI::ClientGetPlayFabIDsFromSteamNames(
+ Entity const& entity,
+ const GetPlayFabIDsFromSteamNamesRequest& request,
+ RunContext rc
+)
+{
+ const char* path{ "/Client/GetPlayFabIDsFromSteamNames" };
+ JsonValue requestBody{ request.ToJson() };
+
+ auto requestOp = ServicesHttpClient::MakeEntityRequest(
+ ServicesCacheId::AccountManagementClientGetPlayFabIDsFromSteamNames,
+ entity,
+ path,
+ requestBody,
+ std::move(rc)
+ );
+
+ return requestOp.Then([](Result result) -> Result
+ {
+ RETURN_IF_FAILED(result.hr);
+
+ auto serviceResponse = result.ExtractPayload();
+ if (serviceResponse.HttpCode >= 200 && serviceResponse.HttpCode < 300)
+ {
+ GetPlayFabIDsFromSteamNamesResult resultModel;
+ RETURN_IF_FAILED(resultModel.FromJson(serviceResponse.Data));
+ return resultModel;
+ }
+ else
+ {
+ return Result{ ServiceErrorToHR(serviceResponse.ErrorCode), std::move(serviceResponse.ErrorMessage) };
+ }
+ });
+}
+
AsyncOp AccountManagementAPI::ClientGetPlayFabIDsFromTwitchIDs(
Entity const& entity,
const GetPlayFabIDsFromTwitchIDsRequest& request,
@@ -2312,6 +2347,41 @@ AsyncOp AccountManagementAPI::ServerGetPlayFabI
});
}
+AsyncOp AccountManagementAPI::ServerGetPlayFabIDsFromSteamNames(
+ Entity const& entity,
+ const GetPlayFabIDsFromSteamNamesRequest& request,
+ RunContext rc
+)
+{
+ const char* path{ "/Server/GetPlayFabIDsFromSteamNames" };
+ JsonValue requestBody{ request.ToJson() };
+
+ auto requestOp = ServicesHttpClient::MakeSecretKeyRequest(
+ ServicesCacheId::AccountManagementServerGetPlayFabIDsFromSteamNames,
+ entity,
+ path,
+ requestBody,
+ std::move(rc)
+ );
+
+ return requestOp.Then([](Result result) -> Result
+ {
+ RETURN_IF_FAILED(result.hr);
+
+ auto serviceResponse = result.ExtractPayload();
+ if (serviceResponse.HttpCode >= 200 && serviceResponse.HttpCode < 300)
+ {
+ GetPlayFabIDsFromSteamNamesResult resultModel;
+ RETURN_IF_FAILED(resultModel.FromJson(serviceResponse.Data));
+ return resultModel;
+ }
+ else
+ {
+ return Result{ ServiceErrorToHR(serviceResponse.ErrorCode), std::move(serviceResponse.ErrorMessage) };
+ }
+ });
+}
+
AsyncOp AccountManagementAPI::ServerGetPlayFabIDsFromTwitchIDs(
Entity const& entity,
const GetPlayFabIDsFromTwitchIDsRequest& request,
diff --git a/Source/PlayFabServices/Source/Generated/AccountManagement.h b/Source/PlayFabServices/Source/Generated/AccountManagement.h
index 0ecd522..146b509 100644
--- a/Source/PlayFabServices/Source/Generated/AccountManagement.h
+++ b/Source/PlayFabServices/Source/Generated/AccountManagement.h
@@ -36,6 +36,7 @@ class AccountManagementAPI
static AsyncOp ClientGetPlayFabIDsFromPSNAccountIDs(Entity const& entity, const GetPlayFabIDsFromPSNAccountIDsRequest& request, RunContext rc);
static AsyncOp ClientGetPlayFabIDsFromPSNOnlineIDs(Entity const& entity, const GetPlayFabIDsFromPSNOnlineIDsRequest& request, RunContext rc);
static AsyncOp ClientGetPlayFabIDsFromSteamIDs(Entity const& entity, const GetPlayFabIDsFromSteamIDsRequest& request, RunContext rc);
+ static AsyncOp ClientGetPlayFabIDsFromSteamNames(Entity const& entity, const GetPlayFabIDsFromSteamNamesRequest& request, RunContext rc);
static AsyncOp ClientGetPlayFabIDsFromTwitchIDs(Entity const& entity, const GetPlayFabIDsFromTwitchIDsRequest& request, RunContext rc);
static AsyncOp ClientGetPlayFabIDsFromXboxLiveIDs(Entity const& entity, const GetPlayFabIDsFromXboxLiveIDsRequest& request, RunContext rc);
static AsyncOp ClientLinkAndroidDeviceID(Entity const& entity, const LinkAndroidDeviceIDRequest& request, RunContext rc);
@@ -88,6 +89,7 @@ class AccountManagementAPI
static AsyncOp ServerGetPlayFabIDsFromPSNAccountIDs(Entity const& entity, const GetPlayFabIDsFromPSNAccountIDsRequest& request, RunContext rc);
static AsyncOp ServerGetPlayFabIDsFromPSNOnlineIDs(Entity const& entity, const GetPlayFabIDsFromPSNOnlineIDsRequest& request, RunContext rc);
static AsyncOp ServerGetPlayFabIDsFromSteamIDs(Entity const& entity, const GetPlayFabIDsFromSteamIDsRequest& request, RunContext rc);
+ static AsyncOp ServerGetPlayFabIDsFromSteamNames(Entity const& entity, const GetPlayFabIDsFromSteamNamesRequest& request, RunContext rc);
static AsyncOp ServerGetPlayFabIDsFromTwitchIDs(Entity const& entity, const GetPlayFabIDsFromTwitchIDsRequest& request, RunContext rc);
static AsyncOp ServerGetPlayFabIDsFromXboxLiveIDs(Entity const& entity, const GetPlayFabIDsFromXboxLiveIDsRequest& request, RunContext rc);
static AsyncOp ServerGetServerCustomIDsFromPlayFabIDs(Entity const& entity, const GetServerCustomIDsFromPlayFabIDsRequest& request, RunContext rc);
diff --git a/Source/PlayFabServices/Source/Generated/AccountManagementTypes.cpp b/Source/PlayFabServices/Source/Generated/AccountManagementTypes.cpp
index bb975e0..77251de 100644
--- a/Source/PlayFabServices/Source/Generated/AccountManagementTypes.cpp
+++ b/Source/PlayFabServices/Source/Generated/AccountManagementTypes.cpp
@@ -15,7 +15,7 @@ JsonValue AddOrUpdateContactEmailRequest::ToJson() const
JsonValue AddOrUpdateContactEmailRequest::ToJson(const PFAccountManagementAddOrUpdateContactEmailRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "EmailAddress", input.emailAddress);
return output;
@@ -28,7 +28,7 @@ JsonValue AddUsernamePasswordRequest::ToJson() const
JsonValue AddUsernamePasswordRequest::ToJson(const PFAccountManagementAddUsernamePasswordRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Email", input.email);
JsonUtils::ObjectAddMember(output, "Password", input.password);
@@ -69,7 +69,7 @@ HRESULT AddUsernamePasswordResult::Copy(const PFAccountManagementAddUsernamePass
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.username);
+ auto propCopyResult = buffer.CopyTo(input.username);
RETURN_IF_FAILED(propCopyResult.hr);
output.username = propCopyResult.ExtractPayload();
}
@@ -83,7 +83,7 @@ JsonValue GetAccountInfoRequest::ToJson() const
JsonValue GetAccountInfoRequest::ToJson(const PFAccountManagementGetAccountInfoRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Email", input.email);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
JsonUtils::ObjectAddMember(output, "TitleDisplayName", input.titleDisplayName);
@@ -127,7 +127,7 @@ HRESULT GetAccountInfoResult::Copy(const PFAccountManagementGetAccountInfoResult
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.accountInfo);
+ auto propCopyResult = buffer.CopyTo(input.accountInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.accountInfo = propCopyResult.ExtractPayload();
}
@@ -141,7 +141,7 @@ JsonValue GetPlayerCombinedInfoRequest::ToJson() const
JsonValue GetPlayerCombinedInfoRequest::ToJson(const PFAccountManagementGetPlayerCombinedInfoRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "InfoRequestParameters", input.infoRequestParameters);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
@@ -192,12 +192,12 @@ HRESULT GetPlayerCombinedInfoResult::Copy(const PFAccountManagementGetPlayerComb
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.infoResultPayload);
+ auto propCopyResult = buffer.CopyTo(input.infoResultPayload);
RETURN_IF_FAILED(propCopyResult.hr);
output.infoResultPayload = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -211,7 +211,7 @@ JsonValue GetPlayerProfileRequest::ToJson() const
JsonValue GetPlayerProfileRequest::ToJson(const PFAccountManagementGetPlayerProfileRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
JsonUtils::ObjectAddMember(output, "ProfileConstraints", input.profileConstraints);
@@ -254,7 +254,7 @@ HRESULT GetPlayerProfileResult::Copy(const PFAccountManagementGetPlayerProfileRe
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.playerProfile);
+ auto propCopyResult = buffer.CopyTo(input.playerProfile);
RETURN_IF_FAILED(propCopyResult.hr);
output.playerProfile = propCopyResult.ExtractPayload();
}
@@ -268,7 +268,7 @@ JsonValue GetPlayFabIDsFromFacebookIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromFacebookIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromFacebookIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "FacebookIDs", input.facebookIDs, input.facebookIDsCount);
return output;
}
@@ -314,12 +314,12 @@ HRESULT FacebookPlayFabIdPair::Copy(const PFAccountManagementFacebookPlayFabIdPa
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.facebookId);
+ auto propCopyResult = buffer.CopyTo(input.facebookId);
RETURN_IF_FAILED(propCopyResult.hr);
output.facebookId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -374,7 +374,7 @@ JsonValue GetPlayFabIDsFromFacebookInstantGamesIdsRequest::ToJson() const
JsonValue GetPlayFabIDsFromFacebookInstantGamesIdsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromFacebookInstantGamesIdsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "FacebookInstantGamesIds", input.facebookInstantGamesIds, input.facebookInstantGamesIdsCount);
return output;
}
@@ -420,12 +420,12 @@ HRESULT FacebookInstantGamesPlayFabIdPair::Copy(const PFAccountManagementFaceboo
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.facebookInstantGamesId);
+ auto propCopyResult = buffer.CopyTo(input.facebookInstantGamesId);
RETURN_IF_FAILED(propCopyResult.hr);
output.facebookInstantGamesId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -480,7 +480,7 @@ JsonValue GetPlayFabIDsFromGameCenterIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromGameCenterIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromGameCenterIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "GameCenterIDs", input.gameCenterIDs, input.gameCenterIDsCount);
return output;
}
@@ -526,12 +526,12 @@ HRESULT GameCenterPlayFabIdPair::Copy(const PFAccountManagementGameCenterPlayFab
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.gameCenterId);
+ auto propCopyResult = buffer.CopyTo(input.gameCenterId);
RETURN_IF_FAILED(propCopyResult.hr);
output.gameCenterId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -586,7 +586,7 @@ JsonValue GetPlayFabIDsFromGoogleIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromGoogleIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromGoogleIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "GoogleIDs", input.googleIDs, input.googleIDsCount);
return output;
}
@@ -632,12 +632,12 @@ HRESULT GooglePlayFabIdPair::Copy(const PFAccountManagementGooglePlayFabIdPair&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.googleId);
+ auto propCopyResult = buffer.CopyTo(input.googleId);
RETURN_IF_FAILED(propCopyResult.hr);
output.googleId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -692,7 +692,7 @@ JsonValue GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "GooglePlayGamesPlayerIDs", input.googlePlayGamesPlayerIDs, input.googlePlayGamesPlayerIDsCount);
return output;
}
@@ -738,12 +738,12 @@ HRESULT GooglePlayGamesPlayFabIdPair::Copy(const PFAccountManagementGooglePlayGa
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.googlePlayGamesPlayerId);
+ auto propCopyResult = buffer.CopyTo(input.googlePlayGamesPlayerId);
RETURN_IF_FAILED(propCopyResult.hr);
output.googlePlayGamesPlayerId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -798,7 +798,7 @@ JsonValue GetPlayFabIDsFromKongregateIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromKongregateIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromKongregateIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "KongregateIDs", input.kongregateIDs, input.kongregateIDsCount);
return output;
}
@@ -844,12 +844,12 @@ HRESULT KongregatePlayFabIdPair::Copy(const PFAccountManagementKongregatePlayFab
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.kongregateId);
+ auto propCopyResult = buffer.CopyTo(input.kongregateId);
RETURN_IF_FAILED(propCopyResult.hr);
output.kongregateId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -904,7 +904,7 @@ JsonValue GetPlayFabIDsFromNintendoServiceAccountIdsRequest::ToJson() const
JsonValue GetPlayFabIDsFromNintendoServiceAccountIdsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromNintendoServiceAccountIdsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "NintendoAccountIds", input.nintendoAccountIds, input.nintendoAccountIdsCount);
return output;
}
@@ -950,12 +950,12 @@ HRESULT NintendoServiceAccountPlayFabIdPair::Copy(const PFAccountManagementNinte
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.nintendoServiceAccountId);
+ auto propCopyResult = buffer.CopyTo(input.nintendoServiceAccountId);
RETURN_IF_FAILED(propCopyResult.hr);
output.nintendoServiceAccountId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -1010,7 +1010,7 @@ JsonValue GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest::ToJson() const
JsonValue GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromNintendoSwitchDeviceIdsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "NintendoSwitchDeviceIds", input.nintendoSwitchDeviceIds, input.nintendoSwitchDeviceIdsCount);
return output;
}
@@ -1056,12 +1056,12 @@ HRESULT NintendoSwitchPlayFabIdPair::Copy(const PFAccountManagementNintendoSwitc
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.nintendoSwitchDeviceId);
+ auto propCopyResult = buffer.CopyTo(input.nintendoSwitchDeviceId);
RETURN_IF_FAILED(propCopyResult.hr);
output.nintendoSwitchDeviceId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
@@ -1116,7 +1116,7 @@ JsonValue GetPlayFabIDsFromPSNAccountIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromPSNAccountIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromPSNAccountIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "IssuerId", input.issuerId);
JsonUtils::ObjectAddMemberArray(output, "PSNAccountIDs", input.PSNAccountIDs, input.PSNAccountIDsCount);
return output;
@@ -1163,12 +1163,12 @@ HRESULT PSNAccountPlayFabIdPair::Copy(const PFAccountManagementPSNAccountPlayFab
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.PSNAccountId);
+ auto propCopyResult = buffer.CopyTo(input.PSNAccountId);
RETURN_IF_FAILED(propCopyResult.hr);
output.PSNAccountId = propCopyResult.ExtractPayload();
}
@@ -1223,7 +1223,7 @@ JsonValue GetPlayFabIDsFromPSNOnlineIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromPSNOnlineIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromPSNOnlineIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "IssuerId", input.issuerId);
JsonUtils::ObjectAddMemberArray(output, "PSNOnlineIDs", input.PSNOnlineIDs, input.PSNOnlineIDsCount);
return output;
@@ -1270,12 +1270,12 @@ HRESULT PSNOnlinePlayFabIdPair::Copy(const PFAccountManagementPSNOnlinePlayFabId
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.PSNOnlineId);
+ auto propCopyResult = buffer.CopyTo(input.PSNOnlineId);
RETURN_IF_FAILED(propCopyResult.hr);
output.PSNOnlineId = propCopyResult.ExtractPayload();
}
@@ -1330,7 +1330,7 @@ JsonValue GetPlayFabIDsFromSteamIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromSteamIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromSteamIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "SteamStringIDs", input.steamStringIDs, input.steamStringIDsCount);
return output;
}
@@ -1376,12 +1376,12 @@ HRESULT SteamPlayFabIdPair::Copy(const PFAccountManagementSteamPlayFabIdPair& in
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.steamStringId);
+ auto propCopyResult = buffer.CopyTo(input.steamStringId);
RETURN_IF_FAILED(propCopyResult.hr);
output.steamStringId = propCopyResult.ExtractPayload();
}
@@ -1429,6 +1429,112 @@ HRESULT GetPlayFabIDsFromSteamIDsResult::Copy(const PFAccountManagementGetPlayFa
return S_OK;
}
+JsonValue GetPlayFabIDsFromSteamNamesRequest::ToJson() const
+{
+ return GetPlayFabIDsFromSteamNamesRequest::ToJson(this->Model());
+}
+
+JsonValue GetPlayFabIDsFromSteamNamesRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromSteamNamesRequest& input)
+{
+ JsonValue output { JsonValue::object() };
+ JsonUtils::ObjectAddMemberArray(output, "SteamNames", input.steamNames, input.steamNamesCount);
+ return output;
+}
+
+HRESULT SteamNamePlayFabIdPair::FromJson(const JsonValue& input)
+{
+ String playFabId{};
+ RETURN_IF_FAILED(JsonUtils::ObjectGetMember(input, "PlayFabId", playFabId));
+ this->SetPlayFabId(std::move(playFabId));
+
+ String steamName{};
+ RETURN_IF_FAILED(JsonUtils::ObjectGetMember(input, "SteamName", steamName));
+ this->SetSteamName(std::move(steamName));
+
+ return S_OK;
+}
+
+size_t SteamNamePlayFabIdPair::RequiredBufferSize() const
+{
+ return RequiredBufferSize(this->Model());
+}
+
+Result SteamNamePlayFabIdPair::Copy(ModelBuffer& buffer) const
+{
+ return buffer.CopyTo(&this->Model());
+}
+
+size_t SteamNamePlayFabIdPair::RequiredBufferSize(const PFAccountManagementSteamNamePlayFabIdPair& model)
+{
+ size_t requiredSize{ alignof(ModelType) + sizeof(ModelType) };
+ if (model.playFabId)
+ {
+ requiredSize += (std::strlen(model.playFabId) + 1);
+ }
+ if (model.steamName)
+ {
+ requiredSize += (std::strlen(model.steamName) + 1);
+ }
+ return requiredSize;
+}
+
+HRESULT SteamNamePlayFabIdPair::Copy(const PFAccountManagementSteamNamePlayFabIdPair& input, PFAccountManagementSteamNamePlayFabIdPair& output, ModelBuffer& buffer)
+{
+ output = input;
+ {
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
+ RETURN_IF_FAILED(propCopyResult.hr);
+ output.playFabId = propCopyResult.ExtractPayload();
+ }
+ {
+ auto propCopyResult = buffer.CopyTo(input.steamName);
+ RETURN_IF_FAILED(propCopyResult.hr);
+ output.steamName = propCopyResult.ExtractPayload();
+ }
+ return S_OK;
+}
+
+HRESULT GetPlayFabIDsFromSteamNamesResult::FromJson(const JsonValue& input)
+{
+ ModelVector data{};
+ RETURN_IF_FAILED(JsonUtils::ObjectGetMember(input, "Data", data));
+ this->SetData(std::move(data));
+
+ return S_OK;
+}
+
+size_t GetPlayFabIDsFromSteamNamesResult::RequiredBufferSize() const
+{
+ return RequiredBufferSize(this->Model());
+}
+
+Result GetPlayFabIDsFromSteamNamesResult::Copy(ModelBuffer& buffer) const
+{
+ return buffer.CopyTo(&this->Model());
+}
+
+size_t GetPlayFabIDsFromSteamNamesResult::RequiredBufferSize(const PFAccountManagementGetPlayFabIDsFromSteamNamesResult& model)
+{
+ size_t requiredSize{ alignof(ModelType) + sizeof(ModelType) };
+ requiredSize += (alignof(PFAccountManagementSteamNamePlayFabIdPair*) + sizeof(PFAccountManagementSteamNamePlayFabIdPair*) * model.dataCount);
+ for (size_t i = 0; i < model.dataCount; ++i)
+ {
+ requiredSize += SteamNamePlayFabIdPair::RequiredBufferSize(*model.data[i]);
+ }
+ return requiredSize;
+}
+
+HRESULT GetPlayFabIDsFromSteamNamesResult::Copy(const PFAccountManagementGetPlayFabIDsFromSteamNamesResult& input, PFAccountManagementGetPlayFabIDsFromSteamNamesResult& output, ModelBuffer& buffer)
+{
+ output = input;
+ {
+ auto propCopyResult = buffer.CopyToArray(input.data, input.dataCount);
+ RETURN_IF_FAILED(propCopyResult.hr);
+ output.data = propCopyResult.ExtractPayload();
+ }
+ return S_OK;
+}
+
JsonValue GetPlayFabIDsFromTwitchIDsRequest::ToJson() const
{
return GetPlayFabIDsFromTwitchIDsRequest::ToJson(this->Model());
@@ -1436,7 +1542,7 @@ JsonValue GetPlayFabIDsFromTwitchIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromTwitchIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromTwitchIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "TwitchIds", input.twitchIds, input.twitchIdsCount);
return output;
}
@@ -1482,12 +1588,12 @@ HRESULT TwitchPlayFabIdPair::Copy(const PFAccountManagementTwitchPlayFabIdPair&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.twitchId);
+ auto propCopyResult = buffer.CopyTo(input.twitchId);
RETURN_IF_FAILED(propCopyResult.hr);
output.twitchId = propCopyResult.ExtractPayload();
}
@@ -1542,7 +1648,7 @@ JsonValue GetPlayFabIDsFromXboxLiveIDsRequest::ToJson() const
JsonValue GetPlayFabIDsFromXboxLiveIDsRequest::ToJson(const PFAccountManagementGetPlayFabIDsFromXboxLiveIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Sandbox", input.sandbox);
JsonUtils::ObjectAddMemberArray(output, "XboxLiveAccountIDs", input.xboxLiveAccountIDs, input.xboxLiveAccountIDsCount);
return output;
@@ -1589,12 +1695,12 @@ HRESULT XboxLiveAccountPlayFabIdPair::Copy(const PFAccountManagementXboxLiveAcco
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.xboxLiveAccountId);
+ auto propCopyResult = buffer.CopyTo(input.xboxLiveAccountId);
RETURN_IF_FAILED(propCopyResult.hr);
output.xboxLiveAccountId = propCopyResult.ExtractPayload();
}
@@ -1649,7 +1755,7 @@ JsonValue LinkAndroidDeviceIDRequest::ToJson() const
JsonValue LinkAndroidDeviceIDRequest::ToJson(const PFAccountManagementLinkAndroidDeviceIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AndroidDevice", input.androidDevice);
JsonUtils::ObjectAddMember(output, "AndroidDeviceId", input.androidDeviceId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
@@ -1665,7 +1771,7 @@ JsonValue LinkAppleRequest::ToJson() const
JsonValue LinkAppleRequest::ToJson(const PFAccountManagementLinkAppleRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "IdentityToken", input.identityToken);
@@ -1679,7 +1785,7 @@ JsonValue LinkCustomIDRequest::ToJson() const
JsonValue LinkCustomIDRequest::ToJson(const PFAccountManagementLinkCustomIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CustomId", input.customId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
@@ -1693,7 +1799,7 @@ JsonValue LinkFacebookAccountRequest::ToJson() const
JsonValue LinkFacebookAccountRequest::ToJson(const PFAccountManagementLinkFacebookAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AccessToken", input.accessToken);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
@@ -1707,7 +1813,7 @@ JsonValue LinkFacebookInstantGamesIdRequest::ToJson() const
JsonValue LinkFacebookInstantGamesIdRequest::ToJson(const PFAccountManagementLinkFacebookInstantGamesIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "FacebookInstantGamesSignature", input.facebookInstantGamesSignature);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
@@ -1721,7 +1827,7 @@ JsonValue LinkGameCenterAccountRequest::ToJson() const
JsonValue LinkGameCenterAccountRequest::ToJson(const PFAccountManagementLinkGameCenterAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "GameCenterId", input.gameCenterId);
@@ -1739,7 +1845,7 @@ JsonValue LinkGoogleAccountRequest::ToJson() const
JsonValue LinkGoogleAccountRequest::ToJson(const PFAccountManagementLinkGoogleAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "ServerAuthCode", input.serverAuthCode);
@@ -1753,7 +1859,7 @@ JsonValue LinkGooglePlayGamesServicesAccountRequest::ToJson() const
JsonValue LinkGooglePlayGamesServicesAccountRequest::ToJson(const PFAccountManagementLinkGooglePlayGamesServicesAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "ServerAuthCode", input.serverAuthCode);
@@ -1767,7 +1873,7 @@ JsonValue LinkIOSDeviceIDRequest::ToJson() const
JsonValue LinkIOSDeviceIDRequest::ToJson(const PFAccountManagementLinkIOSDeviceIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "DeviceId", input.deviceId);
JsonUtils::ObjectAddMember(output, "DeviceModel", input.deviceModel);
@@ -1783,7 +1889,7 @@ JsonValue LinkKongregateAccountRequest::ToJson() const
JsonValue LinkKongregateAccountRequest::ToJson(const PFAccountManagementLinkKongregateAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AuthTicket", input.authTicket);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
@@ -1798,7 +1904,7 @@ JsonValue ClientLinkNintendoServiceAccountRequest::ToJson() const
JsonValue ClientLinkNintendoServiceAccountRequest::ToJson(const PFAccountManagementClientLinkNintendoServiceAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "IdentityToken", input.identityToken);
@@ -1812,7 +1918,7 @@ JsonValue ClientLinkNintendoSwitchDeviceIdRequest::ToJson() const
JsonValue ClientLinkNintendoSwitchDeviceIdRequest::ToJson(const PFAccountManagementClientLinkNintendoSwitchDeviceIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "NintendoSwitchDeviceId", input.nintendoSwitchDeviceId);
@@ -1826,7 +1932,7 @@ JsonValue LinkOpenIdConnectRequest::ToJson() const
JsonValue LinkOpenIdConnectRequest::ToJson(const PFAccountManagementLinkOpenIdConnectRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "ConnectionId", input.connectionId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
@@ -1841,7 +1947,7 @@ JsonValue ClientLinkPSNAccountRequest::ToJson() const
JsonValue ClientLinkPSNAccountRequest::ToJson(const PFAccountManagementClientLinkPSNAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AuthCode", input.authCode);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
@@ -1857,7 +1963,7 @@ JsonValue LinkSteamAccountRequest::ToJson() const
JsonValue LinkSteamAccountRequest::ToJson(const PFAccountManagementLinkSteamAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "SteamTicket", input.steamTicket);
@@ -1872,7 +1978,7 @@ JsonValue LinkTwitchAccountRequest::ToJson() const
JsonValue LinkTwitchAccountRequest::ToJson(const PFAccountManagementLinkTwitchAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AccessToken", input.accessToken);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
@@ -1886,7 +1992,7 @@ JsonValue ClientLinkXboxAccountRequest::ToJson() const
JsonValue ClientLinkXboxAccountRequest::ToJson(const PFAccountManagementClientLinkXboxAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
#if HC_PLATFORM != HC_PLATFORM_GDK
@@ -1902,7 +2008,7 @@ JsonValue RemoveContactEmailRequest::ToJson() const
JsonValue RemoveContactEmailRequest::ToJson(const PFAccountManagementRemoveContactEmailRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -1914,7 +2020,7 @@ JsonValue ReportPlayerClientRequest::ToJson() const
JsonValue ReportPlayerClientRequest::ToJson(const PFAccountManagementReportPlayerClientRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Comment", input.comment);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ReporteeId", input.reporteeId);
@@ -1958,7 +2064,7 @@ JsonValue SendAccountRecoveryEmailRequest::ToJson() const
JsonValue SendAccountRecoveryEmailRequest::ToJson(const PFAccountManagementSendAccountRecoveryEmailRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Email", input.email);
JsonUtils::ObjectAddMember(output, "EmailTemplateId", input.emailTemplateId);
@@ -1973,7 +2079,7 @@ JsonValue UnlinkAndroidDeviceIDRequest::ToJson() const
JsonValue UnlinkAndroidDeviceIDRequest::ToJson(const PFAccountManagementUnlinkAndroidDeviceIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AndroidDeviceId", input.androidDeviceId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
@@ -1986,7 +2092,7 @@ JsonValue UnlinkAppleRequest::ToJson() const
JsonValue UnlinkAppleRequest::ToJson(const PFAccountManagementUnlinkAppleRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -1998,7 +2104,7 @@ JsonValue UnlinkCustomIDRequest::ToJson() const
JsonValue UnlinkCustomIDRequest::ToJson(const PFAccountManagementUnlinkCustomIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "CustomId", input.customId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
@@ -2011,7 +2117,7 @@ JsonValue UnlinkFacebookAccountRequest::ToJson() const
JsonValue UnlinkFacebookAccountRequest::ToJson(const PFAccountManagementUnlinkFacebookAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2023,7 +2129,7 @@ JsonValue UnlinkFacebookInstantGamesIdRequest::ToJson() const
JsonValue UnlinkFacebookInstantGamesIdRequest::ToJson(const PFAccountManagementUnlinkFacebookInstantGamesIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "FacebookInstantGamesId", input.facebookInstantGamesId);
return output;
@@ -2036,7 +2142,7 @@ JsonValue UnlinkGameCenterAccountRequest::ToJson() const
JsonValue UnlinkGameCenterAccountRequest::ToJson(const PFAccountManagementUnlinkGameCenterAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2048,7 +2154,7 @@ JsonValue UnlinkGoogleAccountRequest::ToJson() const
JsonValue UnlinkGoogleAccountRequest::ToJson(const PFAccountManagementUnlinkGoogleAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2060,7 +2166,7 @@ JsonValue UnlinkGooglePlayGamesServicesAccountRequest::ToJson() const
JsonValue UnlinkGooglePlayGamesServicesAccountRequest::ToJson(const PFAccountManagementUnlinkGooglePlayGamesServicesAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2072,7 +2178,7 @@ JsonValue UnlinkIOSDeviceIDRequest::ToJson() const
JsonValue UnlinkIOSDeviceIDRequest::ToJson(const PFAccountManagementUnlinkIOSDeviceIDRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "DeviceId", input.deviceId);
return output;
@@ -2085,7 +2191,7 @@ JsonValue UnlinkKongregateAccountRequest::ToJson() const
JsonValue UnlinkKongregateAccountRequest::ToJson(const PFAccountManagementUnlinkKongregateAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2097,7 +2203,7 @@ JsonValue ClientUnlinkNintendoServiceAccountRequest::ToJson() const
JsonValue ClientUnlinkNintendoServiceAccountRequest::ToJson(const PFAccountManagementClientUnlinkNintendoServiceAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2109,7 +2215,7 @@ JsonValue ClientUnlinkNintendoSwitchDeviceIdRequest::ToJson() const
JsonValue ClientUnlinkNintendoSwitchDeviceIdRequest::ToJson(const PFAccountManagementClientUnlinkNintendoSwitchDeviceIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "NintendoSwitchDeviceId", input.nintendoSwitchDeviceId);
return output;
@@ -2122,7 +2228,7 @@ JsonValue UnlinkOpenIdConnectRequest::ToJson() const
JsonValue UnlinkOpenIdConnectRequest::ToJson(const PFAccountManagementUnlinkOpenIdConnectRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "ConnectionId", input.connectionId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
@@ -2135,7 +2241,7 @@ JsonValue ClientUnlinkPSNAccountRequest::ToJson() const
JsonValue ClientUnlinkPSNAccountRequest::ToJson(const PFAccountManagementClientUnlinkPSNAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2147,7 +2253,7 @@ JsonValue UnlinkSteamAccountRequest::ToJson() const
JsonValue UnlinkSteamAccountRequest::ToJson(const PFAccountManagementUnlinkSteamAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2159,7 +2265,7 @@ JsonValue UnlinkTwitchAccountRequest::ToJson() const
JsonValue UnlinkTwitchAccountRequest::ToJson(const PFAccountManagementUnlinkTwitchAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AccessToken", input.accessToken);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
@@ -2172,7 +2278,7 @@ JsonValue ClientUnlinkXboxAccountRequest::ToJson() const
JsonValue ClientUnlinkXboxAccountRequest::ToJson(const PFAccountManagementClientUnlinkXboxAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -2184,7 +2290,7 @@ JsonValue ClientUpdateAvatarUrlRequest::ToJson() const
JsonValue ClientUpdateAvatarUrlRequest::ToJson(const PFAccountManagementClientUpdateAvatarUrlRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "ImageUrl", input.imageUrl);
return output;
}
@@ -2196,7 +2302,7 @@ JsonValue UpdateUserTitleDisplayNameRequest::ToJson() const
JsonValue UpdateUserTitleDisplayNameRequest::ToJson(const PFAccountManagementUpdateUserTitleDisplayNameRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "DisplayName", input.displayName);
return output;
@@ -2235,7 +2341,7 @@ HRESULT UpdateUserTitleDisplayNameResult::Copy(const PFAccountManagementUpdateUs
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.displayName);
+ auto propCopyResult = buffer.CopyTo(input.displayName);
RETURN_IF_FAILED(propCopyResult.hr);
output.displayName = propCopyResult.ExtractPayload();
}
@@ -2249,7 +2355,7 @@ JsonValue BanRequest::ToJson() const
JsonValue BanRequest::ToJson(const PFAccountManagementBanRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "DurationInHours", input.durationInHours);
JsonUtils::ObjectAddMember(output, "IPAddress", input.IPAddress);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
@@ -2265,7 +2371,7 @@ JsonValue BanUsersRequest::ToJson() const
JsonValue BanUsersRequest::ToJson(const PFAccountManagementBanUsersRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "Bans", input.bans, input.bansCount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
@@ -2354,37 +2460,37 @@ HRESULT BanInfo::Copy(const PFAccountManagementBanInfo& input, PFAccountManageme
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.banId);
+ auto propCopyResult = buffer.CopyTo(input.banId);
RETURN_IF_FAILED(propCopyResult.hr);
output.banId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.created);
+ auto propCopyResult = buffer.CopyTo(input.created);
RETURN_IF_FAILED(propCopyResult.hr);
output.created = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.expires);
+ auto propCopyResult = buffer.CopyTo(input.expires);
RETURN_IF_FAILED(propCopyResult.hr);
output.expires = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.IPAddress);
+ auto propCopyResult = buffer.CopyTo(input.IPAddress);
RETURN_IF_FAILED(propCopyResult.hr);
output.IPAddress = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.reason);
+ auto propCopyResult = buffer.CopyTo(input.reason);
RETURN_IF_FAILED(propCopyResult.hr);
output.reason = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.userFamilyType);
+ auto propCopyResult = buffer.CopyTo(input.userFamilyType);
RETURN_IF_FAILED(propCopyResult.hr);
output.userFamilyType = propCopyResult.ExtractPayload();
}
@@ -2439,7 +2545,7 @@ JsonValue DeletePlayerRequest::ToJson() const
JsonValue DeletePlayerRequest::ToJson(const PFAccountManagementDeletePlayerRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
}
@@ -2451,7 +2557,7 @@ JsonValue GetServerCustomIDsFromPlayFabIDsRequest::ToJson() const
JsonValue GetServerCustomIDsFromPlayFabIDsRequest::ToJson(const PFAccountManagementGetServerCustomIDsFromPlayFabIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "PlayFabIDs", input.playFabIDs, input.playFabIDsCount);
return output;
}
@@ -2497,12 +2603,12 @@ HRESULT ServerCustomIDPlayFabIDPair::Copy(const PFAccountManagementServerCustomI
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.playFabId);
+ auto propCopyResult = buffer.CopyTo(input.playFabId);
RETURN_IF_FAILED(propCopyResult.hr);
output.playFabId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.serverCustomId);
+ auto propCopyResult = buffer.CopyTo(input.serverCustomId);
RETURN_IF_FAILED(propCopyResult.hr);
output.serverCustomId = propCopyResult.ExtractPayload();
}
@@ -2557,7 +2663,7 @@ JsonValue GetUserAccountInfoRequest::ToJson() const
JsonValue GetUserAccountInfoRequest::ToJson(const PFAccountManagementGetUserAccountInfoRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
}
@@ -2598,7 +2704,7 @@ HRESULT GetUserAccountInfoResult::Copy(const PFAccountManagementGetUserAccountIn
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.userInfo);
+ auto propCopyResult = buffer.CopyTo(input.userInfo);
RETURN_IF_FAILED(propCopyResult.hr);
output.userInfo = propCopyResult.ExtractPayload();
}
@@ -2612,7 +2718,7 @@ JsonValue GetUserBansRequest::ToJson() const
JsonValue GetUserBansRequest::ToJson(const PFAccountManagementGetUserBansRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
}
@@ -2665,7 +2771,7 @@ JsonValue ServerLinkNintendoServiceAccountRequest::ToJson() const
JsonValue ServerLinkNintendoServiceAccountRequest::ToJson(const PFAccountManagementServerLinkNintendoServiceAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "IdentityToken", input.identityToken);
@@ -2680,7 +2786,7 @@ JsonValue LinkNintendoServiceAccountSubjectRequest::ToJson() const
JsonValue LinkNintendoServiceAccountSubjectRequest::ToJson(const PFAccountManagementLinkNintendoServiceAccountSubjectRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
@@ -2695,7 +2801,7 @@ JsonValue ServerLinkNintendoSwitchDeviceIdRequest::ToJson() const
JsonValue ServerLinkNintendoSwitchDeviceIdRequest::ToJson(const PFAccountManagementServerLinkNintendoSwitchDeviceIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "NintendoSwitchDeviceId", input.nintendoSwitchDeviceId);
@@ -2710,7 +2816,7 @@ JsonValue ServerLinkPSNAccountRequest::ToJson() const
JsonValue ServerLinkPSNAccountRequest::ToJson(const PFAccountManagementServerLinkPSNAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AuthCode", input.authCode);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
@@ -2727,7 +2833,7 @@ JsonValue LinkPSNIdRequest::ToJson() const
JsonValue LinkPSNIdRequest::ToJson(const PFAccountManagementLinkPSNIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "IssuerId", input.issuerId);
@@ -2743,7 +2849,7 @@ JsonValue LinkServerCustomIdRequest::ToJson() const
JsonValue LinkServerCustomIdRequest::ToJson(const PFAccountManagementLinkServerCustomIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
@@ -2758,7 +2864,7 @@ JsonValue LinkSteamIdRequest::ToJson() const
JsonValue LinkSteamIdRequest::ToJson(const PFAccountManagementLinkSteamIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
@@ -2773,7 +2879,7 @@ JsonValue ServerLinkXboxAccountRequest::ToJson() const
JsonValue ServerLinkXboxAccountRequest::ToJson(const PFAccountManagementServerLinkXboxAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "ForceLink", input.forceLink);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
@@ -2788,7 +2894,7 @@ JsonValue RevokeAllBansForUserRequest::ToJson() const
JsonValue RevokeAllBansForUserRequest::ToJson(const PFAccountManagementRevokeAllBansForUserRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
}
@@ -2841,7 +2947,7 @@ JsonValue RevokeBansRequest::ToJson() const
JsonValue RevokeBansRequest::ToJson(const PFAccountManagementRevokeBansRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "BanIds", input.banIds, input.banIdsCount);
return output;
}
@@ -2894,7 +3000,7 @@ JsonValue SendCustomAccountRecoveryEmailRequest::ToJson() const
JsonValue SendCustomAccountRecoveryEmailRequest::ToJson(const PFAccountManagementSendCustomAccountRecoveryEmailRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Email", input.email);
JsonUtils::ObjectAddMember(output, "EmailTemplateId", input.emailTemplateId);
@@ -2909,7 +3015,7 @@ JsonValue SendEmailFromTemplateRequest::ToJson() const
JsonValue SendEmailFromTemplateRequest::ToJson(const PFAccountManagementSendEmailFromTemplateRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "EmailTemplateId", input.emailTemplateId);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
@@ -2923,7 +3029,7 @@ JsonValue ServerUnlinkNintendoServiceAccountRequest::ToJson() const
JsonValue ServerUnlinkNintendoServiceAccountRequest::ToJson(const PFAccountManagementServerUnlinkNintendoServiceAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
@@ -2936,7 +3042,7 @@ JsonValue ServerUnlinkNintendoSwitchDeviceIdRequest::ToJson() const
JsonValue ServerUnlinkNintendoSwitchDeviceIdRequest::ToJson(const PFAccountManagementServerUnlinkNintendoSwitchDeviceIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "NintendoSwitchDeviceId", input.nintendoSwitchDeviceId);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
@@ -2950,7 +3056,7 @@ JsonValue ServerUnlinkPSNAccountRequest::ToJson() const
JsonValue ServerUnlinkPSNAccountRequest::ToJson(const PFAccountManagementServerUnlinkPSNAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
@@ -2963,7 +3069,7 @@ JsonValue UnlinkServerCustomIdRequest::ToJson() const
JsonValue UnlinkServerCustomIdRequest::ToJson(const PFAccountManagementUnlinkServerCustomIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
JsonUtils::ObjectAddMember(output, "ServerCustomId", input.serverCustomId);
@@ -2977,7 +3083,7 @@ JsonValue UnlinkSteamIdRequest::ToJson() const
JsonValue UnlinkSteamIdRequest::ToJson(const PFAccountManagementUnlinkSteamIdRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
@@ -2990,7 +3096,7 @@ JsonValue ServerUnlinkXboxAccountRequest::ToJson() const
JsonValue ServerUnlinkXboxAccountRequest::ToJson(const PFAccountManagementServerUnlinkXboxAccountRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
@@ -3003,7 +3109,7 @@ JsonValue ServerUpdateAvatarUrlRequest::ToJson() const
JsonValue ServerUpdateAvatarUrlRequest::ToJson(const PFAccountManagementServerUpdateAvatarUrlRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "ImageUrl", input.imageUrl);
JsonUtils::ObjectAddMember(output, "PlayFabId", input.playFabId);
return output;
@@ -3016,7 +3122,7 @@ JsonValue UpdateBanRequest::ToJson() const
JsonValue UpdateBanRequest::ToJson(const PFAccountManagementUpdateBanRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Active", input.active);
JsonUtils::ObjectAddMember(output, "BanId", input.banId);
JsonUtils::ObjectAddMemberTime(output, "Expires", input.expires);
@@ -3034,7 +3140,7 @@ JsonValue UpdateBansRequest::ToJson() const
JsonValue UpdateBansRequest::ToJson(const PFAccountManagementUpdateBansRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "Bans", input.bans, input.bansCount);
return output;
}
@@ -3087,7 +3193,7 @@ JsonValue GetTitlePlayersFromXboxLiveIDsRequest::ToJson() const
JsonValue GetTitlePlayersFromXboxLiveIDsRequest::ToJson(const PFAccountManagementGetTitlePlayersFromXboxLiveIDsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Sandbox", input.sandbox);
JsonUtils::ObjectAddMember(output, "TitleId", input.titleId);
@@ -3144,7 +3250,7 @@ JsonValue SetDisplayNameRequest::ToJson() const
JsonValue SetDisplayNameRequest::ToJson(const PFAccountManagementSetDisplayNameRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "DisplayName", input.displayName);
JsonUtils::ObjectAddMember(output, "Entity", input.entity);
@@ -3193,12 +3299,12 @@ HRESULT SetDisplayNameResponse::Copy(const PFAccountManagementSetDisplayNameResp
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.operationResult);
+ auto propCopyResult = buffer.CopyTo(input.operationResult);
RETURN_IF_FAILED(propCopyResult.hr);
output.operationResult = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.versionNumber);
+ auto propCopyResult = buffer.CopyTo(input.versionNumber);
RETURN_IF_FAILED(propCopyResult.hr);
output.versionNumber = propCopyResult.ExtractPayload();
}
diff --git a/Source/PlayFabServices/Source/Generated/AccountManagementTypes.h b/Source/PlayFabServices/Source/Generated/AccountManagementTypes.h
index 6fc3de2..acdaf55 100644
--- a/Source/PlayFabServices/Source/Generated/AccountManagementTypes.h
+++ b/Source/PlayFabServices/Source/Generated/AccountManagementTypes.h
@@ -729,6 +729,58 @@ class GetPlayFabIDsFromSteamIDsResult : public Wrappers::PFAccountManagementGetP
static HRESULT Copy(const PFAccountManagementGetPlayFabIDsFromSteamIDsResult& input, PFAccountManagementGetPlayFabIDsFromSteamIDsResult& output, ModelBuffer& buffer);
};
+class GetPlayFabIDsFromSteamNamesRequest : public Wrappers::PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper, public InputModel
+{
+public:
+ using ModelWrapperType = typename Wrappers::PFAccountManagementGetPlayFabIDsFromSteamNamesRequestWrapper;
+ using ModelWrapperType::ModelType;
+
+ // Constructors
+ using ModelWrapperType::ModelWrapperType;
+
+ // InputModel
+ JsonValue ToJson() const override;
+ static JsonValue ToJson(const PFAccountManagementGetPlayFabIDsFromSteamNamesRequest& input);
+};
+
+class SteamNamePlayFabIdPair : public Wrappers::PFAccountManagementSteamNamePlayFabIdPairWrapper, public ServiceOutputModel, public ClientOutputModel
+{
+public:
+ using ModelWrapperType = typename Wrappers::PFAccountManagementSteamNamePlayFabIdPairWrapper;
+ using ModelWrapperType::ModelType;
+
+ // Constructors
+ using ModelWrapperType::ModelWrapperType;
+
+ // ServiceOutputModel
+ HRESULT FromJson(const JsonValue& input) override;
+ // ClientOutputModel
+ size_t RequiredBufferSize() const override;
+ Result Copy(ModelBuffer& buffer) const override;
+
+ static size_t RequiredBufferSize(const PFAccountManagementSteamNamePlayFabIdPair& model);
+ static HRESULT Copy(const PFAccountManagementSteamNamePlayFabIdPair& input, PFAccountManagementSteamNamePlayFabIdPair& output, ModelBuffer& buffer);
+};
+
+class GetPlayFabIDsFromSteamNamesResult : public Wrappers::PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper, public ServiceOutputModel, public ClientOutputModel
+{
+public:
+ using ModelWrapperType = typename Wrappers::PFAccountManagementGetPlayFabIDsFromSteamNamesResultWrapper;
+ using ModelWrapperType::ModelType;
+
+ // Constructors
+ using ModelWrapperType::ModelWrapperType;
+
+ // ServiceOutputModel
+ HRESULT FromJson(const JsonValue& input) override;
+ // ClientOutputModel
+ size_t RequiredBufferSize() const override;
+ Result Copy(ModelBuffer& buffer) const override;
+
+ static size_t RequiredBufferSize(const PFAccountManagementGetPlayFabIDsFromSteamNamesResult& model);
+ static HRESULT Copy(const PFAccountManagementGetPlayFabIDsFromSteamNamesResult& input, PFAccountManagementGetPlayFabIDsFromSteamNamesResult& output, ModelBuffer& buffer);
+};
+
class GetPlayFabIDsFromTwitchIDsRequest : public Wrappers::PFAccountManagementGetPlayFabIDsFromTwitchIDsRequestWrapper, public InputModel
{
public:
diff --git a/Source/PlayFabServices/Source/Generated/CacheId.h b/Source/PlayFabServices/Source/Generated/CacheId.h
index 5d8c12d..45473c9 100644
--- a/Source/PlayFabServices/Source/Generated/CacheId.h
+++ b/Source/PlayFabServices/Source/Generated/CacheId.h
@@ -39,249 +39,251 @@ enum class ServicesCacheId : uint32_t
AccountManagementClientGetPlayFabIDsFromPSNAccountIDs = 2022,
AccountManagementClientGetPlayFabIDsFromPSNOnlineIDs = 2023,
AccountManagementClientGetPlayFabIDsFromSteamIDs = 2024,
- AccountManagementClientGetPlayFabIDsFromTwitchIDs = 2025,
- AccountManagementClientGetPlayFabIDsFromXboxLiveIDs = 2026,
- AccountManagementClientLinkAndroidDeviceID = 2027,
- AccountManagementClientLinkApple = 2028,
- AccountManagementClientLinkCustomID = 2029,
- AccountManagementClientLinkFacebookAccount = 2030,
- AccountManagementClientLinkFacebookInstantGamesId = 2031,
- AccountManagementClientLinkGameCenterAccount = 2032,
- AccountManagementClientLinkGoogleAccount = 2033,
- AccountManagementClientLinkGooglePlayGamesServicesAccount = 2034,
- AccountManagementClientLinkIOSDeviceID = 2035,
- AccountManagementClientLinkKongregate = 2036,
- AccountManagementClientLinkNintendoServiceAccount = 2037,
- AccountManagementClientLinkNintendoSwitchDeviceId = 2038,
- AccountManagementClientLinkOpenIdConnect = 2039,
- AccountManagementClientLinkPSNAccount = 2040,
- AccountManagementClientLinkSteamAccount = 2041,
- AccountManagementClientLinkTwitch = 2042,
- AccountManagementClientLinkXboxAccount = 2043,
- AccountManagementClientRemoveContactEmail = 2044,
- AccountManagementClientReportPlayer = 2045,
- AccountManagementClientSendAccountRecoveryEmail = 2046,
- AccountManagementClientUnlinkAndroidDeviceID = 2047,
- AccountManagementClientUnlinkApple = 2048,
- AccountManagementClientUnlinkCustomID = 2049,
- AccountManagementClientUnlinkFacebookAccount = 2050,
- AccountManagementClientUnlinkFacebookInstantGamesId = 2051,
- AccountManagementClientUnlinkGameCenterAccount = 2052,
- AccountManagementClientUnlinkGoogleAccount = 2053,
- AccountManagementClientUnlinkGooglePlayGamesServicesAccount = 2054,
- AccountManagementClientUnlinkIOSDeviceID = 2055,
- AccountManagementClientUnlinkKongregate = 2056,
- AccountManagementClientUnlinkNintendoServiceAccount = 2057,
- AccountManagementClientUnlinkNintendoSwitchDeviceId = 2058,
- AccountManagementClientUnlinkOpenIdConnect = 2059,
- AccountManagementClientUnlinkPSNAccount = 2060,
- AccountManagementClientUnlinkSteamAccount = 2061,
- AccountManagementClientUnlinkTwitch = 2062,
- AccountManagementClientUnlinkXboxAccount = 2063,
- AccountManagementClientUpdateAvatarUrl = 2064,
- AccountManagementClientUpdateUserTitleDisplayName = 2065,
- AccountManagementServerBanUsers = 2066,
- AccountManagementServerDeletePlayer = 2067,
- AccountManagementServerGetPlayerCombinedInfo = 2068,
- AccountManagementServerGetPlayerProfile = 2069,
- AccountManagementServerGetPlayFabIDsFromFacebookIDs = 2070,
- AccountManagementServerGetPlayFabIDsFromFacebookInstantGamesIds = 2071,
- AccountManagementServerGetPlayFabIDsFromNintendoServiceAccountIds = 2072,
- AccountManagementServerGetPlayFabIDsFromNintendoSwitchDeviceIds = 2073,
- AccountManagementServerGetPlayFabIDsFromPSNAccountIDs = 2074,
- AccountManagementServerGetPlayFabIDsFromPSNOnlineIDs = 2075,
- AccountManagementServerGetPlayFabIDsFromSteamIDs = 2076,
- AccountManagementServerGetPlayFabIDsFromTwitchIDs = 2077,
- AccountManagementServerGetPlayFabIDsFromXboxLiveIDs = 2078,
- AccountManagementServerGetServerCustomIDsFromPlayFabIDs = 2079,
- AccountManagementServerGetUserAccountInfo = 2080,
- AccountManagementServerGetUserBans = 2081,
- AccountManagementServerLinkNintendoServiceAccount = 2082,
- AccountManagementServerLinkNintendoServiceAccountSubject = 2083,
- AccountManagementServerLinkNintendoSwitchDeviceId = 2084,
- AccountManagementServerLinkPSNAccount = 2085,
- AccountManagementServerLinkPSNId = 2086,
- AccountManagementServerLinkServerCustomId = 2087,
- AccountManagementServerLinkSteamId = 2088,
- AccountManagementServerLinkXboxAccount = 2089,
- AccountManagementServerRevokeAllBansForUser = 2090,
- AccountManagementServerRevokeBans = 2091,
- AccountManagementServerSendCustomAccountRecoveryEmail = 2092,
- AccountManagementServerSendEmailFromTemplate = 2093,
- AccountManagementServerUnlinkNintendoServiceAccount = 2094,
- AccountManagementServerUnlinkNintendoSwitchDeviceId = 2095,
- AccountManagementServerUnlinkPSNAccount = 2096,
- AccountManagementServerUnlinkServerCustomId = 2097,
- AccountManagementServerUnlinkSteamId = 2098,
- AccountManagementServerUnlinkXboxAccount = 2099,
- AccountManagementServerUpdateAvatarUrl = 2100,
- AccountManagementServerUpdateBans = 2101,
- AccountManagementGetTitlePlayersFromXboxLiveIDs = 2102,
- AccountManagementSetDisplayName = 2103,
- PlatformSpecificClientAndroidDevicePushNotificationRegistration = 2104,
- PlatformSpecificClientRefreshPSNAuthToken = 2105,
- PlatformSpecificClientRegisterForIOSPushNotification = 2106,
- PlatformSpecificServerAwardSteamAchievement = 2107,
- CloudScriptClientExecuteCloudScript = 2108,
- CloudScriptServerExecuteCloudScript = 2109,
- CloudScriptExecuteEntityCloudScript = 2110,
- CloudScriptExecuteFunction = 2111,
- CloudScriptListEventHubFunctions = 2112,
- CloudScriptRegisterEventHubFunction = 2113,
- SegmentsClientGetPlayerSegments = 2114,
- SegmentsClientGetPlayerTags = 2115,
- SegmentsServerAddPlayerTag = 2116,
- SegmentsServerGetAllSegments = 2117,
- SegmentsServerGetPlayerSegments = 2118,
- SegmentsServerGetPlayersInSegment = 2119,
- SegmentsServerGetPlayerTags = 2120,
- SegmentsServerRemovePlayerTag = 2121,
- TitleDataManagementClientGetPublisherData = 2122,
- TitleDataManagementClientGetTime = 2123,
- TitleDataManagementClientGetTitleData = 2124,
- TitleDataManagementClientGetTitleNews = 2125,
- TitleDataManagementServerGetPublisherData = 2126,
- TitleDataManagementServerGetTime = 2127,
- TitleDataManagementServerGetTitleData = 2128,
- TitleDataManagementServerGetTitleInternalData = 2129,
- TitleDataManagementServerGetTitleNews = 2130,
- TitleDataManagementServerSetPublisherData = 2131,
- TitleDataManagementServerSetTitleData = 2132,
- TitleDataManagementServerSetTitleInternalData = 2133,
- PlayerDataManagementClientGetUserData = 2134,
- PlayerDataManagementClientGetUserPublisherData = 2135,
- PlayerDataManagementClientGetUserPublisherReadOnlyData = 2136,
- PlayerDataManagementClientGetUserReadOnlyData = 2137,
- PlayerDataManagementClientUpdateUserData = 2138,
- PlayerDataManagementClientUpdateUserPublisherData = 2139,
- PlayerDataManagementServerGetUserData = 2140,
- PlayerDataManagementServerGetUserInternalData = 2141,
- PlayerDataManagementServerGetUserPublisherData = 2142,
- PlayerDataManagementServerGetUserPublisherInternalData = 2143,
- PlayerDataManagementServerGetUserPublisherReadOnlyData = 2144,
- PlayerDataManagementServerGetUserReadOnlyData = 2145,
- PlayerDataManagementServerUpdateUserData = 2146,
- PlayerDataManagementServerUpdateUserInternalData = 2147,
- PlayerDataManagementServerUpdateUserPublisherData = 2148,
- PlayerDataManagementServerUpdateUserPublisherInternalData = 2149,
- PlayerDataManagementServerUpdateUserPublisherReadOnlyData = 2150,
- PlayerDataManagementServerUpdateUserReadOnlyData = 2151,
- PushNotificationsServerSendPushNotification = 2152,
- PushNotificationsServerSendPushNotificationFromTemplate = 2153,
- DataAbortFileUploads = 2154,
- DataDeleteFiles = 2155,
- DataFinalizeFileUploads = 2156,
- DataGetFiles = 2157,
- DataGetObjects = 2158,
- DataInitiateFileUploads = 2159,
- DataSetObjects = 2160,
- InventoryAddInventoryItems = 2161,
- InventoryDeleteInventoryCollection = 2162,
- InventoryDeleteInventoryItems = 2163,
- InventoryExecuteInventoryOperations = 2164,
- InventoryExecuteTransferOperations = 2165,
- InventoryGetInventoryCollectionIds = 2166,
- InventoryGetInventoryItems = 2167,
- InventoryGetInventoryOperationStatus = 2168,
- InventoryGetMicrosoftStoreAccessTokens = 2169,
- InventoryGetTransactionHistory = 2170,
- InventoryPurchaseInventoryItems = 2171,
- InventoryRedeemAppleAppStoreInventoryItems = 2172,
- InventoryRedeemGooglePlayInventoryItems = 2173,
- InventoryRedeemMicrosoftStoreInventoryItems = 2174,
- InventoryRedeemNintendoEShopInventoryItems = 2175,
- InventoryRedeemPlayStationStoreInventoryItems = 2176,
- InventoryRedeemSteamInventoryItems = 2177,
- InventorySubtractInventoryItems = 2178,
- InventoryTransferInventoryItems = 2179,
- InventoryUpdateInventoryItems = 2180,
- CatalogCreateDraftItem = 2181,
- CatalogCreateUploadUrls = 2182,
- CatalogDeleteEntityItemReviews = 2183,
- CatalogDeleteItem = 2184,
- CatalogGetCatalogConfig = 2185,
- CatalogGetDraftItem = 2186,
- CatalogGetDraftItems = 2187,
- CatalogGetEntityDraftItems = 2188,
- CatalogGetEntityItemReview = 2189,
- CatalogGetItem = 2190,
- CatalogGetItemContainers = 2191,
- CatalogGetItemModerationState = 2192,
- CatalogGetItemPublishStatus = 2193,
- CatalogGetItemReviews = 2194,
- CatalogGetItemReviewSummary = 2195,
- CatalogGetItems = 2196,
- CatalogPublishDraftItem = 2197,
- CatalogReportItem = 2198,
- CatalogReportItemReview = 2199,
- CatalogReviewItem = 2200,
- CatalogSearchItems = 2201,
- CatalogSetItemModerationState = 2202,
- CatalogSubmitItemReviewVote = 2203,
- CatalogTakedownItemReviews = 2204,
- CatalogUpdateCatalogConfig = 2205,
- CatalogUpdateDraftItem = 2206,
- ExperimentationGetTreatmentAssignment = 2207,
- GroupsAcceptGroupApplication = 2208,
- GroupsAcceptGroupInvitation = 2209,
- GroupsAddMembers = 2210,
- GroupsApplyToGroup = 2211,
- GroupsBlockEntity = 2212,
- GroupsChangeMemberRole = 2213,
- GroupsCreateGroup = 2214,
- GroupsCreateRole = 2215,
- GroupsDeleteGroup = 2216,
- GroupsDeleteRole = 2217,
- GroupsGetGroup = 2218,
- GroupsInviteToGroup = 2219,
- GroupsIsMember = 2220,
- GroupsListGroupApplications = 2221,
- GroupsListGroupBlocks = 2222,
- GroupsListGroupInvitations = 2223,
- GroupsListGroupMembers = 2224,
- GroupsListMembership = 2225,
- GroupsListMembershipOpportunities = 2226,
- GroupsRemoveGroupApplication = 2227,
- GroupsRemoveGroupInvitation = 2228,
- GroupsRemoveMembers = 2229,
- GroupsUnblockEntity = 2230,
- GroupsUpdateGroup = 2231,
- GroupsUpdateRole = 2232,
- LeaderboardsCreateLeaderboardDefinition = 2233,
- LeaderboardsDeleteLeaderboardDefinition = 2234,
- LeaderboardsDeleteLeaderboardEntries = 2235,
- LeaderboardsGetFriendLeaderboardForEntity = 2236,
- LeaderboardsGetLeaderboard = 2237,
- LeaderboardsGetLeaderboardAroundEntity = 2238,
- LeaderboardsGetLeaderboardDefinition = 2239,
- LeaderboardsGetLeaderboardForEntities = 2240,
- LeaderboardsIncrementLeaderboardVersion = 2241,
- LeaderboardsListLeaderboardDefinitions = 2242,
- LeaderboardsUnlinkLeaderboardFromStatistic = 2243,
- LeaderboardsUpdateLeaderboardEntries = 2244,
- StatisticsCreateStatisticDefinition = 2245,
- StatisticsDeleteStatisticDefinition = 2246,
- StatisticsDeleteStatistics = 2247,
- StatisticsGetStatisticDefinition = 2248,
- StatisticsGetStatistics = 2249,
- StatisticsGetStatisticsForEntities = 2250,
- StatisticsIncrementStatisticVersion = 2251,
- StatisticsListStatisticDefinitions = 2252,
- StatisticsUpdateStatistics = 2253,
- LocalizationGetLanguageList = 2254,
- MultiplayerServerDeleteSecret = 2255,
- MultiplayerServerListBuildAliases = 2256,
- MultiplayerServerListBuildSummariesV2 = 2257,
- MultiplayerServerListQosServersForTitle = 2258,
- MultiplayerServerListSecretSummaries = 2259,
- MultiplayerServerRequestMultiplayerServer = 2260,
- MultiplayerServerRequestPartyService = 2261,
- MultiplayerServerUploadSecret = 2262,
- ProfilesGetProfile = 2263,
- ProfilesGetProfiles = 2264,
- ProfilesGetTitlePlayersFromMasterPlayerAccountIds = 2265,
- ProfilesSetProfileLanguage = 2266,
- ProfilesSetProfilePolicy = 2267,
+ AccountManagementClientGetPlayFabIDsFromSteamNames = 2025,
+ AccountManagementClientGetPlayFabIDsFromTwitchIDs = 2026,
+ AccountManagementClientGetPlayFabIDsFromXboxLiveIDs = 2027,
+ AccountManagementClientLinkAndroidDeviceID = 2028,
+ AccountManagementClientLinkApple = 2029,
+ AccountManagementClientLinkCustomID = 2030,
+ AccountManagementClientLinkFacebookAccount = 2031,
+ AccountManagementClientLinkFacebookInstantGamesId = 2032,
+ AccountManagementClientLinkGameCenterAccount = 2033,
+ AccountManagementClientLinkGoogleAccount = 2034,
+ AccountManagementClientLinkGooglePlayGamesServicesAccount = 2035,
+ AccountManagementClientLinkIOSDeviceID = 2036,
+ AccountManagementClientLinkKongregate = 2037,
+ AccountManagementClientLinkNintendoServiceAccount = 2038,
+ AccountManagementClientLinkNintendoSwitchDeviceId = 2039,
+ AccountManagementClientLinkOpenIdConnect = 2040,
+ AccountManagementClientLinkPSNAccount = 2041,
+ AccountManagementClientLinkSteamAccount = 2042,
+ AccountManagementClientLinkTwitch = 2043,
+ AccountManagementClientLinkXboxAccount = 2044,
+ AccountManagementClientRemoveContactEmail = 2045,
+ AccountManagementClientReportPlayer = 2046,
+ AccountManagementClientSendAccountRecoveryEmail = 2047,
+ AccountManagementClientUnlinkAndroidDeviceID = 2048,
+ AccountManagementClientUnlinkApple = 2049,
+ AccountManagementClientUnlinkCustomID = 2050,
+ AccountManagementClientUnlinkFacebookAccount = 2051,
+ AccountManagementClientUnlinkFacebookInstantGamesId = 2052,
+ AccountManagementClientUnlinkGameCenterAccount = 2053,
+ AccountManagementClientUnlinkGoogleAccount = 2054,
+ AccountManagementClientUnlinkGooglePlayGamesServicesAccount = 2055,
+ AccountManagementClientUnlinkIOSDeviceID = 2056,
+ AccountManagementClientUnlinkKongregate = 2057,
+ AccountManagementClientUnlinkNintendoServiceAccount = 2058,
+ AccountManagementClientUnlinkNintendoSwitchDeviceId = 2059,
+ AccountManagementClientUnlinkOpenIdConnect = 2060,
+ AccountManagementClientUnlinkPSNAccount = 2061,
+ AccountManagementClientUnlinkSteamAccount = 2062,
+ AccountManagementClientUnlinkTwitch = 2063,
+ AccountManagementClientUnlinkXboxAccount = 2064,
+ AccountManagementClientUpdateAvatarUrl = 2065,
+ AccountManagementClientUpdateUserTitleDisplayName = 2066,
+ AccountManagementServerBanUsers = 2067,
+ AccountManagementServerDeletePlayer = 2068,
+ AccountManagementServerGetPlayerCombinedInfo = 2069,
+ AccountManagementServerGetPlayerProfile = 2070,
+ AccountManagementServerGetPlayFabIDsFromFacebookIDs = 2071,
+ AccountManagementServerGetPlayFabIDsFromFacebookInstantGamesIds = 2072,
+ AccountManagementServerGetPlayFabIDsFromNintendoServiceAccountIds = 2073,
+ AccountManagementServerGetPlayFabIDsFromNintendoSwitchDeviceIds = 2074,
+ AccountManagementServerGetPlayFabIDsFromPSNAccountIDs = 2075,
+ AccountManagementServerGetPlayFabIDsFromPSNOnlineIDs = 2076,
+ AccountManagementServerGetPlayFabIDsFromSteamIDs = 2077,
+ AccountManagementServerGetPlayFabIDsFromSteamNames = 2078,
+ AccountManagementServerGetPlayFabIDsFromTwitchIDs = 2079,
+ AccountManagementServerGetPlayFabIDsFromXboxLiveIDs = 2080,
+ AccountManagementServerGetServerCustomIDsFromPlayFabIDs = 2081,
+ AccountManagementServerGetUserAccountInfo = 2082,
+ AccountManagementServerGetUserBans = 2083,
+ AccountManagementServerLinkNintendoServiceAccount = 2084,
+ AccountManagementServerLinkNintendoServiceAccountSubject = 2085,
+ AccountManagementServerLinkNintendoSwitchDeviceId = 2086,
+ AccountManagementServerLinkPSNAccount = 2087,
+ AccountManagementServerLinkPSNId = 2088,
+ AccountManagementServerLinkServerCustomId = 2089,
+ AccountManagementServerLinkSteamId = 2090,
+ AccountManagementServerLinkXboxAccount = 2091,
+ AccountManagementServerRevokeAllBansForUser = 2092,
+ AccountManagementServerRevokeBans = 2093,
+ AccountManagementServerSendCustomAccountRecoveryEmail = 2094,
+ AccountManagementServerSendEmailFromTemplate = 2095,
+ AccountManagementServerUnlinkNintendoServiceAccount = 2096,
+ AccountManagementServerUnlinkNintendoSwitchDeviceId = 2097,
+ AccountManagementServerUnlinkPSNAccount = 2098,
+ AccountManagementServerUnlinkServerCustomId = 2099,
+ AccountManagementServerUnlinkSteamId = 2100,
+ AccountManagementServerUnlinkXboxAccount = 2101,
+ AccountManagementServerUpdateAvatarUrl = 2102,
+ AccountManagementServerUpdateBans = 2103,
+ AccountManagementGetTitlePlayersFromXboxLiveIDs = 2104,
+ AccountManagementSetDisplayName = 2105,
+ PlatformSpecificClientAndroidDevicePushNotificationRegistration = 2106,
+ PlatformSpecificClientRefreshPSNAuthToken = 2107,
+ PlatformSpecificClientRegisterForIOSPushNotification = 2108,
+ PlatformSpecificServerAwardSteamAchievement = 2109,
+ CloudScriptClientExecuteCloudScript = 2110,
+ CloudScriptServerExecuteCloudScript = 2111,
+ CloudScriptExecuteEntityCloudScript = 2112,
+ CloudScriptExecuteFunction = 2113,
+ CloudScriptListEventHubFunctions = 2114,
+ CloudScriptRegisterEventHubFunction = 2115,
+ SegmentsClientGetPlayerSegments = 2116,
+ SegmentsClientGetPlayerTags = 2117,
+ SegmentsServerAddPlayerTag = 2118,
+ SegmentsServerGetAllSegments = 2119,
+ SegmentsServerGetPlayerSegments = 2120,
+ SegmentsServerGetPlayersInSegment = 2121,
+ SegmentsServerGetPlayerTags = 2122,
+ SegmentsServerRemovePlayerTag = 2123,
+ TitleDataManagementClientGetPublisherData = 2124,
+ TitleDataManagementClientGetTime = 2125,
+ TitleDataManagementClientGetTitleData = 2126,
+ TitleDataManagementClientGetTitleNews = 2127,
+ TitleDataManagementServerGetPublisherData = 2128,
+ TitleDataManagementServerGetTime = 2129,
+ TitleDataManagementServerGetTitleData = 2130,
+ TitleDataManagementServerGetTitleInternalData = 2131,
+ TitleDataManagementServerGetTitleNews = 2132,
+ TitleDataManagementServerSetPublisherData = 2133,
+ TitleDataManagementServerSetTitleData = 2134,
+ TitleDataManagementServerSetTitleInternalData = 2135,
+ PlayerDataManagementClientGetUserData = 2136,
+ PlayerDataManagementClientGetUserPublisherData = 2137,
+ PlayerDataManagementClientGetUserPublisherReadOnlyData = 2138,
+ PlayerDataManagementClientGetUserReadOnlyData = 2139,
+ PlayerDataManagementClientUpdateUserData = 2140,
+ PlayerDataManagementClientUpdateUserPublisherData = 2141,
+ PlayerDataManagementServerGetUserData = 2142,
+ PlayerDataManagementServerGetUserInternalData = 2143,
+ PlayerDataManagementServerGetUserPublisherData = 2144,
+ PlayerDataManagementServerGetUserPublisherInternalData = 2145,
+ PlayerDataManagementServerGetUserPublisherReadOnlyData = 2146,
+ PlayerDataManagementServerGetUserReadOnlyData = 2147,
+ PlayerDataManagementServerUpdateUserData = 2148,
+ PlayerDataManagementServerUpdateUserInternalData = 2149,
+ PlayerDataManagementServerUpdateUserPublisherData = 2150,
+ PlayerDataManagementServerUpdateUserPublisherInternalData = 2151,
+ PlayerDataManagementServerUpdateUserPublisherReadOnlyData = 2152,
+ PlayerDataManagementServerUpdateUserReadOnlyData = 2153,
+ PushNotificationsServerSendPushNotification = 2154,
+ PushNotificationsServerSendPushNotificationFromTemplate = 2155,
+ DataAbortFileUploads = 2156,
+ DataDeleteFiles = 2157,
+ DataFinalizeFileUploads = 2158,
+ DataGetFiles = 2159,
+ DataGetObjects = 2160,
+ DataInitiateFileUploads = 2161,
+ DataSetObjects = 2162,
+ InventoryAddInventoryItems = 2163,
+ InventoryDeleteInventoryCollection = 2164,
+ InventoryDeleteInventoryItems = 2165,
+ InventoryExecuteInventoryOperations = 2166,
+ InventoryExecuteTransferOperations = 2167,
+ InventoryGetInventoryCollectionIds = 2168,
+ InventoryGetInventoryItems = 2169,
+ InventoryGetInventoryOperationStatus = 2170,
+ InventoryGetMicrosoftStoreAccessTokens = 2171,
+ InventoryGetTransactionHistory = 2172,
+ InventoryPurchaseInventoryItems = 2173,
+ InventoryRedeemAppleAppStoreInventoryItems = 2174,
+ InventoryRedeemGooglePlayInventoryItems = 2175,
+ InventoryRedeemMicrosoftStoreInventoryItems = 2176,
+ InventoryRedeemNintendoEShopInventoryItems = 2177,
+ InventoryRedeemPlayStationStoreInventoryItems = 2178,
+ InventoryRedeemSteamInventoryItems = 2179,
+ InventorySubtractInventoryItems = 2180,
+ InventoryTransferInventoryItems = 2181,
+ InventoryUpdateInventoryItems = 2182,
+ CatalogCreateDraftItem = 2183,
+ CatalogCreateUploadUrls = 2184,
+ CatalogDeleteEntityItemReviews = 2185,
+ CatalogDeleteItem = 2186,
+ CatalogGetCatalogConfig = 2187,
+ CatalogGetDraftItem = 2188,
+ CatalogGetDraftItems = 2189,
+ CatalogGetEntityDraftItems = 2190,
+ CatalogGetEntityItemReview = 2191,
+ CatalogGetItem = 2192,
+ CatalogGetItemContainers = 2193,
+ CatalogGetItemModerationState = 2194,
+ CatalogGetItemPublishStatus = 2195,
+ CatalogGetItemReviews = 2196,
+ CatalogGetItemReviewSummary = 2197,
+ CatalogGetItems = 2198,
+ CatalogPublishDraftItem = 2199,
+ CatalogReportItem = 2200,
+ CatalogReportItemReview = 2201,
+ CatalogReviewItem = 2202,
+ CatalogSearchItems = 2203,
+ CatalogSetItemModerationState = 2204,
+ CatalogSubmitItemReviewVote = 2205,
+ CatalogTakedownItemReviews = 2206,
+ CatalogUpdateCatalogConfig = 2207,
+ CatalogUpdateDraftItem = 2208,
+ ExperimentationGetTreatmentAssignment = 2209,
+ GroupsAcceptGroupApplication = 2210,
+ GroupsAcceptGroupInvitation = 2211,
+ GroupsAddMembers = 2212,
+ GroupsApplyToGroup = 2213,
+ GroupsBlockEntity = 2214,
+ GroupsChangeMemberRole = 2215,
+ GroupsCreateGroup = 2216,
+ GroupsCreateRole = 2217,
+ GroupsDeleteGroup = 2218,
+ GroupsDeleteRole = 2219,
+ GroupsGetGroup = 2220,
+ GroupsInviteToGroup = 2221,
+ GroupsIsMember = 2222,
+ GroupsListGroupApplications = 2223,
+ GroupsListGroupBlocks = 2224,
+ GroupsListGroupInvitations = 2225,
+ GroupsListGroupMembers = 2226,
+ GroupsListMembership = 2227,
+ GroupsListMembershipOpportunities = 2228,
+ GroupsRemoveGroupApplication = 2229,
+ GroupsRemoveGroupInvitation = 2230,
+ GroupsRemoveMembers = 2231,
+ GroupsUnblockEntity = 2232,
+ GroupsUpdateGroup = 2233,
+ GroupsUpdateRole = 2234,
+ LeaderboardsCreateLeaderboardDefinition = 2235,
+ LeaderboardsDeleteLeaderboardDefinition = 2236,
+ LeaderboardsDeleteLeaderboardEntries = 2237,
+ LeaderboardsGetFriendLeaderboardForEntity = 2238,
+ LeaderboardsGetLeaderboard = 2239,
+ LeaderboardsGetLeaderboardAroundEntity = 2240,
+ LeaderboardsGetLeaderboardDefinition = 2241,
+ LeaderboardsGetLeaderboardForEntities = 2242,
+ LeaderboardsIncrementLeaderboardVersion = 2243,
+ LeaderboardsListLeaderboardDefinitions = 2244,
+ LeaderboardsUnlinkLeaderboardFromStatistic = 2245,
+ LeaderboardsUpdateLeaderboardEntries = 2246,
+ StatisticsCreateStatisticDefinition = 2247,
+ StatisticsDeleteStatisticDefinition = 2248,
+ StatisticsDeleteStatistics = 2249,
+ StatisticsGetStatisticDefinition = 2250,
+ StatisticsGetStatistics = 2251,
+ StatisticsGetStatisticsForEntities = 2252,
+ StatisticsIncrementStatisticVersion = 2253,
+ StatisticsListStatisticDefinitions = 2254,
+ StatisticsUpdateStatistics = 2255,
+ LocalizationGetLanguageList = 2256,
+ MultiplayerServerDeleteSecret = 2257,
+ MultiplayerServerListBuildAliases = 2258,
+ MultiplayerServerListBuildSummariesV2 = 2259,
+ MultiplayerServerListQosServersForTitle = 2260,
+ MultiplayerServerListSecretSummaries = 2261,
+ MultiplayerServerRequestMultiplayerServer = 2262,
+ MultiplayerServerRequestPartyService = 2263,
+ MultiplayerServerUploadSecret = 2264,
+ ProfilesGetProfile = 2265,
+ ProfilesGetProfiles = 2266,
+ ProfilesGetTitlePlayersFromMasterPlayerAccountIds = 2267,
+ ProfilesSetProfileLanguage = 2268,
+ ProfilesSetProfilePolicy = 2269,
};
} // namespace PlayFab
\ No newline at end of file
diff --git a/Source/PlayFabServices/Source/Generated/CatalogTypes.cpp b/Source/PlayFabServices/Source/Generated/CatalogTypes.cpp
index 0305930..e5e1f33 100644
--- a/Source/PlayFabServices/Source/Generated/CatalogTypes.cpp
+++ b/Source/PlayFabServices/Source/Generated/CatalogTypes.cpp
@@ -15,7 +15,7 @@ JsonValue CatalogAlternateId::ToJson() const
JsonValue CatalogAlternateId::ToJson(const PFCatalogCatalogAlternateId& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Type", input.type);
JsonUtils::ObjectAddMember(output, "Value", input.value);
return output;
@@ -62,12 +62,12 @@ HRESULT CatalogAlternateId::Copy(const PFCatalogCatalogAlternateId& input, PFCat
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.type);
+ auto propCopyResult = buffer.CopyTo(input.type);
RETURN_IF_FAILED(propCopyResult.hr);
output.type = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.value);
+ auto propCopyResult = buffer.CopyTo(input.value);
RETURN_IF_FAILED(propCopyResult.hr);
output.value = propCopyResult.ExtractPayload();
}
@@ -81,7 +81,7 @@ JsonValue Content::ToJson() const
JsonValue Content::ToJson(const PFCatalogContent& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Id", input.id);
JsonUtils::ObjectAddMember(output, "MaxClientVersion", input.maxClientVersion);
JsonUtils::ObjectAddMember(output, "MinClientVersion", input.minClientVersion);
@@ -165,17 +165,17 @@ HRESULT Content::Copy(const PFCatalogContent& input, PFCatalogContent& output, M
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.id);
+ auto propCopyResult = buffer.CopyTo(input.id);
RETURN_IF_FAILED(propCopyResult.hr);
output.id = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.maxClientVersion);
+ auto propCopyResult = buffer.CopyTo(input.maxClientVersion);
RETURN_IF_FAILED(propCopyResult.hr);
output.maxClientVersion = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.minClientVersion);
+ auto propCopyResult = buffer.CopyTo(input.minClientVersion);
RETURN_IF_FAILED(propCopyResult.hr);
output.minClientVersion = propCopyResult.ExtractPayload();
}
@@ -185,12 +185,12 @@ HRESULT Content::Copy(const PFCatalogContent& input, PFCatalogContent& output, M
output.tags = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.type);
+ auto propCopyResult = buffer.CopyTo(input.type);
RETURN_IF_FAILED(propCopyResult.hr);
output.type = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.url);
+ auto propCopyResult = buffer.CopyTo(input.url);
RETURN_IF_FAILED(propCopyResult.hr);
output.url = propCopyResult.ExtractPayload();
}
@@ -204,7 +204,7 @@ JsonValue DeepLink::ToJson() const
JsonValue DeepLink::ToJson(const PFCatalogDeepLink& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Platform", input.platform);
JsonUtils::ObjectAddMember(output, "Url", input.url);
return output;
@@ -251,12 +251,12 @@ HRESULT DeepLink::Copy(const PFCatalogDeepLink& input, PFCatalogDeepLink& output
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.platform);
+ auto propCopyResult = buffer.CopyTo(input.platform);
RETURN_IF_FAILED(propCopyResult.hr);
output.platform = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.url);
+ auto propCopyResult = buffer.CopyTo(input.url);
RETURN_IF_FAILED(propCopyResult.hr);
output.url = propCopyResult.ExtractPayload();
}
@@ -270,7 +270,7 @@ JsonValue Image::ToJson() const
JsonValue Image::ToJson(const PFCatalogImage& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Id", input.id);
JsonUtils::ObjectAddMember(output, "Tag", input.tag);
JsonUtils::ObjectAddMember(output, "Type", input.type);
@@ -335,22 +335,22 @@ HRESULT Image::Copy(const PFCatalogImage& input, PFCatalogImage& output, ModelBu
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.id);
+ auto propCopyResult = buffer.CopyTo(input.id);
RETURN_IF_FAILED(propCopyResult.hr);
output.id = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.tag);
+ auto propCopyResult = buffer.CopyTo(input.tag);
RETURN_IF_FAILED(propCopyResult.hr);
output.tag = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.type);
+ auto propCopyResult = buffer.CopyTo(input.type);
RETURN_IF_FAILED(propCopyResult.hr);
output.type = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.url);
+ auto propCopyResult = buffer.CopyTo(input.url);
RETURN_IF_FAILED(propCopyResult.hr);
output.url = propCopyResult.ExtractPayload();
}
@@ -364,7 +364,7 @@ JsonValue CatalogPriceAmount::ToJson() const
JsonValue CatalogPriceAmount::ToJson(const PFCatalogCatalogPriceAmount& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Amount", input.amount);
JsonUtils::ObjectAddMember(output, "ItemId", input.itemId);
return output;
@@ -405,7 +405,7 @@ HRESULT CatalogPriceAmount::Copy(const PFCatalogCatalogPriceAmount& input, PFCat
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.itemId);
+ auto propCopyResult = buffer.CopyTo(input.itemId);
RETURN_IF_FAILED(propCopyResult.hr);
output.itemId = propCopyResult.ExtractPayload();
}
@@ -419,7 +419,7 @@ JsonValue CatalogPrice::ToJson() const
JsonValue CatalogPrice::ToJson(const PFCatalogCatalogPrice& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "Amounts", input.amounts, input.amountsCount);
JsonUtils::ObjectAddMember(output, "UnitAmount", input.unitAmount);
JsonUtils::ObjectAddMember(output, "UnitDurationInSeconds", input.unitDurationInSeconds);
@@ -481,12 +481,12 @@ HRESULT CatalogPrice::Copy(const PFCatalogCatalogPrice& input, PFCatalogCatalogP
output.amounts = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.unitAmount);
+ auto propCopyResult = buffer.CopyTo(input.unitAmount);
RETURN_IF_FAILED(propCopyResult.hr);
output.unitAmount = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.unitDurationInSeconds);
+ auto propCopyResult = buffer.CopyTo(input.unitDurationInSeconds);
RETURN_IF_FAILED(propCopyResult.hr);
output.unitDurationInSeconds = propCopyResult.ExtractPayload();
}
@@ -500,7 +500,7 @@ JsonValue CatalogPriceOptions::ToJson() const
JsonValue CatalogPriceOptions::ToJson(const PFCatalogCatalogPriceOptions& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "Prices", input.prices, input.pricesCount);
return output;
}
@@ -553,7 +553,7 @@ JsonValue CatalogItemReference::ToJson() const
JsonValue CatalogItemReference::ToJson(const PFCatalogCatalogItemReference& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Amount", input.amount);
JsonUtils::ObjectAddMember(output, "Id", input.id);
JsonUtils::ObjectAddMember(output, "PriceOptions", input.priceOptions);
@@ -612,17 +612,17 @@ HRESULT CatalogItemReference::Copy(const PFCatalogCatalogItemReference& input, P
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.amount);
+ auto propCopyResult = buffer.CopyTo(input.amount);
RETURN_IF_FAILED(propCopyResult.hr);
output.amount = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.id);
+ auto propCopyResult = buffer.CopyTo(input.id);
RETURN_IF_FAILED(propCopyResult.hr);
output.id = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.priceOptions);
+ auto propCopyResult = buffer.CopyTo(input.priceOptions);
RETURN_IF_FAILED(propCopyResult.hr);
output.priceOptions = propCopyResult.ExtractPayload();
}
@@ -636,7 +636,7 @@ JsonValue KeywordSet::ToJson() const
JsonValue KeywordSet::ToJson(const PFCatalogKeywordSet& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "Values", input.values, input.valuesCount);
return output;
}
@@ -689,7 +689,7 @@ JsonValue ModerationState::ToJson() const
JsonValue ModerationState::ToJson(const PFCatalogModerationState& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberTime(output, "LastModifiedDate", input.lastModifiedDate);
JsonUtils::ObjectAddMember(output, "Reason", input.reason);
JsonUtils::ObjectAddMember(output, "Status", input.status);
@@ -745,17 +745,17 @@ HRESULT ModerationState::Copy(const PFCatalogModerationState& input, PFCatalogMo
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.lastModifiedDate);
+ auto propCopyResult = buffer.CopyTo(input.lastModifiedDate);
RETURN_IF_FAILED(propCopyResult.hr);
output.lastModifiedDate = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.reason);
+ auto propCopyResult = buffer.CopyTo(input.reason);
RETURN_IF_FAILED(propCopyResult.hr);
output.reason = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.status);
+ auto propCopyResult = buffer.CopyTo(input.status);
RETURN_IF_FAILED(propCopyResult.hr);
output.status = propCopyResult.ExtractPayload();
}
@@ -769,7 +769,7 @@ JsonValue Rating::ToJson() const
JsonValue Rating::ToJson(const PFCatalogRating& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Average", input.average);
JsonUtils::ObjectAddMember(output, "Count1Star", input.count1Star);
JsonUtils::ObjectAddMember(output, "Count2Star", input.count2Star);
@@ -861,37 +861,37 @@ HRESULT Rating::Copy(const PFCatalogRating& input, PFCatalogRating& output, Mode
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.average);
+ auto propCopyResult = buffer.CopyTo(input.average);
RETURN_IF_FAILED(propCopyResult.hr);
output.average = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.count1Star);
+ auto propCopyResult = buffer.CopyTo(input.count1Star);
RETURN_IF_FAILED(propCopyResult.hr);
output.count1Star = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.count2Star);
+ auto propCopyResult = buffer.CopyTo(input.count2Star);
RETURN_IF_FAILED(propCopyResult.hr);
output.count2Star = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.count3Star);
+ auto propCopyResult = buffer.CopyTo(input.count3Star);
RETURN_IF_FAILED(propCopyResult.hr);
output.count3Star = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.count4Star);
+ auto propCopyResult = buffer.CopyTo(input.count4Star);
RETURN_IF_FAILED(propCopyResult.hr);
output.count4Star = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.count5Star);
+ auto propCopyResult = buffer.CopyTo(input.count5Star);
RETURN_IF_FAILED(propCopyResult.hr);
output.count5Star = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.totalCount);
+ auto propCopyResult = buffer.CopyTo(input.totalCount);
RETURN_IF_FAILED(propCopyResult.hr);
output.totalCount = propCopyResult.ExtractPayload();
}
@@ -905,7 +905,7 @@ JsonValue FilterOptions::ToJson() const
JsonValue FilterOptions::ToJson(const PFCatalogFilterOptions& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Filter", input.filter);
JsonUtils::ObjectAddMember(output, "IncludeAllItems", input.includeAllItems);
return output;
@@ -952,12 +952,12 @@ HRESULT FilterOptions::Copy(const PFCatalogFilterOptions& input, PFCatalogFilter
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.filter);
+ auto propCopyResult = buffer.CopyTo(input.filter);
RETURN_IF_FAILED(propCopyResult.hr);
output.filter = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.includeAllItems);
+ auto propCopyResult = buffer.CopyTo(input.includeAllItems);
RETURN_IF_FAILED(propCopyResult.hr);
output.includeAllItems = propCopyResult.ExtractPayload();
}
@@ -971,7 +971,7 @@ JsonValue Permissions::ToJson() const
JsonValue Permissions::ToJson(const PFCatalogPermissions& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "SegmentIds", input.segmentIds, input.segmentIdsCount);
return output;
}
@@ -1024,7 +1024,7 @@ JsonValue CatalogPriceAmountOverride::ToJson() const
JsonValue CatalogPriceAmountOverride::ToJson(const PFCatalogCatalogPriceAmountOverride& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "FixedValue", input.fixedValue);
JsonUtils::ObjectAddMember(output, "ItemId", input.itemId);
JsonUtils::ObjectAddMember(output, "Multiplier", input.multiplier);
@@ -1080,17 +1080,17 @@ HRESULT CatalogPriceAmountOverride::Copy(const PFCatalogCatalogPriceAmountOverri
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.fixedValue);
+ auto propCopyResult = buffer.CopyTo(input.fixedValue);
RETURN_IF_FAILED(propCopyResult.hr);
output.fixedValue = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.itemId);
+ auto propCopyResult = buffer.CopyTo(input.itemId);
RETURN_IF_FAILED(propCopyResult.hr);
output.itemId = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.multiplier);
+ auto propCopyResult = buffer.CopyTo(input.multiplier);
RETURN_IF_FAILED(propCopyResult.hr);
output.multiplier = propCopyResult.ExtractPayload();
}
@@ -1104,7 +1104,7 @@ JsonValue CatalogPriceOverride::ToJson() const
JsonValue CatalogPriceOverride::ToJson(const PFCatalogCatalogPriceOverride& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "Amounts", input.amounts, input.amountsCount);
return output;
}
@@ -1157,7 +1157,7 @@ JsonValue CatalogPriceOptionsOverride::ToJson() const
JsonValue CatalogPriceOptionsOverride::ToJson(const PFCatalogCatalogPriceOptionsOverride& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "Prices", input.prices, input.pricesCount);
return output;
}
@@ -1210,7 +1210,7 @@ JsonValue StoreDetails::ToJson() const
JsonValue StoreDetails::ToJson(const PFCatalogStoreDetails& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "FilterOptions", input.filterOptions);
JsonUtils::ObjectAddMember(output, "Permissions", input.permissions);
JsonUtils::ObjectAddMember(output, "PriceOptionsOverride", input.priceOptionsOverride);
@@ -1275,17 +1275,17 @@ HRESULT StoreDetails::Copy(const PFCatalogStoreDetails& input, PFCatalogStoreDet
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.filterOptions);
+ auto propCopyResult = buffer.CopyTo(input.filterOptions);
RETURN_IF_FAILED(propCopyResult.hr);
output.filterOptions = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.permissions);
+ auto propCopyResult = buffer.CopyTo(input.permissions);
RETURN_IF_FAILED(propCopyResult.hr);
output.permissions = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.priceOptionsOverride);
+ auto propCopyResult = buffer.CopyTo(input.priceOptionsOverride);
RETURN_IF_FAILED(propCopyResult.hr);
output.priceOptionsOverride = propCopyResult.ExtractPayload();
}
@@ -1299,7 +1299,7 @@ JsonValue CatalogItem::ToJson() const
JsonValue CatalogItem::ToJson(const PFCatalogCatalogItem& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "AlternateIds", input.alternateIds, input.alternateIdsCount);
JsonUtils::ObjectAddMemberArray(output, "Contents", input.contents, input.contentsCount);
JsonUtils::ObjectAddMember(output, "ContentType", input.contentType);
@@ -1609,17 +1609,17 @@ HRESULT CatalogItem::Copy(const PFCatalogCatalogItem& input, PFCatalogCatalogIte
output.contents = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.contentType);
+ auto propCopyResult = buffer.CopyTo(input.contentType);
RETURN_IF_FAILED(propCopyResult.hr);
output.contentType = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.creationDate);
+ auto propCopyResult = buffer.CopyTo(input.creationDate);
RETURN_IF_FAILED(propCopyResult.hr);
output.creationDate = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.creatorEntity);
+ auto propCopyResult = buffer.CopyTo(input.creatorEntity);
RETURN_IF_FAILED(propCopyResult.hr);
output.creatorEntity = propCopyResult.ExtractPayload();
}
@@ -1629,7 +1629,7 @@ HRESULT CatalogItem::Copy(const PFCatalogCatalogItem& input, PFCatalogCatalogIte
output.deepLinks = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.defaultStackId);
+ auto propCopyResult = buffer.CopyTo(input.defaultStackId);
RETURN_IF_FAILED(propCopyResult.hr);
output.defaultStackId = propCopyResult.ExtractPayload();
}
@@ -1644,22 +1644,22 @@ HRESULT CatalogItem::Copy(const PFCatalogCatalogItem& input, PFCatalogCatalogIte
output.displayProperties.stringValue = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.displayVersion);
+ auto propCopyResult = buffer.CopyTo(input.displayVersion);
RETURN_IF_FAILED(propCopyResult.hr);
output.displayVersion = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.endDate);
+ auto propCopyResult = buffer.CopyTo(input.endDate);
RETURN_IF_FAILED(propCopyResult.hr);
output.endDate = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.eTag);
+ auto propCopyResult = buffer.CopyTo(input.eTag);
RETURN_IF_FAILED(propCopyResult.hr);
output.eTag = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.id);
+ auto propCopyResult = buffer.CopyTo(input.id);
RETURN_IF_FAILED(propCopyResult.hr);
output.id = propCopyResult.ExtractPayload();
}
@@ -1669,7 +1669,7 @@ HRESULT CatalogItem::Copy(const PFCatalogCatalogItem& input, PFCatalogCatalogIte
output.images = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.isHidden);
+ auto propCopyResult = buffer.CopyTo(input.isHidden);
RETURN_IF_FAILED(propCopyResult.hr);
output.isHidden = propCopyResult.ExtractPayload();
}
@@ -1684,12 +1684,12 @@ HRESULT CatalogItem::Copy(const PFCatalogCatalogItem& input, PFCatalogCatalogIte
output.keywords = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.lastModifiedDate);
+ auto propCopyResult = buffer.CopyTo(input.lastModifiedDate);
RETURN_IF_FAILED(propCopyResult.hr);
output.lastModifiedDate = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.moderation);
+ auto propCopyResult = buffer.CopyTo(input.moderation);
RETURN_IF_FAILED(propCopyResult.hr);
output.moderation = propCopyResult.ExtractPayload();
}
@@ -1699,22 +1699,22 @@ HRESULT CatalogItem::Copy(const PFCatalogCatalogItem& input, PFCatalogCatalogIte
output.platforms = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.priceOptions);
+ auto propCopyResult = buffer.CopyTo(input.priceOptions);
RETURN_IF_FAILED(propCopyResult.hr);
output.priceOptions = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.rating);
+ auto propCopyResult = buffer.CopyTo(input.rating);
RETURN_IF_FAILED(propCopyResult.hr);
output.rating = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.startDate);
+ auto propCopyResult = buffer.CopyTo(input.startDate);
RETURN_IF_FAILED(propCopyResult.hr);
output.startDate = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.storeDetails);
+ auto propCopyResult = buffer.CopyTo(input.storeDetails);
RETURN_IF_FAILED(propCopyResult.hr);
output.storeDetails = propCopyResult.ExtractPayload();
}
@@ -1729,7 +1729,7 @@ HRESULT CatalogItem::Copy(const PFCatalogCatalogItem& input, PFCatalogCatalogIte
output.title = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.type);
+ auto propCopyResult = buffer.CopyTo(input.type);
RETURN_IF_FAILED(propCopyResult.hr);
output.type = propCopyResult.ExtractPayload();
}
@@ -1743,7 +1743,7 @@ JsonValue CreateDraftItemRequest::ToJson() const
JsonValue CreateDraftItemRequest::ToJson(const PFCatalogCreateDraftItemRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Item", input.item);
JsonUtils::ObjectAddMember(output, "Publish", input.publish);
@@ -1786,7 +1786,7 @@ HRESULT CreateDraftItemResponse::Copy(const PFCatalogCreateDraftItemResponse& in
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.item);
+ auto propCopyResult = buffer.CopyTo(input.item);
RETURN_IF_FAILED(propCopyResult.hr);
output.item = propCopyResult.ExtractPayload();
}
@@ -1800,7 +1800,7 @@ JsonValue UploadInfo::ToJson() const
JsonValue UploadInfo::ToJson(const PFCatalogUploadInfo& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "FileName", input.fileName);
return output;
}
@@ -1812,7 +1812,7 @@ JsonValue CreateUploadUrlsRequest::ToJson() const
JsonValue CreateUploadUrlsRequest::ToJson(const PFCatalogCreateUploadUrlsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMemberArray(output, "Files", input.files, input.filesCount);
return output;
@@ -1867,17 +1867,17 @@ HRESULT UploadUrlMetadata::Copy(const PFCatalogUploadUrlMetadata& input, PFCatal
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.fileName);
+ auto propCopyResult = buffer.CopyTo(input.fileName);
RETURN_IF_FAILED(propCopyResult.hr);
output.fileName = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.id);
+ auto propCopyResult = buffer.CopyTo(input.id);
RETURN_IF_FAILED(propCopyResult.hr);
output.id = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.url);
+ auto propCopyResult = buffer.CopyTo(input.url);
RETURN_IF_FAILED(propCopyResult.hr);
output.url = propCopyResult.ExtractPayload();
}
@@ -1932,7 +1932,7 @@ JsonValue DeleteEntityItemReviewsRequest::ToJson() const
JsonValue DeleteEntityItemReviewsRequest::ToJson(const PFCatalogDeleteEntityItemReviewsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Entity", input.entity);
return output;
@@ -1945,7 +1945,7 @@ JsonValue DeleteItemRequest::ToJson() const
JsonValue DeleteItemRequest::ToJson(const PFCatalogDeleteItemRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AlternateId", input.alternateId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Entity", input.entity);
@@ -1960,7 +1960,7 @@ JsonValue GetCatalogConfigRequest::ToJson() const
JsonValue GetCatalogConfigRequest::ToJson(const PFCatalogGetCatalogConfigRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
return output;
}
@@ -1972,7 +1972,7 @@ JsonValue CatalogSpecificConfig::ToJson() const
JsonValue CatalogSpecificConfig::ToJson(const PFCatalogCatalogSpecificConfig& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "ContentTypes", input.contentTypes, input.contentTypesCount);
JsonUtils::ObjectAddMemberArray(output, "Tags", input.tags, input.tagsCount);
return output;
@@ -2040,7 +2040,7 @@ JsonValue DeepLinkFormat::ToJson() const
JsonValue DeepLinkFormat::ToJson(const PFCatalogDeepLinkFormat& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Format", input.format);
JsonUtils::ObjectAddMember(output, "Platform", input.platform);
return output;
@@ -2087,12 +2087,12 @@ HRESULT DeepLinkFormat::Copy(const PFCatalogDeepLinkFormat& input, PFCatalogDeep
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.format);
+ auto propCopyResult = buffer.CopyTo(input.format);
RETURN_IF_FAILED(propCopyResult.hr);
output.format = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.platform);
+ auto propCopyResult = buffer.CopyTo(input.platform);
RETURN_IF_FAILED(propCopyResult.hr);
output.platform = propCopyResult.ExtractPayload();
}
@@ -2106,7 +2106,7 @@ JsonValue DisplayPropertyIndexInfo::ToJson() const
JsonValue DisplayPropertyIndexInfo::ToJson(const PFCatalogDisplayPropertyIndexInfo& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Name", input.name);
JsonUtils::ObjectAddMember(output, "Type", input.type);
return output;
@@ -2153,12 +2153,12 @@ HRESULT DisplayPropertyIndexInfo::Copy(const PFCatalogDisplayPropertyIndexInfo&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.name);
+ auto propCopyResult = buffer.CopyTo(input.name);
RETURN_IF_FAILED(propCopyResult.hr);
output.name = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.type);
+ auto propCopyResult = buffer.CopyTo(input.type);
RETURN_IF_FAILED(propCopyResult.hr);
output.type = propCopyResult.ExtractPayload();
}
@@ -2172,7 +2172,7 @@ JsonValue FileConfig::ToJson() const
JsonValue FileConfig::ToJson(const PFCatalogFileConfig& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "ContentTypes", input.contentTypes, input.contentTypesCount);
JsonUtils::ObjectAddMemberArray(output, "Tags", input.tags, input.tagsCount);
return output;
@@ -2240,7 +2240,7 @@ JsonValue ImageConfig::ToJson() const
JsonValue ImageConfig::ToJson(const PFCatalogImageConfig& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "Tags", input.tags, input.tagsCount);
return output;
}
@@ -2293,7 +2293,7 @@ JsonValue CategoryRatingConfig::ToJson() const
JsonValue CategoryRatingConfig::ToJson(const PFCatalogCategoryRatingConfig& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "Name", input.name);
return output;
}
@@ -2331,7 +2331,7 @@ HRESULT CategoryRatingConfig::Copy(const PFCatalogCategoryRatingConfig& input, P
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.name);
+ auto propCopyResult = buffer.CopyTo(input.name);
RETURN_IF_FAILED(propCopyResult.hr);
output.name = propCopyResult.ExtractPayload();
}
@@ -2345,7 +2345,7 @@ JsonValue ReviewConfig::ToJson() const
JsonValue ReviewConfig::ToJson(const PFCatalogReviewConfig& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "CategoryRatings", input.categoryRatings, input.categoryRatingsCount);
return output;
}
@@ -2398,7 +2398,7 @@ JsonValue UserGeneratedContentSpecificConfig::ToJson() const
JsonValue UserGeneratedContentSpecificConfig::ToJson(const PFCatalogUserGeneratedContentSpecificConfig& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "ContentTypes", input.contentTypes, input.contentTypesCount);
JsonUtils::ObjectAddMemberArray(output, "Tags", input.tags, input.tagsCount);
return output;
@@ -2466,7 +2466,7 @@ JsonValue CatalogConfig::ToJson() const
JsonValue CatalogConfig::ToJson(const PFCatalogCatalogConfig& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "AdminEntities", input.adminEntities, input.adminEntitiesCount);
JsonUtils::ObjectAddMember(output, "Catalog", input.catalog);
JsonUtils::ObjectAddMemberArray(output, "DeepLinkFormats", input.deepLinkFormats, input.deepLinkFormatsCount);
@@ -2613,7 +2613,7 @@ HRESULT CatalogConfig::Copy(const PFCatalogCatalogConfig& input, PFCatalogCatalo
output.adminEntities = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.catalog);
+ auto propCopyResult = buffer.CopyTo(input.catalog);
RETURN_IF_FAILED(propCopyResult.hr);
output.catalog = propCopyResult.ExtractPayload();
}
@@ -2628,12 +2628,12 @@ HRESULT CatalogConfig::Copy(const PFCatalogCatalogConfig& input, PFCatalogCatalo
output.displayPropertyIndexInfos = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.file);
+ auto propCopyResult = buffer.CopyTo(input.file);
RETURN_IF_FAILED(propCopyResult.hr);
output.file = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.image);
+ auto propCopyResult = buffer.CopyTo(input.image);
RETURN_IF_FAILED(propCopyResult.hr);
output.image = propCopyResult.ExtractPayload();
}
@@ -2643,7 +2643,7 @@ HRESULT CatalogConfig::Copy(const PFCatalogCatalogConfig& input, PFCatalogCatalo
output.platforms = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.review);
+ auto propCopyResult = buffer.CopyTo(input.review);
RETURN_IF_FAILED(propCopyResult.hr);
output.review = propCopyResult.ExtractPayload();
}
@@ -2653,7 +2653,7 @@ HRESULT CatalogConfig::Copy(const PFCatalogCatalogConfig& input, PFCatalogCatalo
output.reviewerEntities = propCopyResult.ExtractPayload();
}
{
- auto propCopyResult = buffer.CopyTo(input.userGeneratedContent);
+ auto propCopyResult = buffer.CopyTo(input.userGeneratedContent);
RETURN_IF_FAILED(propCopyResult.hr);
output.userGeneratedContent = propCopyResult.ExtractPayload();
}
@@ -2696,7 +2696,7 @@ HRESULT GetCatalogConfigResponse::Copy(const PFCatalogGetCatalogConfigResponse&
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.config);
+ auto propCopyResult = buffer.CopyTo(input.config);
RETURN_IF_FAILED(propCopyResult.hr);
output.config = propCopyResult.ExtractPayload();
}
@@ -2710,7 +2710,7 @@ JsonValue GetDraftItemRequest::ToJson() const
JsonValue GetDraftItemRequest::ToJson(const PFCatalogGetDraftItemRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMember(output, "AlternateId", input.alternateId);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember(output, "Entity", input.entity);
@@ -2754,7 +2754,7 @@ HRESULT GetDraftItemResponse::Copy(const PFCatalogGetDraftItemResponse& input, P
{
output = input;
{
- auto propCopyResult = buffer.CopyTo(input.item);
+ auto propCopyResult = buffer.CopyTo(input.item);
RETURN_IF_FAILED(propCopyResult.hr);
output.item = propCopyResult.ExtractPayload();
}
@@ -2768,7 +2768,7 @@ JsonValue GetDraftItemsRequest::ToJson() const
JsonValue GetDraftItemsRequest::ToJson(const PFCatalogGetDraftItemsRequest& input)
{
- JsonValue output{ rapidjson::kObjectType };
+ JsonValue output { JsonValue::object() };
JsonUtils::ObjectAddMemberArray(output, "AlternateIds", input.alternateIds, input.alternateIdsCount);
JsonUtils::ObjectAddMemberDictionary(output, "CustomTags", input.customTags, input.customTagsCount);
JsonUtils::ObjectAddMember