C++
The cross-platform C++ PlayFab SDK provides everything you need to access the PlayFab API. This includes models, methods, an HTTP wrapper for sending and receiving web requests, and JSON serialization.
If you have questions about the SDK or need help in resolving issues, go to PlayFab forums > API and SDK.
SDK download links
This SDK is auto-generated using our open-sourced tool—SDKGenerator. We generally build SDKs every other week to stay current with the latest API changes.
Platforms supported by this SDK
- Android
- iOS
- Linux
- Windows (Win32) x64
- Xbox One
- Xbox Series X|S
When not to use this SDK
The cross-platform C++ PlayFab SDK should not be used if there is a more specific SDK that is suited for your project. Many C++ based engines also integrate Lua.
Specific PlayFab SDK is available for:
- Cocos2d-x PlayFab SDK
- Unreal Engine PlayFab SDK at Unreal marketplace (external link)
- LuaSDK PlayFab SDK
For a full list of the different PlayFab SDKs, see Azure PlayFab SDK.
Using the SDK
This native C++ project can be used in the following ways.
- As a stand-alone console Admin tools for maintaining your game.
- The cross-platform C++ PlayFab SDK works great for a stand-alone C++ program.
- Integrated into an existing Visual Studio based C++ game.
- Follow the instructions above to integrate the NuGet Package into your Visual Studio Solution, and you're ready to go.
- Integrated into an existing C++ based game engine.
Add SDK to your project
- Quickstart for Android
- Quickstart for iOS
- Quickstart for Linux
- Quickstart for Windows (Win32) x64
- Quickstart for Xbox consoles
If none of the above options work for you, you can install the NuGet package into your Visual Studio project using the NuGet Package Manager. For instructions, see Install and use a package in Visual Studio. For more information, see Getting started with NuGet.
Commentaires
Soumettre et afficher des commentaires pour