Skip to content

ConnectionCreationDialog ​

Inherits: AcceptDialog

Dialog for creating new skill node connections with advanced options and pre-selection support

Variables ​

SkillTreeskill_tree
intpreselected_from_node_id-1
intpreselected_to_node_id-1
boollock_from_selectionfalse
boollock_to_selectionfalse

Methods ​

voidsetup( tree: SkillTree )
voidsetup_with_preselection( tree: SkillTree, from_node_id: int = -1, to_node_id: int = -1 )
voidsetup_for_connection_from( tree: SkillTree, from_node: SkillNode )
voidsetup_for_connection_to( tree: SkillTree, to_node: SkillNode )
Array[String]validate_connection()
voidreset_preselections()
Dictionaryget_preselection_info()
boolis_from_node_locked()
boolis_to_node_locked()
Dictionaryget_selected_nodes_info()

Signals ​

connection_created( connection: SkillConnection ) ​

Variable descriptions ​

SkillTree skill_tree ​

No description yet.

int preselected_from_node_id = -1 ​

No description yet.

int preselected_to_node_id = -1 ​

No description yet.

bool lock_from_selection = false ​

No description yet.

bool lock_to_selection = false ​

No description yet.

Method descriptions ​

void setup( tree: SkillTree ) ​

No description yet.

void setup_with_preselection( tree: SkillTree, from_node_id: int = -1, to_node_id: int = -1 ) ​

No description yet.

void setup_for_connection_from( tree: SkillTree, from_node: SkillNode ) ​

No description yet.

void setup_for_connection_to( tree: SkillTree, to_node: SkillNode ) ​

No description yet.

Array[String] validate_connection() ​

No description yet.

void reset_preselections() ​

No description yet.

Dictionary get_preselection_info() ​

No description yet.

bool is_from_node_locked() ​

No description yet.

bool is_to_node_locked() ​

No description yet.

Dictionary get_selected_nodes_info() ​

No description yet.