Cross-Platform C++ PlayFab SDK.
It currently supports the following platforms:
- Windows (Win32) x64
- Linux
- Xbox Series X|S & Xbox One (XDK Only)
For GDK support on Windows and Xbox please contact your Xbox representative.
This SDK lets you make REST API calls to the PlayFab service. It depends on some external third-party open source libraries referenced as git submodules in directory /external
. Please make sure to use --recurse-submodules
command line parameter when cloning SDK's git repo:
git clone --recurse-submodules <git-repo-url>
or run the following commands to sync the content of submodules if the repo was cloned earlier without the --recurse-submodules
parameter:
git submodule update --init --recursive
This source code of SDK itself is generated from our SdkGenerator.
Please run set-gitmodules.bat before attempting to build the SDK. We rely on a particular commit of jsoncpp that this file will direct you to.
Locate build projects for a required platform in directory tree:
Xplat SDK
|
|-- build
|
|-- Linux
|
|-- Windows
|
|-- Xbox
|
|-- . . .
The build projects are created for a build tool that is popular or commonly used on that platform (e.g. Visual Studio projects for Windows, Xbox).
- IDE or a build tool specific to platform (Visual Studio 2017 for Windows, Xbox)
- Users should be very familiar with the topics covered in our getting started guide.
- When we built this for windows we used platform toolset v141 in the project files. If you have a different toolset installed on your dev box it is safe to update this to later versions of the platform toolsets, feel free to re-target the projects as you see fit your projects needs.
Currently this project includes SDK and Example.
- Open projects/solution in the IDE/build tool
- Build SDK
iOS test app relies on calabash.framework (a ruby bundle) for out testing automation. This generally is a bunch of links generated by the bundle command, which is why this folder won't show up in source control (and never will).
Therefore, you must generate this directory by going to the /build/iOS/TestIOSApp folder and running quickstart.sh if you want to run the test app on macOS
For a complete list of available APIs, check out the online documentation.
We love to hear from our developer community! Do you have ideas on how we can make our products and services better?
Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services.
Forums, Support and Knowledge Base
Apache License -- Version 2.0, January 2004 http://www.apache.org/licenses/
Full details available within the LICENSE file.