@page "/debug/roomVisualizer" @using LBPUnion.ProjectLighthouse.Extensions @using LBPUnion.ProjectLighthouse.Helpers @using LBPUnion.ProjectLighthouse.Match.Rooms @using LBPUnion.ProjectLighthouse.PlayerData @using LBPUnion.ProjectLighthouse.PlayerData.Profiles @using LBPUnion.ProjectLighthouse.Types @model LBPUnion.ProjectLighthouse.Servers.Website.Pages.Debug.RoomVisualizerPage @{ Layout = "Layouts/BaseLayout"; Model.Title = "Debug - Room Visualizer"; const int refreshSeconds = 5; }
This page will automatically refresh every @refreshSeconds seconds.
@* workaround for users w/o js*@@RoomHelper.Rooms.Count() rooms
Best room for @version.ToPrettyString(): @text
}You are currently in this room.
}@room.PlayerIds.Count players, state is @room.State, version is @room.RoomVersion.ToPrettyString() on platform @room.RoomPlatform
Slot type: @room.Slot.SlotType, slot id: @room.Slot.SlotId
@foreach (User player in room.GetPlayers(Model.Database)) {