mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 02:43:44 +00:00
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:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user