feat(store): add store and marketplace item views and image sources

Add catalogue filters, item detail views, and purchase and resale
actions. Resolve images from the player's asset pack, public image
URLs, or local game data. Add a utility for creating the optional
local asset pack.

Type checking and JavaScript syntax checks passed. Embedded browser
appearance and in-game behavior still need acceptance.
This commit is contained in:
N0VAN0M4LY committed 2026-11-26 07:12:38 +08:00
1 parent a73635407d
commit 98812fa9c2
39 files changed
+1309 -400

No files matched your search

@@ -8,11 +8,11 @@
},
"derivation": {
"requirement": "handover 6.1 方案 B(用户原话 82、115):写死的地址全部接到本机,由机制保证连不出去;本地服务接住要用的请求(GJN 付款、兑换码等,implementation notes 第 5 节);不用 443 等固定端口。开发纪律第 18 条(与正版隔离)。",
"requirement": "Route hard-coded endpoints to the isolated local service at its configured port, including the endpoints for purchases and code redemption.",
"cause": "这些地址是程序和 yuplay2 里的常量,network.blk 的 storeApiHost 等只能换主机名,协议和端口(https/443)改不了,很多地址根本没有配置项。",
"lighter_options_ruled_out": [
"原生自带:没有统一改所有地址和端口的配置项。",
"逐个改地址字符串:会漏,有长度限制,管不到进程里其他 DLL(用户在 6.1 排除)。",
"Replacing individual address strings has length constraints and misses calls made by other libraries in the process.",
"改 Windows hosts 文件:影响整台电脑和正版(6.1 排除),而且改不了端口。",
"代码洞里的钩子:只能拦 exe 自己的调用,fmod64、controller、gameHook、libcef 等 DLL 直接调 ws2_32,拦不到(implementation notes)。"
],