工程(S9类型闸正则修复): FUNC_DECL 认行尾冒号与 static 前缀两洞修复,存量 29 处补类型注解零行为变化,--code 域闸全绿(回执 domain=code)

This commit is contained in:
DKChan committed 2026-10-25 17:56:36 +08:00
1 parent ea9b366de6
commit ccd31de9ce
15 files changed
+27 -27

No files matched your search

+3 -3
View File
@@ -76,7 +76,7 @@ static func _refresh_hero(stage: BattleStageView, info: HeroInfoPanelView, s: Di
# ---- 行动经济(AP 点阵 / RAP / 弃图刷新按钮态——RAP 读数在本条) ----
static func _refresh_economy(ap_bar: ApBarView, s: Dictionary, db, refresh_remaining: int) -> void:
static func _refresh_economy(ap_bar: ApBarView, s: Dictionary, db: ConfigDb, refresh_remaining: int) -> void:
ap_bar.set_ap(int(s.ap), int(db.action_economy.ap_per_round))
ap_bar.set_rap(int(s.rap))
var digging := String(s.phase) == ActionEconomy.PHASE_ACTIVE
@@ -88,7 +88,7 @@ static func _refresh_economy(ap_bar: ApBarView, s: Dictionary, db, refresh_remai
# 特性持有文案(战斗 C 区与关卡选择页两处共用;空持有=空数组。
# 行形态=逐件「件名 ×N」(非逐流派聚合)——表行
# 无 archetype 字段,聚合形态会空键兜底实显「流派 ×N · 档一」僵尸文案;流派档位非现行机制)
static func feat_holdings_lines(db, held: Array) -> Array[String]:
static func feat_holdings_lines(db: ConfigDb, held: Array) -> Array[String]:
var rlines: Array[String] = []
if db == null or db.feats == null or (db.feats.rows as Array).is_empty() or held.is_empty():
return rlines
@@ -105,7 +105,7 @@ static func feat_holdings_lines(db, held: Array) -> Array[String]:
# 地形变异常驻角标文案(整图变异 id → 文案行;
# 空集 = 空数组=空态隐藏。三行制:变异名+两行效果说明(C 区 240px 宽防裁切)。
# 文案用常规表述,不用俚语
static func board_variant_lines(db, ids: Array) -> Array[String]:
static func board_variant_lines(db: ConfigDb, ids: Array) -> Array[String]:
var lines: Array[String] = []
if db == null or db.variation == null:
return lines