#include <spectator.h>
◆ anonymous enum
Enumerator |
---|
MULTI_VIEW | |
NO_SELECTION | |
◆ CSpectator()
CSpectator::CSpectator |
( |
| ) |
|
◆ CanChangeSpectator()
bool CSpectator::CanChangeSpectator |
( |
| ) |
|
|
private |
◆ ConKeySpectator()
◆ ConMultiView()
◆ ConSpectate()
◆ ConSpectateClosest()
void CSpectator::ConSpectateClosest |
( |
IConsole::IResult * |
pResult, |
|
|
void * |
pUserData |
|
) |
| |
|
staticprivate |
◆ ConSpectateNext()
◆ ConSpectatePrevious()
void CSpectator::ConSpectatePrevious |
( |
IConsole::IResult * |
pResult, |
|
|
void * |
pUserData |
|
) |
| |
|
staticprivate |
◆ IsActive()
bool CSpectator::IsActive |
( |
| ) |
const |
|
inline |
◆ OnConsoleInit()
void CSpectator::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.
◆ OnInput()
Called on a input event.
- Parameters
-
Reimplemented from CComponent.
◆ OnRelease()
void CSpectator::OnRelease |
( |
| ) |
|
|
overridevirtual |
Called when the input gets released, for example when a text box loses focus.
Reimplemented from CComponent.
◆ OnRender()
void CSpectator::OnRender |
( |
| ) |
|
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
◆ OnReset()
void CSpectator::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.
◆ Sizeof()
virtual int CSpectator::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ Spectate()
void CSpectator::Spectate |
( |
int |
SpectatorId | ) |
|
◆ SpectateClosest()
void CSpectator::SpectateClosest |
( |
| ) |
|
◆ SpectateNext()
void CSpectator::SpectateNext |
( |
bool |
Reverse | ) |
|
|
private |
◆ m_Active
bool CSpectator::m_Active |
|
private |
◆ m_MultiViewActivateDelay
float CSpectator::m_MultiViewActivateDelay |
|
private |
◆ m_SelectedSpectatorId
int CSpectator::m_SelectedSpectatorId |
|
private |
◆ m_SelectorMouse
vec2 CSpectator::m_SelectorMouse |
|
private |
◆ m_TouchState
◆ m_WasActive
bool CSpectator::m_WasActive |
|
private |
The documentation for this class was generated from the following files: