cpp-server
SpacetimeDB C++ SDK Reference
Imports
#include <spacetimedb.h>
using namespace SpacetimeDB;
Tables
Register structs with macros, then declare as tables:
More from clockworklabs/spacetimedb
spacetimedb-concepts
Understand SpacetimeDB architecture and core concepts. Use when learning SpacetimeDB or making architectural decisions.
126spacetimedb-cli
SpacetimeDB CLI reference for initializing projects, building modules, publishing databases, querying data, and managing servers
113spacetimedb-typescript
Build TypeScript clients for SpacetimeDB. Use when connecting to SpacetimeDB from web apps, Node.js, Deno, Bun, or other JavaScript runtimes.
90spacetimedb-rust
Develop SpacetimeDB server modules in Rust. Use when writing reducers, tables, or module logic.
85spacetimedb-csharp
Build C# modules and clients for SpacetimeDB. Covers server-side module development and client SDK integration.
40spacetimedb-unity
Integrate SpacetimeDB with Unity game projects. Use when building Unity clients with MonoBehaviour lifecycle, FrameTick, and PlayerPrefs token persistence.
31