Legacy PlayFab Services SDK for C++

PlayFab CPP SDK

Note

This SDK is being replaced by the new PlayFab C/C++ SDK. We are expanding the set of supported platforms for the new SDK over time.

The cross-platform C++ PlayFab SDK provides everything you need to access the PlayFab API. It 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 with resolving issues, go to PlayFab forums > API and SDK.

This SDK is autogenerated 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

When not to use this SDK

The cross-platform C++ PlayFab SDK shouldn't be used if there's a more specific SDK that is suited for your project. Many C++ based engines also integrate Lua.

Specific PlayFab SDK is available for:

For a full list of the different PlayFab SDKs, see PlayFab Services SDKs.

Development for Xbox and Windows GDK

This SDK is not intended for use with modern Xbox and GamePass games and the Microsoft Game Development Kit. To learn more about using the PlayFab Services SDK included in the GDK, see our GDK overview.

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.
    • Download 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

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.