完善客户端功能并同步差距文档

This commit is contained in:
shenlei
2026-09-03 18:40:01 +09:00
parent f93a172296
commit 13ccb8d02d
135 changed files with 21881 additions and 1259 deletions
+4
View File
@@ -32,6 +32,8 @@ func is_open() -> bool:
func close() -> void:
if _root:
_root.visible = false
if _invite_dialog:
_invite_dialog.hide()
func toggle() -> void:
_root.visible = not _root.visible
@@ -94,6 +96,8 @@ func _on_friend_invite(name: String) -> void:
func _answer_invite(accept: bool) -> void:
var name := _pending_invite
_pending_invite = ""
if _invite_dialog:
_invite_dialog.hide()
if name != "" and client != null and client.has_method("friend_answer"):
client.friend_answer(name, accept)