![]()  | 
  
    GDevelop Core
    
   Core library for developing platforms and tools compatible with GDevelop. 
   | 
 
Represents a behavior that is implemented with events. More...
#include <EventsBasedBehavior.h>
Inherits gd::AbstractEventsBasedEntity.
Public Member Functions | |
| EventsBasedBehavior * | Clone () const | 
| Return a pointer to a new EventsBasedBehavior constructed from this one.  | |
| EventsBasedBehavior & | SetDescription (const gd::String &description_) override | 
| Set the description of the behavior or object, to be displayed in the editor.  | |
| EventsBasedBehavior & | SetName (const gd::String &name_) | 
| Set the internal name of the behavior.  | |
| EventsBasedBehavior & | SetFullName (const gd::String &fullName_) | 
| Set the name of the behavior, to be displayed in the editor.  | |
| const gd::String & | GetObjectType () const | 
| Get the object type the behavior should be used with.  | |
| EventsBasedBehavior & | SetObjectType (const gd::String &objectType_) | 
| Set the object type the behavior should be used with.  | |
| EventsBasedBehavior & | SetPrivate (bool isPrivate) | 
| Set that the behavior or object is private - it can't be used outside of its extension.  | |
| QuickCustomization::Visibility | GetQuickCustomizationVisibility () const | 
| EventsBasedBehavior & | SetQuickCustomizationVisibility (QuickCustomization::Visibility visibility) | 
| gd::PropertiesContainer & | GetSharedPropertyDescriptors () | 
| Return a reference to the list of shared properties.  | |
| const gd::PropertiesContainer & | GetSharedPropertyDescriptors () const | 
| Return a const reference to the list of shared properties.  | |
| void | SerializeTo (SerializerElement &element) const override | 
| Serialize the AbstractEventsBasedEntity to the specified element.  | |
| void | UnserializeFrom (gd::Project &project, const SerializerElement &element) override | 
| Load the AbstractEventsBasedEntity from the specified element.  | |
  Public Member Functions inherited from gd::AbstractEventsBasedEntity | |
| AbstractEventsBasedEntity (const gd::String &_name, gd::EventsFunctionsContainer::FunctionOwner functionContainerSource) | |
| AbstractEventsBasedEntity * | Clone () const | 
| Return a pointer to a new AbstractEventsBasedEntity constructed from this one.  | |
| bool | IsPrivate () const | 
| Check if the behavior or object is private - it can't be used outside of its extension.  | |
| AbstractEventsBasedEntity & | SetPrivate (bool isPrivate_) | 
| Set that the behavior or object is private - it can't be used outside of its extension.  | |
| const gd::String & | GetDescription () const | 
| Get the description of the behavior or object, that is displayed in the editor.  | |
| const gd::String & | GetName () const | 
| Get the internal name of the behavior or object.  | |
| AbstractEventsBasedEntity & | SetName (const gd::String &name_) | 
| Set the internal name of the behavior or object.  | |
| const gd::String & | GetFullName () const | 
| Get the name of the behavior or object, that is displayed in the editor.  | |
| AbstractEventsBasedEntity & | SetFullName (const gd::String &fullName_) | 
| Set the name of the behavior or object, to be displayed in the editor.  | |
| EventsFunctionsContainer & | GetEventsFunctions () | 
| Return a reference to the functions of the events based behavior or object.  | |
| const EventsFunctionsContainer & | GetEventsFunctions () const | 
| Return a const reference to the functions of the events based behavior or object.  | |
| gd::PropertiesContainer & | GetPropertyDescriptors () | 
| Return a reference to the list of the properties.  | |
| const gd::PropertiesContainer & | GetPropertyDescriptors () const | 
| Return a const reference to the list of the properties.  | |
Static Public Member Functions | |
| static gd::String | GetSharedPropertyActionName (const gd::String &propertyName) | 
| Get the name of the action to change a shared property.  | |
| static gd::String | GetSharedPropertyConditionName (const gd::String &propertyName) | 
| Get the name of the condition to compare a shared property.  | |
| static gd::String | GetSharedPropertyExpressionName (const gd::String &propertyName) | 
| Get the name of the expression to get a shared property.  | |
| static gd::String | GetSharedPropertyToggleActionName (const gd::String &propertyName) | 
| Get the name of the action to toggle a boolean shared property.  | |
  Static Public Member Functions inherited from gd::AbstractEventsBasedEntity | |
| static gd::String | GetPropertyActionName (const gd::String &propertyName) | 
| Get the name of the action to change a property.  | |
| static gd::String | GetPropertyConditionName (const gd::String &propertyName) | 
| Get the name of the condition to compare a property.  | |
| static gd::String | GetPropertyExpressionName (const gd::String &propertyName) | 
| Get the name of the expression to get a property.  | |
| static gd::String | GetPropertyToggleActionName (const gd::String &propertyName) | 
| Get the name of the action to toggle a boolean property.  | |
Represents a behavior that is implemented with events.
It's the responsibility of the IDE to run the logic to transform this into a real behavior, by declaring an extension and running code generation. See EventsFunctionsExtensionsLoader.