![]() |
DDraceNetwork Documentation
|
#include <scoreboard.h>
Classes | |
| struct | CScoreboardRenderState |
Public Member Functions | |
| CScoreboard () | |
| int | Sizeof () const override |
| void | OnConsoleInit () override |
| void | OnInit () override |
| void | OnReset () override |
| void | OnRender () override |
| void | OnRelease () override |
| void | OnMessage (int MsgType, void *pRawMsg) override |
| bool | IsActive () const |
Public Member Functions inherited from CComponent | |
| virtual | ~CComponent ()=default |
| virtual void | OnStateChange (int NewState, int OldState) |
| virtual void | OnShutdown () |
| virtual void | OnWindowResize () |
| virtual void | OnUpdate () |
| virtual void | OnNewSnapshot () |
| virtual void | OnMapLoad () |
| virtual bool | OnCursorMove (float x, float y, IInput::ECursorType CursorType) |
| virtual bool | OnInput (const IInput::CEvent &Event) |
| virtual bool | OnTouchState (const std::vector< IInput::CTouchFingerState > &vTouchFingerStates) |
Public Member Functions inherited from CComponentInterfaces | |
| virtual void | OnInterfacesInit (CGameClient *pClient) |
| virtual | ~CComponentInterfaces ()=default |
Private Member Functions | |
| void | RenderTitle (CUIRect TitleBar, int Team, const char *pTitle) |
| void | RenderGoals (CUIRect Goals) |
| void | RenderSpectators (CUIRect Spectators) |
| void | RenderScoreboard (CUIRect Scoreboard, int Team, int CountStart, int CountEnd, CScoreboardRenderState &State) |
| void | RenderRecordingNotification (float x) |
| const char * | GetTeamName (int Team) const |
Static Private Member Functions | |
| static void | ConKeyScoreboard (IConsole::IResult *pResult, void *pUserData) |
Private Attributes | |
| bool | m_Active |
| float | m_ServerRecord |
| IGraphics::CTextureHandle | m_DeadTeeTexture |
Additional Inherited Members | |
Protected Member Functions inherited from CComponentInterfaces | |
| class CGameClient * | GameClient () const |
| class IClient * | Client () const |
| class IKernel * | Kernel () const |
| class IEngine * | Engine () const |
| class IGraphics * | Graphics () const |
| class ITextRender * | TextRender () const |
| class IInput * | Input () const |
| class IStorage * | Storage () const |
| class CUi * | Ui () const |
| class ISound * | Sound () const |
| class CRenderTools * | RenderTools () const |
| class CRenderMap * | RenderMap () const |
| class IConfigManager * | ConfigManager () const |
| class CConfig * | Config () const |
| class IConsole * | Console () const |
| class IDemoPlayer * | DemoPlayer () const |
| class IDemoRecorder * | DemoRecorder (int Recorder) const |
| class IFavorites * | Favorites () const |
| class IServerBrowser * | ServerBrowser () const |
| class CLayers * | Layers () const |
| class CCollision * | Collision () const |
| int64_t | time () const |
| float | LocalTime () const |
| class IHttp * | Http () const |
| CScoreboard::CScoreboard | ( | ) |
|
staticprivate |
| bool CScoreboard::IsActive | ( | ) | const |
|
overridevirtual |
Called to let the components register their console commands.
Reimplemented from CComponent.
|
overridevirtual |
Called to let the components run initialization code.
Reimplemented from CComponent.
Called when receiving a network message.
| Msg | The message type. |
| pRawMsg | The message data. |
Reimplemented from CComponent.
|
overridevirtual |
Called when the input gets released, for example when a text box loses focus.
Reimplemented from CComponent.
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
|
overridevirtual |
Called to reset the component. This method is usually called on your component constructor to avoid code duplication.
Reimplemented from CComponent.
|
private |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
|
private |
|
private |
|
private |