feat(net): WORLD_FILES, WORLD_RELOAD and WORLD_FILES_STATUS master messages

Appended at the end of MessageType::Master (47-49); the pin test is
updated. A world sends its zone file list to master once it is ready.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-30 02:44:16 -05:00
parent e709855b7d
commit ab395a1af9
5 changed files with 319 additions and 1 deletions

View File

@@ -94,5 +94,13 @@ namespace MessageType {
// Master -> every server: the client's cdclient.fdb changed; switch to the named copy and CDServer.sqlite.
// World or dashboard -> master (no names): check the client's fdb now
CDCLIENT_RELOAD,
// World hot reload (see WorldFiles.h, docs/WorldHotReload.md)
// World -> master, once ready: the zone data files it loaded, with their sizes and hashes
WORLD_FILES,
// World (a GM's /reloadworld) or dashboard -> master: replace every instance of a zone with one on the files on disk
WORLD_RELOAD,
// Master -> dashboard: each running zone's files, whether they changed on disk, and which instances are stale
WORLD_FILES_STATUS,
};
}