ConversationChatGraphNode ​
Inherits: GraphNode
GraphNode representation of a ConversationChat Uses DialogManager.setup_dialog() for guaranteed clean connections
Variables ​
ConversationChat | chat_data | |
Conversation | conversation | |
String | current_language | "" |
DialogManager | dialog_manager | |
Dictionary | response_slot_entries | {} |
Methods ​
void | set_dialog_manager( p_dialog_manager: DialogManager ) |
void | setup_with_chat( chat: ConversationChat, conv: Conversation, language: String ) |
void | update_language( language: String ) |
int | get_chat_id() |
void | update_response_display( slot_idx: int ) |
Signals ​
response_slot_added( slot_idx: int ) ​
response_slot_removed( slot_idx: int ) ​
chat_data_changed() ​
Constants ​
constSLOT_TEXT_EDIT_LABEL =0constFIRST_RESPONSE_SLOT =6constPORT_TYPE_CHAT_INPUT =0constPORT_TYPE_RESPONSE_FLOW =1
Variable descriptions ​
ConversationChat chat_data ​
No description yet.
Conversation conversation ​
No description yet.
String current_language = "" ​
The language the node shows and edits: the code of a language, "" or the source language = the text stored in the conversation, another language = its translation in the tables
DialogManager dialog_manager ​
No description yet.
Dictionary response_slot_entries = ​
No description yet.
Method descriptions ​
void set_dialog_manager( p_dialog_manager: DialogManager ) ​
No description yet.
void setup_with_chat( chat: ConversationChat, conv: Conversation, language: String ) ​
No description yet.
void update_language( language: String ) ​
No description yet.
int get_chat_id() ​
No description yet.
void update_response_display( slot_idx: int ) ​
No description yet.