Introduction to the C++ worker SDK
The C++ worker SDK allows anyone to write a worker in C++ to connect to a SpatialOS simulated world. Like any other worker, a C++ worker can subscribe to information for a part of a simulated world, visualize it, and perform some computation on behalf of the simulated world.
A typical C++ worker makes use of both the core API defined in
<improbable/worker.h>, and C++ generated code
based on the user-specified simulated world schema. See
Compiling a C++ Worker for details.
The SDK also includes methods to load and save snapshots of the entire simulation from and to a file. This lets you write tools to perform offline transformations of the simulation state, or to programmatically create the starting point of a simulation. This functionality is documented in the C++ worker SDK docs.
If you’re using a game engine we don’t have an integration with, you can use this SDK (or one of the other language SDKs) to integrate that game engine with SpatialOS.