From b6a5db26364fc621988cd6ff1437b876aacb9d39 Mon Sep 17 00:00:00 2001 From: MemRelay Date: Tue, 20 Oct 2026 00:10:22 +0800 Subject: [PATCH] create: Checkpoint 2026-10-19 16:10:19 UTC [7f53ec73a9] MemRelay-Operation: checkpoint-save:20261020-checkpoint-assist-items MemRelay-Resource: f739517f-2c5b-4f72-be65-2fff21786ada --- ...nt 2026-10-19 16-10-19 UTC [7f53ec73a9].md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 projects/4eb30bec-355e-49d6-909c-e7868faef4f7/Checkpoint 2026-10-19 16-10-19 UTC [7f53ec73a9].md diff --git a/projects/4eb30bec-355e-49d6-909c-e7868faef4f7/Checkpoint 2026-10-19 16-10-19 UTC [7f53ec73a9].md b/projects/4eb30bec-355e-49d6-909c-e7868faef4f7/Checkpoint 2026-10-19 16-10-19 UTC [7f53ec73a9].md new file mode 100644 index 0000000..7b4d4f6 --- /dev/null +++ b/projects/4eb30bec-355e-49d6-909c-e7868faef4f7/Checkpoint 2026-10-19 16-10-19 UTC [7f53ec73a9].md @@ -0,0 +1,30 @@ +--- +title: Checkpoint 2026-10-19 16:10:19 UTC [7f53ec73a9] +type: checkpoint +permalink: main/projects/4eb30bec-355e-49d6-909c-e7868faef4f7/checkpoint-2026-10-19-16-10-19-utc-7f53ec73a9 +stable_id: f739517f-2c5b-4f72-be65-2fff21786ada +scope: project +memory_type: checkpoint +project_id: 4eb30bec-355e-49d6-909c-e7868faef4f7 +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: 20261020-checkpoint-assist-items +created_at: '2026-10-19T16:10:19.101327+00:00' +updated_at: '2026-10-19T16:10:19.101327+00:00' +tags: +- assist +- itemspawner +--- + +完成:辅助工具里加了物品生成页。名称和图标不是写死的,跟物品生成器一样从游戏物品库读。 + +原因:原生成器的搜索框进不了中文,白底按钮看不见字。地图名称用的辅助工具输入框可以打中文,所以物品页用同一套。 + +关键实现:SOTFAssist\ItemPage.cs。ItemDatabaseManager.Initialize 后读 Items。图标是 ItemUiData._icon。有中文背包名就用 GetTitleLocalized,空的或 ??? 用原来的 ItemData.Name。生成、装备走调试控制台。Mods\SOTFAssist.dll 已覆盖,57344 字节,2026-10-20 0:09。游戏没在运行。 + +验证:Release 编译通过。进游戏后还没打开过这一页。 + +下一步:进游戏打开辅助,点物品生成。搜索框应该能打中文。有中文的显示背包名和图标,没有的显示原英文名。装备和生成按钮应该能看见字。 + +给下个会话:不要给物品做一份写死的中文表。名字和图从物品库读。 \ No newline at end of file