Scoreboard
namespace Griff.Scenes;
public sealed class Scoreboard : ComponentLists who’s in a network game in the entity’s Text, one player a line: name, team, score and ping, best score first. Offline it shows Offline. For a lobby, or a scoreboard on Tab.
This is a component: its saved properties are on its component page.
Properties
Section titled “Properties”HoldKey
Section titled “HoldKey”public Key HoldKey { get; set; }A key that shows it while held, e.g. Tab, for a scoreboard during play. None shows it all the time.
Offline
Section titled “Offline”public string? Offline { get; set; }What it shows when not in a network game. Empty shows nothing.
ShowPing
Section titled “ShowPing”public bool ShowPing { get; set; }Show each player’s ping: how many milliseconds their connection to the host takes there and back.
ShowScore
Section titled “ShowScore”public bool ShowScore { get; set; }Show each player’s score.
ShowStatus
Section titled “ShowStatus”public bool ShowStatus { get; set; }The game’s state on a last line: “Hosting on 192.168.1.5:7777”, “Connecting…”, or why the connection ended.
public string? Title { get; set; }A line on top, e.g. “Players”. Empty has none.