From cb1dc5f3f8c0a5793471b0bae04606d736f5dd8b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 23 Aug 2020 11:13:59 +0100 Subject: [PATCH] todo --- src/commands.rs | 1 + src/global.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/commands.rs b/src/commands.rs index b594ef03..1936bb81 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -8,6 +8,7 @@ pub enum MgmtCommand { CreateGame { name: String, insns: Vec }, ListGames { all: Option, }, AlterGame { + // xxx option scope, access control name: String, insns: Vec, how: MgmtGameUpdateMode, }, diff --git a/src/global.rs b/src/global.rs index 58f99c8f..fe597be2 100644 --- a/src/global.rs +++ b/src/global.rs @@ -501,6 +501,9 @@ impl InstanceGuard<'_> { // ---------- save/load ---------- +// xxx saving on client api calls +// xxx saving on "extraordinary" mgmt calls + enum SavefilenameParseResult { NotGameFile, AccessFile, -- 2.30.2