Class LobbySidebarCoordinatorService

java.lang.Object
dev.deepcore.challenge.ui.LobbySidebarCoordinatorService

public final class LobbySidebarCoordinatorService extends Object
Coordinates lobby sidebar rendering across online players.
  • Constructor Details

    • LobbySidebarCoordinatorService

      public LobbySidebarCoordinatorService(LobbySidebarService lobbySidebarService, WorldClassificationService worldClassificationService, RunUiFormattingService runUiFormattingService)
      Creates a lobby sidebar coordinator service.
      Parameters:
      lobbySidebarService - sidebar rendering service
      worldClassificationService - world classification helper
      runUiFormattingService - run UI formatting helper
  • Method Details

    • refreshForOnlinePlayers

      public void refreshForOnlinePlayers(Iterable<? extends org.bukkit.entity.Player> players, SidebarModel model)
      Refreshes lobby sidebars for online players using the supplied sidebar model.
      Parameters:
      players - online players to refresh
      model - sidebar model snapshot used for rendering