Connect graphical CCS interviews to cases
This commit is contained in:
@@ -34,6 +34,7 @@ var queue: Array = []
|
||||
var text_scale := 1.0
|
||||
var highlights := {}
|
||||
var request_access_token := ""
|
||||
var launch_origin := "ccs"
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
@@ -77,6 +78,10 @@ func send_command(type: String, code: String = "", minutes: int = 0) -> void:
|
||||
"minutes": minutes
|
||||
})
|
||||
|
||||
|
||||
func send_dialogue_choice(choice_id: String) -> void:
|
||||
send_command("dialogue_choice", choice_id)
|
||||
|
||||
func send_batch(commands: Array) -> void:
|
||||
if attempt.is_empty() or commands.is_empty():
|
||||
return
|
||||
@@ -272,6 +277,7 @@ func _escape_bbcode(value: String) -> String:
|
||||
|
||||
func _on_auth_changed() -> void:
|
||||
if not AuthState.is_logged_in:
|
||||
launch_origin = "ccs"
|
||||
highlights.clear()
|
||||
text_scale = 1.0
|
||||
attempt = {}
|
||||
|
||||
Reference in New Issue
Block a user