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

#include <ChildObjectForwardFunctionGenerator.h>

Static Public Member Functions

static void GenerateChildObjectForwardFunctions (const gd::Project &project, const gd::EventsFunctionsExtension &parentEventsFunctionsExtension, gd::EventsBasedObject &parentEventsBasedObject, const gd::String &childObjectName)
 
static void GenerateChildObjectForwardFunction (const gd::Project &project, const gd::EventsFunctionsExtension &parentEventsFunctionsExtension, gd::EventsBasedObject &parentEventsBasedObject, const gd::String &childObjectName, const gd::EventsFunction &eventsFunction)
 
static bool HasAnyChildCustomObject (const gd::Project &project, gd::EventsBasedObject &eventsBasedObject)
 
static std::vector< gd::StringGetChildCustomObjectNames (const gd::Project &project, gd::EventsBasedObject &eventsBasedObject)
 

Detailed Description

Generate events functions in a custom object that forwards the call to one of its child object. It allows users to quickly expose features from a child object.


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