完善客户端功能并同步差距文档
This commit is contained in:
@@ -23,6 +23,14 @@ func _check(ok: bool, message: String) -> void:
|
||||
func _init() -> void:
|
||||
var inv := InventoryUI.new()
|
||||
_check(inv._to_wire(0) == [1, 0], "normal inventory uses INVENTORY cell")
|
||||
# 旧 11 格 wear(BODY..SHIELD)走 EQUIPMENT 窗(window=2, 零基 wear cell)。
|
||||
_check(inv._to_wire(90) == [2, 0], "wear body uses EQUIPMENT window cell 0")
|
||||
_check(inv._to_wire(100) == [2, 10], "wear shield uses EQUIPMENT window cell 10")
|
||||
# ENABLE_NEW_EQUIPMENT_SYSTEM 的 costume/ring/belt 留在 INVENTORY 窗全局 cell(GameType.h)。
|
||||
_check(inv._to_wire(109) == [1, 109], "costume body uses legacy global cell 109")
|
||||
_check(inv._to_wire(110) == [1, 110], "costume hair uses legacy global cell 110")
|
||||
_check(inv._to_wire(111) == [1, 111], "ring1 uses legacy global cell 111")
|
||||
_check(inv._to_wire(112) == [1, 112], "ring2 uses legacy global cell 112")
|
||||
_check(inv._to_wire(113) == [1, 113], "wear belt uses legacy global cell 113")
|
||||
_check(inv._to_wire(200) == [1, 152], "belt UI cell 0 uses global cell 152")
|
||||
_check(inv._to_wire(215) == [1, 167], "belt UI cell 15 uses global cell 167")
|
||||
|
||||
Reference in New Issue
Block a user