aboutsummaryrefslogtreecommitdiff
path: root/core/src/data/game/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/game/runtime/structs.rs
parent8db4f6af3421392fb75d4a2257d39a10bcefa493 (diff)
完成了控制台部分
Diffstat (limited to 'core/src/data/game/runtime/structs.rs')
-rw-r--r--core/src/data/game/runtime/structs.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/data/game/runtime/structs.rs b/core/src/data/game/runtime/structs.rs
index bf68424..c6e005f 100644
--- a/core/src/data/game/runtime/structs.rs
+++ b/core/src/data/game/runtime/structs.rs
@@ -1,5 +1,6 @@
use std::collections::{HashMap, VecDeque};
use std::sync::atomic::AtomicBool;
+use std::sync::Mutex;
use crate::data::game::structs::GameControlData;
use crate::data::game::types::{GameInfo, Players};
use crate::data::message::enums::{ControlMessage, GameMessage};
@@ -25,6 +26,7 @@ pub struct GameRuntimeData {
pub(crate) players_online: Players,
pub(crate) players_banned: Players,
+ pub(crate) account_service_type: Mutex<HashMap<Account, ServiceType>>,
pub locked: AtomicBool,
pub close: AtomicBool,