Appraisal test helpers: put a client with appraisal cards in front of the counter

This commit is contained in:
ZHU MINCHAO committed 2026-11-03 13:20:11 +08:00
1 parent 2be4c90c8e
commit 821eb1b960
2 files changed
+6 -1

No files matched your search

+3
View File
@@ -35,6 +35,9 @@ namespace Decentralized
if (depth < 5) foreach (Transform c in t) Walk(c, depth + 1);
}
var m = InspectionUIManager.Instance;
var ci = PlayerStore.Instance.currentClientInstance;
sb.AppendLine("当前顾客:" + (ci == null ? "无" : ci.GetClientBlueprint().identifier + " 意图 " + ci.GetClientBlueprint().clientIntent));
sb.AppendLine("检视物品:" + (m.currentInspectingItem?.identifier ?? "无") + " APPRAISAL=" + (m.currentInspectingItem?.IsTag("APPRAISAL_ITEM") ?? false));
Walk(m.panel.transform, 0);
Log.Info(sb.ToString());
}));