Numbskull Serialization

Simple and free serialization

Category:
Tags: , , ,

Description

Numbskull Serialization aims to help new games with implementing a serialization system. The code takes away the hassle of saving a UObject with simple methods like `SaveObjectData` and `SaveObjectDataToDisk`.

The plugin includes simple interfaces objects and Blueprints can subscribe to. Callbacks like `OnSave` allow an object to save itself, or any other object, to disk. Likewise, `OnLoad` can be used to load and apply serialized data.

Saving an object can be written in three lines:

FObjectData ObjectData;

UNumbskullSerializationBPLibrary::SaveObject(this, ObjectData);

UNumbskullSerializationBPLibrary::SaveObjectDataToDisk(FolderPath + TEXT(“MyFile.dat”), ObjectData);

The code is also open source and aims to be an expanded example of serializing data in Unreal from Rama’s forum posts/tutorials.

Technical Details

Number of Blueprints: 0

Number of C++ Classes: 4

Number of C++ Interfaces: 3

Network Replicated: N/A

Supported Development Platforms: Windows, Mac

Supported Target Build Platforms: Windows, Mac

Documentation: https://github.com/NumbskullStudios/NumbskullSerialization

Important/Additional Notes:

Supported Engine Versions

4.23 – 4.26