![]()  | 
  
    GDevelop Core
    
   Core library for developing platforms and tools compatible with GDevelop. 
   | 
 
Contains information about a dependency (library, npm/cordova package, or other according to the export) of an extension. More...
#include <DependencyMetadata.h>
Public Member Functions | |
| DependencyMetadata () | |
| DependencyMetadata & | SetName (const gd::String &name_) | 
| Sets the name shown to users.  | |
| DependencyMetadata & | SetExportName (const gd::String &exportName_) | 
| DependencyMetadata & | SetVersion (const gd::String &version_) | 
| Set the version of the dependency to install. Use an empty string to use the latest version.  | |
| DependencyMetadata & | SetDependencyType (const gd::String &dependencyType_) | 
| Sets the type of dependency (what will be used to install it)  More... | |
| DependencyMetadata & | SetExtraSetting (const gd::String &settingName, const gd::PropertyDescriptor &settingValue) | 
| Sets a dependency type specific setting.  | |
| DependencyMetadata & | OnlyIfSomeExtraSettingsNonEmpty () | 
| Mark the dependency to be included in the export only if at least one of the extra settings is set.  | |
| bool | IsOnlyIfSomeExtraSettingsNonEmpty () const | 
| Check if at least one of the extra settings must be set for the dependency to be included in the export.  | |
| DependencyMetadata & | OnlyIfOtherDependencyIsExported (const gd::String &otherDependency) | 
| Mark the dependency to be included in the export only if one other dependency is included in the export.  | |
| const gd::String & | GetOtherDependencyThatMustBeExported () const | 
| Get the name of another dependency that must be exported to have this one also exported.  | |
| const gd::String & | GetName () const | 
| const gd::String & | GetExportName () const | 
| const gd::String & | GetVersion () const | 
| const gd::String & | GetDependencyType () const | 
| const std::map< gd::String, gd::PropertyDescriptor > & | GetAllExtraSettings () const | 
| void | CopyFrom (const DependencyMetadata &dependencyMetadata) | 
Contains information about a dependency (library, npm/cordova package, or other according to the export) of an extension.
      
  | 
  inline | 
Construct a new dependency metadata, though you probably want to call AddDependency on gd::PlatformExtension.
      
  | 
  inline | 
Sets the type of dependency (what will be used to install it)
This can either be "npm" or "cordova" for now.