2024-01-28 21:08:08 +00:00
|
|
|
class_name UIManager
|
2024-01-25 11:10:29 +00:00
|
|
|
extends Control
|
|
|
|
|
2024-01-28 21:08:08 +00:00
|
|
|
signal chat_message_submitted(message: String)
|
|
|
|
|
2024-01-28 23:55:49 +00:00
|
|
|
var ping_changed: Signal
|
|
|
|
var download_changed: Signal
|
|
|
|
var upload_changed: Signal
|
|
|
|
var message_received: Signal
|
2024-01-29 22:16:06 +00:00
|
|
|
var login: Signal
|
|
|
|
var logout: Signal
|
2024-01-25 11:10:29 +00:00
|
|
|
|
|
|
|
func _enter_tree():
|
2024-01-28 23:55:49 +00:00
|
|
|
ping_changed = %Ping.changed
|
|
|
|
download_changed = %Client.download_changed
|
|
|
|
upload_changed = %Client.upload_changed
|
|
|
|
message_received = %Chat.message_received
|
2024-01-29 22:16:06 +00:00
|
|
|
login = %Login.success
|
2024-02-05 22:42:04 +00:00
|
|
|
logout = %Logout.success
|