Adapt Android mobile controls and native client UI

This commit is contained in:
shen
2026-09-28 19:39:13 -07:00
parent a1ae69aa7a
commit 3c52ced02e
180 changed files with 688 additions and 23782 deletions
+4 -5
View File
@@ -67,12 +67,12 @@ PID 文件中的进程。可用 `MT40250_CHANNELS='1'` 只启动 channel1,或
## 编译/运行 classic 探针
FreeBSD 不能启用 Godot extension,但顶层 CMake 提供了 host-only 模式:
顶层 CMake 提供独立的 host-only 协议探针:
```sh
cmake -S . -B build-classic \
-DMTGODOT_BUILD_EXTENSION=OFF \
-DMTGODOT_BUILD_NET_TOOLS=ON \
-DMT_BUILD_NET_TOOLS=ON \
-DMT_BUILD_PORT=OFF \
-DCMAKE_BUILD_TYPE=Release
cmake --build build-classic --target net_classic_e2e_host -j2
@@ -81,8 +81,7 @@ build-classic/net_classic_e2e_host 127.0.0.1 13000 test_account test_password 0
探针成功的判据是输出 `PASS PHASE_GAME`,并且打印主角 VID、实体数、背包槽位数
和等级。它不会自动创建角色、交易、购买或移动仓库物品;这些操作属于有副作用的
fixture 测试,应在测试账号/NPC/第二账号准备后通过 Godot UI 或对应 `M2Client`
intent 逐项操作:好友 add/remove、exchange start/item/gold/accept/cancel、
fixture 测试,应在测试账号/NPC/第二账号准备后通过原生客户端逐项操作:好友 add/remove、exchange start/item/gold/accept/cancel、
NPC safebox checkin/checkout/move、mall checkout、Cube open/add/delete/make。
## 40250 配置核对
+3 -3
View File
@@ -1,13 +1,13 @@
#!/bin/sh
set -eu
cli=${MTGODOT_CLASSIC_E2E:-}
cli=${MT_CLASSIC_E2E:-${MTGODOT_CLASSIC_E2E:-}}
if [ -z "$cli" ]; then
build_root=${MTGODOT_CLASSIC_BUILD:-build-classic}
build_root=${MT_CLASSIC_BUILD:-${MTGODOT_CLASSIC_BUILD:-build-classic}}
cli="$build_root/net_classic_e2e_host"
fi
if [ ! -x "$cli" ]; then
echo "run_classic_e2e.sh: missing $cli; build with -DMTGODOT_BUILD_NET_TOOLS=ON" >&2
echo "run_classic_e2e.sh: missing $cli; build with -DMT_BUILD_NET_TOOLS=ON" >&2
exit 2
fi