GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Static Public Member Functions | List of all members
gd::EventsListSerialization Class Reference

Contains tools for loading and saving events to SerializerElement. More...

#include <Serialization.h>

Static Public Member Functions

static void UnserializeEventsFrom (gd::Project &project, gd::EventsList &list, const SerializerElement &events)
 Load an events list from a SerializerElement. More...
 
static void SerializeEventsTo (const gd::EventsList &list, SerializerElement &events)
 Save an events list to a SerializerElement. More...
 
static void UnserializeInstructionsFrom (gd::Project &project, gd::InstructionsList &list, const SerializerElement &elem)
 Unserialize a list of instructions.
 
static void SerializeInstructionsTo (const gd::InstructionsList &list, SerializerElement &elem)
 Serialize a list of instructions.
 

Detailed Description

Contains tools for loading and saving events to SerializerElement.

Member Function Documentation

void gd::EventsListSerialization::SerializeEventsTo ( const gd::EventsList list,
SerializerElement events 
)
static

Save an events list to a SerializerElement.

Parameters
listThe event list to be saved.
eventsThe SerializerElement in which the events must be serialized.
void gd::EventsListSerialization::UnserializeEventsFrom ( gd::Project project,
gd::EventsList list,
const SerializerElement events 
)
static

Load an events list from a SerializerElement.

Parameters
projectThe project the events belongs to.
listThe event list in which the events must be loaded.
eventsThe SerializerElement containing the events

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