GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | Public Attributes | List of all members
gd::VariablesChangeset Struct Reference

Inherits gd::VariablesRenamingChangesetNode.

Public Member Functions

bool HasRemovedVariables ()
 
VariablesChangesetClearRemovedVariables ()
 

Public Attributes

std::unordered_set< gd::StringremovedVariableNames
 
std::unordered_set< gd::StringtypeChangedVariableNames
 
std::unordered_set< gd::StringvalueChangedVariableNames
 
std::unordered_set< gd::StringaddedVariableNames
 
- Public Attributes inherited from gd::VariablesRenamingChangesetNode
std::unordered_map< gd::String, gd::StringoldToNewVariableNames
 
std::unordered_map< gd::String, std::shared_ptr< gd::VariablesRenamingChangesetNode > > modifiedVariables
 

Member Data Documentation

◆ typeChangedVariableNames

std::unordered_set<gd::String> gd::VariablesChangeset::typeChangedVariableNames

No distinction is done between a change of the variable itself or its children. Ensuring that a child is actually the one with a type change would take more time than checking the instruction type is rightly set.


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