GDevelop JS Platform
Platform for developing HTML5/Javascript based games with GDevelop
Public Member Functions | Public Attributes | List of all members
gdjs::ExportOptions Struct Reference

The options used to export a project. More...

#include <ExporterHelper.h>

Public Member Functions

 ExportOptions (gd::Project &project_, const gd::String &exportPath_)
 
ExportOptionsSetFallbackAuthor (const gd::String &id, const gd::String &username)
 Set the fallback author info (if info not present in project properties).
 
ExportOptionsSetTarget (const gd::String &target_)
 Set the (optional) target platform. More...
 

Public Attributes

gd::Project & project
 
gd::String exportPath
 
gd::String target
 
gd::String fallbackAuthorUsername
 
gd::String fallbackAuthorId
 

Detailed Description

The options used to export a project.

Constructor & Destructor Documentation

◆ ExportOptions()

gdjs::ExportOptions::ExportOptions ( gd::Project &  project_,
const gd::String &  exportPath_ 
)
inline
Parameters
project_The project to export
exportPath_The path in the filesystem where to export the files

Member Function Documentation

◆ SetTarget()

ExportOptions& gdjs::ExportOptions::SetTarget ( const gd::String &  target_)
inline

Set the (optional) target platform.

Parameters
target_The target platform (cordova, facebookInstantGames or electron)

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