Implement 40250 classic client port

This commit is contained in:
shenlei
2026-09-01 18:49:28 +09:00
parent 2277b1dd60
commit 8f61990a83
481 changed files with 169826 additions and 293 deletions
+4
View File
@@ -8,6 +8,7 @@ const RefineUI = preload("res://ui/refine_ui.gd")
class FakeClient extends Node:
signal guild_changed()
signal refine_ask(info: Dictionary)
signal refine_result(ok: bool)
var guild := {"in_guild": false}
var members := []
var grades := []
@@ -83,6 +84,9 @@ func _run() -> void:
ok_btn.pressed.emit()
_ck(fc.calls == [["refine", 7, 1]], "精炼 -> client.refine(pos=7, type=1)")
_ck(not ru.is_open(), "确认后关闭")
fc.refine_result.emit(true)
_ck(ru.is_open() and ru._text.text.contains("成功"), "精炼成功结果回显")
ru._root.visible = false
# 取消
fc.refine_ask.emit({"type": 0, "pos": 3, "src_vnum": 1, "result_vnum": 2, "cost": 0, "prob": 100, "materials": []})
for b in ru._root.find_children("*", "Button", true, false):