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

Helpers to manipulate dependencies of extensions to be exported along with a game. More...

#include <ExportedDependencyResolver.h>

Static Public Member Functions

static std::vector< DependencyMetadataAndExtensionGetDependenciesFor (const gd::Project &project, std::set< gd::String > usedExtensions, const gd::String &dependencyType)
 Return the list of dependencies to be exported for the given project, used extensions list and dependency type. More...
 
static std::map< gd::String, gd::StringGetExtensionDependencyExtraSettingValues (const gd::Project &project, const gd::DependencyMetadataAndExtension &dependencyAndExtension)
 Return the values that were stored in the project for the given dependency.
 

Detailed Description

Helpers to manipulate dependencies of extensions to be exported along with a game.

Member Function Documentation

◆ GetDependenciesFor()

static std::vector<DependencyMetadataAndExtension> gd::ExportedDependencyResolver::GetDependenciesFor ( const gd::Project project,
std::set< gd::String usedExtensions,
const gd::String dependencyType 
)
inlinestatic

Return the list of dependencies to be exported for the given project, used extensions list and dependency type.

Not all dependencies declared by extensions must be exported: some are only exported when some settings are filled. Then, some others are only exported when some other dependencies are exported (this won't work for more than one level though).


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