GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Static Public Member Functions | List of all members

Serialize objects into an asset for the store. More...

#include <ObjectAssetSerializer.h>

Static Public Member Functions

static void SerializeTo (gd::Project &project, const gd::Object &object, const gd::String &objectFullName, SerializerElement &element, std::vector< gd::String > &usedResourceNames)
 Serialize an object into an asset. More...
 

Detailed Description

Serialize objects into an asset for the store.

Member Function Documentation

◆ SerializeTo()

void gd::ObjectAssetSerializer::SerializeTo ( gd::Project project,
const gd::Object object,
const gd::String objectFullName,
SerializerElement element,
std::vector< gd::String > &  usedResourceNames 
)
static

Serialize an object into an asset.

Parameters
projectThe project that contains the object and its resources. It's not actually modified.
objectThe object to serialize as an asset.
objectFullNameThe object name with spaces instead of PascalCase.
elementThe element where the asset is serialize.
usedResourceNamesReturn the names of the resources used by the asset.

The documentation for this class was generated from the following files: