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

Perform a search over a layout, searching for layout or object custom identifiers. More...

#include <EventsIdentifiersFinder.h>

Static Public Member Functions

static std::set< gd::StringFindAllIdentifierExpressions (const gd::Platform &platform, const gd::Project &project, const gd::Layout &layout, const gd::String &identifierType, const gd::String &objectName="")
 

Detailed Description

Perform a search over a layout, searching for layout or object custom identifiers.

Todo:
Refactor this class using ArbitraryEventsWorker

Member Function Documentation

◆ FindAllIdentifierExpressions()

std::set< gd::String > gd::EventsIdentifiersFinder::FindAllIdentifierExpressions ( const gd::Platform platform,
const gd::Project project,
const gd::Layout layout,
const gd::String identifierType,
const gd::String objectName = "" 
)
static

Construct a list containing all the expressions for a given identifier used in the layout.

Parameters
projectThe project to use.
layoutThe layout to use.
identifierTypeThe identifier type to be analyzed.
objectNameIf not empty, parameters will be taken into account only if the last object parameter is filled with this value.
Returns
A std::set containing the names of all identifiers used.

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