feat(client): 同步每路镜像并精简操控入口与 HUD 映射
构建客户端 / 检查(类型 + 单元测试) (push) Canceled after 0s
构建客户端 / Linux x64(deb + AppImage) (push) Canceled after 0s
构建客户端 / Windows x64(NSIS 安装包) (push) Canceled after 0s
构建客户端 / macOS 通用(.app + .dmg) (push) Canceled after 0s

This commit is contained in:
sloray committed 2026-11-01 23:38:10 +08:00
1 parent 38410bacd4
commit 1b1fa0f35b
28 files changed
+503 -62

No files matched your search

+4
View File
@@ -47,6 +47,8 @@
//! ```
use std::net::{Ipv4Addr, SocketAddrV4};
mod camera_mirror;
pub use camera_mirror::CameraMirror;
mod match_state;
pub use match_state::MatchState;
@@ -136,6 +138,7 @@ pub enum MsgType {
MatchResult = 10,
/// 选手端定向发送给已绑定装甲板的四轴速度与发射状态。
OperatorControl = 11,
CameraMirror = 12,
}
impl MsgType {
@@ -153,6 +156,7 @@ impl MsgType {
9 => MsgType::ArmorReset,
10 => MsgType::MatchResult,
11 => MsgType::OperatorControl,
12 => MsgType::CameraMirror,
_ => return None,
})
}