feat(match): 添加画面上下镜像、跳过准备和装甲板整局复位

This commit is contained in:
sloray committed 2026-10-31 09:27:26 +08:00
1 parent 235fb1c73b
commit 338efa5c2e
39 files changed
+1094 -54

No files matched your search

+5
View File
@@ -52,6 +52,8 @@ mod match_state;
pub use match_state::MatchState;
mod armor_damage;
pub use armor_damage::ArmorDamageControl;
mod armor_reset;
pub use armor_reset::ArmorReset;
// ---------------------------------------------------------------------------
// 端口
@@ -124,6 +126,8 @@ pub enum MsgType {
MatchState = 7,
/// 裁判端下发本局的扣血许可,定向发送到装甲板上报端口。
ArmorDamageControl = 8,
/// 裁判定向复位装甲板及板端回执。
ArmorReset = 9,
}
impl MsgType {
@@ -138,6 +142,7 @@ impl MsgType {
6 => MsgType::ArmorControl,
7 => MsgType::MatchState,
8 => MsgType::ArmorDamageControl,
9 => MsgType::ArmorReset,
_ => return None,
})
}