chiark / gitweb /
todo
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Aug 2020 10:13:59 +0000 (11:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Aug 2020 10:13:59 +0000 (11:13 +0100)
src/commands.rs
src/global.rs

index b594ef0330d5f06682af0f51308dc46c5697f42d..1936bb81febf4f20eeaf5f57dcf0024d977da68a 100644 (file)
@@ -8,6 +8,7 @@ pub enum MgmtCommand {
   CreateGame { name: String, insns: Vec<MgmtGameInstruction> },
   ListGames { all: Option<bool>, },
   AlterGame {
+    // xxx option scope, access control
     name: String, insns: Vec<MgmtGameInstruction>,
     how: MgmtGameUpdateMode,
   },
index 58f99c8fe35cd2f5e41563529323419ea776f1ea..fe597be2e3dc5694757ebbccaeb67fdd4c55123f 100644 (file)
@@ -501,6 +501,9 @@ impl InstanceGuard<'_> {
 
 // ---------- save/load ----------
 
+// xxx saving on client api calls
+// xxx saving on "extraordinary" mgmt calls
+
 enum SavefilenameParseResult {
   NotGameFile,
   AccessFile,