Class DashboardController
- Namespace
- FishMMO.ControlPanel.Controllers
- Assembly
- FishMMO-ControlPanel.dll
The landing page's figures.
[ApiController]
[Route("api/dashboard")]
public sealed class DashboardController : ControllerBase
- Inheritance
-
DashboardController
- Inherited Members
Remarks
Only what the panel can actually read. Server population, scene instances and host health need the world, scene and login server services to grow operator-facing list methods first, and a dashboard that invented those numbers would be the most damaging place in the panel to invent anything: it is the page an operator glances at to decide whether something is wrong.
The character figures come from the same rows the game servers write, so "in world" here means a scene server holds a live session lease, not that a flag was left set.
Constructors
DashboardController(ICharacterService)
public DashboardController(ICharacterService characters)
Parameters
charactersICharacterService
Methods
Get()
Counts for the dashboard.
[HttpGet]
[Authorize(Policy = "Support")]
public Task<IActionResult> Get()