Files
DarkflameServer/dDashboardServer/routes/WorldReloadRoutes.h
Aaron Kimbrell 139df9ab9a feat(dashboard): world files card with changed-on-disk badges and Reload
On the Instances page, behind world_reload; zone names from GameText.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 02:51:21 -05:00

20 lines
514 B
C++

#pragma once
#include "json.hpp"
struct WorldFilesStatus;
/**
* World hot reload on the dashboard (docs/WorldHotReload.md): the zone files each running world loaded, whether they
* changed on disk, and a Reload action per zone. The status comes from master (WORLD_FILES_STATUS) and is pushed to
* browsers on the world_files socket topic.
*/
namespace WorldReloadRoutes {
void RegisterRoutes();
// Master sent a status
void HandleStatus(const WorldFilesStatus& status);
nlohmann::json StatusJson();
}