feat(match): 添加画面上下镜像、跳过准备和装甲板整局复位
This commit is contained in:
39 files changed
+1094
-54
No files matched your search
@@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user