From 8359c5391f1f87d1a29df94ae90d431d432bc344 Mon Sep 17 00:00:00 2001 From: "1992414357@qq.com" <1992414357@qq.com> Date: Mon, 9 Jun 2025 03:26:09 +0800 Subject: 完成了控制台部分 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/data/controller/runtime/structs.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/src/data/controller/runtime/structs.rs') diff --git a/core/src/data/controller/runtime/structs.rs b/core/src/data/controller/runtime/structs.rs index 7be2cd6..bfd39c5 100644 --- a/core/src/data/controller/runtime/structs.rs +++ b/core/src/data/controller/runtime/structs.rs @@ -10,11 +10,12 @@ use crate::service::service_types::ServiceType; #[derive(Default)] pub struct ControllerRuntime { + pub(crate) service_type: ServiceType, pub(crate) received: HashMap<(ServiceType, u8), VecDeque>, pub(crate) send: HashMap<(ServiceType, u8), VecDeque>, pub(crate) player: Player, pub game_info: GameInfo, - pub close: AtomicBool + pub close: AtomicBool, } \ No newline at end of file -- cgit