chiark / gitweb /
todos
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Oct 2020 13:25:25 +0000 (14:25 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Oct 2020 13:25:25 +0000 (14:25 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/commands.rs
src/gamestate.rs

index dbf2fd4bd51ad5d59abce5f0d71b27b542368b6c..479e36b72165c1cf1ffd8d82e41b4ee19a0fb373 100644 (file)
@@ -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<String>,
index 3e195feb5b81e5dd63d9b99fa6d19b32671a674f..4983c42d9a1ea3a57234a51854fab9c0a1942187 100644 (file)
@@ -45,7 +45,7 @@ pub struct GameState {
   pub pieces : Pieces,
   pub players : PlayerMap,
   pub gen : Generation,
-  pub log : VecDeque<(Generation, Arc<CommittedLogEntry>)>, // xxx expiry
+  pub log : VecDeque<(Generation, Arc<CommittedLogEntry>)>,
   pub max_z : ZCoord,
 }