aboutsummaryrefslogtreecommitdiff
path: root/core/src/data/controller/runtime/structs.rs
diff options
context:
space:
mode:
author1992414357@qq.com <1992414357@qq.com>2025-06-09 03:26:09 +0800
committer1992414357@qq.com <1992414357@qq.com>2025-06-09 03:26:09 +0800
commit8359c5391f1f87d1a29df94ae90d431d432bc344 (patch)
tree129101538b9cc45176e9a345583db22609134fe5 /core/src/data/controller/runtime/structs.rs
parent8db4f6af3421392fb75d4a2257d39a10bcefa493 (diff)
完成了控制台部分
Diffstat (limited to 'core/src/data/controller/runtime/structs.rs')
-rw-r--r--core/src/data/controller/runtime/structs.rs3
1 files changed, 2 insertions, 1 deletions
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<GameMessage>>,
pub(crate) send: HashMap<(ServiceType, u8), VecDeque<ControlMessage>>,
pub(crate) player: Player,
pub game_info: GameInfo,
- pub close: AtomicBool
+ pub close: AtomicBool,
} \ No newline at end of file