#include <scoreboard.h>
◆ CScoreboard()
| CScoreboard::CScoreboard |
( |
| ) |
|
◆ ConKeyScoreboard()
◆ ConToggleScoreboardCursor()
| void CScoreboard::ConToggleScoreboardCursor |
( |
IConsole::IResult * | pResult, |
|
|
void * | pUserData ) |
|
staticprivate |
◆ GetTeamName()
| const char * CScoreboard::GetTeamName |
( |
int | Team | ) |
const |
|
private |
◆ IsActive()
| bool CScoreboard::IsActive |
( |
| ) |
const |
◆ LockMouse()
| void CScoreboard::LockMouse |
( |
| ) |
|
|
private |
◆ OnConsoleInit()
| void CScoreboard::OnConsoleInit |
( |
| ) |
|
|
overridevirtual |
Called to let the components register their console commands.
Reimplemented from CComponent.
◆ OnCursorMove()
Called on mouse movement, where the x and y values are deltas.
- Parameters
-
| x | The amount of change in the x coordinate since the last call. |
| y | The amount of change in the y coordinate since the last call. |
| CursorType | The type of cursor that caused the movement. |
Reimplemented from CComponent.
◆ OnInit()
| void CScoreboard::OnInit |
( |
| ) |
|
|
overridevirtual |
Called to let the components run initialization code.
Reimplemented from CComponent.
◆ OnInput()
Called on a input event.
- Parameters
-
Reimplemented from CComponent.
◆ OnRelease()
| void CScoreboard::OnRelease |
( |
| ) |
|
|
overridevirtual |
Called when the input gets released, for example when a text box loses focus.
Reimplemented from CComponent.
◆ OnRender()
| void CScoreboard::OnRender |
( |
| ) |
|
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
◆ OnReset()
| void CScoreboard::OnReset |
( |
| ) |
|
|
overridevirtual |
Called to reset the component. This method is usually called on your component constructor to avoid code duplication.
- See also
- CHud::CHud()
-
CHud::OnReset()
Reimplemented from CComponent.
◆ PopupScoreboard()
◆ RenderGoals()
| void CScoreboard::RenderGoals |
( |
CUIRect | Goals | ) |
|
|
private |
◆ RenderRecordingNotification()
| void CScoreboard::RenderRecordingNotification |
( |
float | x | ) |
|
|
private |
◆ RenderScoreboard()
◆ RenderSpectators()
| void CScoreboard::RenderSpectators |
( |
CUIRect | Spectators | ) |
|
|
private |
◆ RenderTitle()
| void CScoreboard::RenderTitle |
( |
CUIRect | TitleBar, |
|
|
int | Team, |
|
|
const char * | pTitle ) |
|
private |
◆ SetUiMousePos()
| void CScoreboard::SetUiMousePos |
( |
vec2 | Pos | ) |
|
|
private |
◆ Sizeof()
| int CScoreboard::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ m_Active
| bool CScoreboard::m_Active |
|
private |
◆ m_aPlayers
◆ m_DeadTeeTexture
◆ m_LastMousePos
| std::optional<vec2> CScoreboard::m_LastMousePos |
|
private |
◆ m_MouseUnlocked
| bool CScoreboard::m_MouseUnlocked = false |
|
private |
◆ m_ScoreboardPopupContext
The documentation for this class was generated from the following files: