Summary

Methods

Init()client
Sizes the scoreboard menu tab to the menu, stores it as cw.scoreboard and builds it.
Rebuilds the scoreboard when the menu is opened while this tab is active.
Rebuilds the scoreboard when the tab is selected in the menu.
Draws the outlined panel background.
Does nothing; the list lays itself out.
Rebuild()client
Rebuilds the scoreboard, grouping initialized players by scoreboard class.

Methods

Sizes the scoreboard menu tab to the menu, stores it as cw.scoreboard and builds it.

Rebuilds the scoreboard when the menu is opened while this tab is active.

Rebuilds the scoreboard when the tab is selected in the menu.

Draws the outlined panel background.

Parameters

  • w
  • h

Does nothing; the list lays itself out.

Parameters

  • w
  • h

Rebuilds the scoreboard, grouping initialized players by scoreboard class.

The class comes from the GetPlayerScoreboardClass hook, and players are listed when PlayerShouldShowOnScoreboard allows it. Players in a class are sorted with the ScoreboardSortClassPlayers hook and classes by name; each player is a cwScoreboardItem.

Defined in