Tutorials and guides
Database sync worker
This tutorial uses the Example Project from the GDK’s setup guide.
This tutorial takes you through how to integrate the Database Sync Worker Example in a GDK project and use it to store persistent data outside of a SpatialOS deployment.
The Database Sync Worker is a SpatialOS server-worker designed to easily synchronize and persist cross-session game data (such as player inventories) between SpatialOS and an external database.
This tutorial uses the GDK’s Example Project, where the Database Sync Worker will synchronise players’ “All Time Kills” and “All Time Deaths” counts in a local Postgres database.
Before starting this tutorial you must follow:
Additionally, to communicate with the Database Sync Worker, you will be sending SpatialOS commands and listening to events, so a basic understanding of SpatialOS messaging is required. (This is something the GDK typically abstracts from you from you when you build Unreal workers - in this case we will be integrating a C# worker using the SpatialOS Worker SDK directly so these concepts are important to understand.)
> Next: 1: Set up
2019-07-31 Page added with limited editorial review