C++ SDK for
Multiplayer Games

C++ SDK

The C++ SDK wraps the full REST surface in plain types — players, rooms, matchmaking, leaderboards, friends, game data, moderation and realtime — built on nlohmann::json for any engine or toolchain.

C++ SDK Download

View on GitHub
Repository

The + Steam variant adds Steam/SteamTicket.h and STEAM.md. Valve's proprietary Steamworks SDK is a separate download from partner.steamgames.com.

Inside the C++ package

The SDK ships as headers under include/michitai/multiplayer/ — one folder per API family (Client, Friends, Leaderboard, Matchmaking, Moderation, Players, Rooms, Realtime) — plus a CMakeLists.txt declaring a C++17 target you can add_subdirectory into your own build or link as a static library.

Payloads are nlohmann::json, and the typed template overloads deserialize player data straight into your own structs — define the fields once and the SDK fills them. HTTP runs over libcurl, resolved through CMake FetchContent/find_package. Calls are synchronous free functions taking the client by reference, so run them on a worker thread when the game loop cannot stall.

  • Toolchains: GCC, Clang and MSVC — anywhere a C++17 compiler and libcurl build, including Windows, Linux and macOS.
  • SDK + Steam: the Steam zip adds ticket-minting helpers and the STEAM.md setup walkthrough.
  • SDK + Google Play: the Google Play zip adds GOOGLEPLAY.md (Google sign-in runs on Android — the archive is otherwise identical).
  • examples/Game.cpp: a full session end to end — register a player, create a room, exchange updates — a working reference for your own integration.
  • Realtime: the Realtime headers cover session tickets and event flow for the live WebSocket and UDP lanes.

SDK Documentation

Pick a topic — each area has its own page.