6 #ifndef GDCORE_CUSTOMBEHAVIORSSHAREDDATA_H 
    7 #define GDCORE_CUSTOMBEHAVIORSSHAREDDATA_H 
    9 #include "GDCore/Project/BehaviorsSharedData.h" 
   10 #include "GDCore/Project/EventsBasedBehavior.h" 
   11 #include "GDCore/Project/Project.h" 
   12 #include "GDCore/Project/PropertyDescriptor.h" 
   13 #include "GDCore/Serialization/Serializer.h" 
   14 #include "GDCore/Serialization/SerializerElement.h" 
   34   std::map<gd::String, gd::PropertyDescriptor>
 
bool UpdateProperty(const gd::String &name, const gd::String &value)
Called when the IDE wants to update a custom property of the behavior.
Definition: BehaviorConfigurationContainer.h:89
 
virtual void InitializeContent()
Called to initialize the content with the default properties for the behavior.
Definition: BehaviorConfigurationContainer.h:97
 
std::map< gd::String, gd::PropertyDescriptor > GetProperties() const
Called when the IDE wants to know about the custom properties of the behavior.
Definition: BehaviorConfigurationContainer.cpp:16
 
Base class for defining data shared by behaviors having the same type and name.
Definition: BehaviorsSharedData.h:24
 
A gd::BehaviorsSharedData that stores its content in JSON.
Definition: CustomBehaviorsSharedData.h:22
 
bool UpdateProperty(gd::SerializerElement &behaviorContent, const gd::String &name, const gd::String &value) override
Called when the IDE wants to update a custom property of the behavior.
Definition: CustomBehaviorsSharedData.cpp:47
 
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:50
 
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
 
String represents an UTF8 encoded string.
Definition: String.h:33
 
Definition: CommonTools.h:24