From 23b49468a129cb25a1cead47d0724bcd7069c1c7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 17 Oct 2020 14:25:25 +0100 Subject: [PATCH] todos Signed-off-by: Ian Jackson --- src/commands.rs | 4 ++++ src/gamestate.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index dbf2fd4b..479e36b7 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -46,6 +46,10 @@ pub enum MgmtGameInstruction { SetFixedPlayerAccess { player: PlayerId, token: RawToken }, } +// xxx self-add players +// xxx permission system +// xxx facilitator name? + #[derive(Debug,Serialize,Deserialize)] pub struct MgmtPlayerState { pub timezone: Option, diff --git a/src/gamestate.rs b/src/gamestate.rs index 3e195feb..4983c42d 100644 --- a/src/gamestate.rs +++ b/src/gamestate.rs @@ -45,7 +45,7 @@ pub struct GameState { pub pieces : Pieces, pub players : PlayerMap, pub gen : Generation, - pub log : VecDeque<(Generation, Arc)>, // xxx expiry + pub log : VecDeque<(Generation, Arc)>, pub max_z : ZCoord, } -- 2.30.2