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

Expose event-based behavior contents to workers. More...

#include <EventBasedBehaviorBrowser.h>

Inherits gd::ProjectBrowser.

Public Member Functions

 EventBasedBehaviorBrowser (const gd::EventsFunctionsExtension &eventsFunctionsExtension_, gd::EventsBasedBehavior &eventsBasedBehavior_)
 
void ExposeEvents (gd::Project &project, gd::ArbitraryEventsWorker &worker) const override
 Call the specified worker on all events of the event-based behavior. More...
 
void ExposeEvents (gd::Project &project, gd::ArbitraryEventsWorkerWithContext &worker) const override
 Call the specified worker on all events of the event-based behavior. More...
 
void ExposeFunctions (gd::Project &project, gd::ArbitraryEventsFunctionsWorker &worker) const override
 Call the specified worker on all functions of the event-based behavior. More...
 
void ExposeObjects (gd::Project &project, gd::ArbitraryObjectsWorker &worker) const override
 Do nothing.
 
void ExposeEventBasedBehaviors (gd::Project &project, gd::ArbitraryEventBasedBehaviorsWorker &worker) const override
 Call the specified worker on the event-based behavior.
 
void ExposeBehaviorSharedDatas (gd::Project &project, gd::ArbitraryBehaviorSharedDataWorker &worker) const override
 Do nothing.
 

Detailed Description

Expose event-based behavior contents to workers.

Member Function Documentation

◆ ExposeEvents() [1/2]

void gd::EventBasedBehaviorBrowser::ExposeEvents ( gd::Project project,
gd::ArbitraryEventsWorker worker 
) const
overridevirtual

Call the specified worker on all events of the event-based behavior.

This should be the preferred way to traverse all the events of an event-based behavior.

Implements gd::ProjectBrowser.

◆ ExposeEvents() [2/2]

void gd::EventBasedBehaviorBrowser::ExposeEvents ( gd::Project project,
gd::ArbitraryEventsWorkerWithContext worker 
) const
overridevirtual

Call the specified worker on all events of the event-based behavior.

This should be the preferred way to traverse all the events of an event-based behavior.

Implements gd::ProjectBrowser.

◆ ExposeFunctions()

void gd::EventBasedBehaviorBrowser::ExposeFunctions ( gd::Project project,
gd::ArbitraryEventsFunctionsWorker worker 
) const
overridevirtual

Call the specified worker on all functions of the event-based behavior.

This should be the preferred way to traverse all the function signatures of an event-based behavior.

Implements gd::ProjectBrowser.


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