DDraceNetwork Documentation
Loading...
Searching...
No Matches
CFreezeBars Class Reference

#include <freezebars.h>

Inheritance diagram for CFreezeBars:
[legend]
Collaboration diagram for CFreezeBars:
[legend]

Public Member Functions

int Sizeof () const override
 
void OnRender () override
 
- Public Member Functions inherited from CComponent
virtual ~CComponent ()=default
 
virtual void OnStateChange (int NewState, int OldState)
 
virtual void OnConsoleInit ()
 
virtual void OnInit ()
 
virtual void OnShutdown ()
 
virtual void OnReset ()
 
virtual void OnWindowResize ()
 
virtual void OnUpdate ()
 
virtual void OnNewSnapshot ()
 
virtual void OnRelease ()
 
virtual void OnMapLoad ()
 
virtual void OnMessage (int Msg, void *pRawMsg)
 
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 RenderFreezeBar (const int ClientId)
 
void RenderFreezeBarPos (float x, const float y, const float Width, const float Height, float Progress, float Alpha=1.0f)
 
bool IsPlayerInfoAvailable (int ClientId) const
 

Additional Inherited Members

- Protected Member Functions inherited from CComponentInterfaces
class CGameClientGameClient () const
 
class IClientClient () const
 
class IKernelKernel () const
 
class IEngineEngine () const
 
class IGraphicsGraphics () const
 
class ITextRenderTextRender () const
 
class IInputInput () const
 
class IStorageStorage () const
 
class CUiUi () const
 
class ISoundSound () const
 
class CRenderToolsRenderTools () const
 
class CRenderMapRenderMap () const
 
class IConfigManagerConfigManager () const
 
class CConfigConfig () const
 
class IConsoleConsole () const
 
class IDemoPlayerDemoPlayer () const
 
class IDemoRecorderDemoRecorder (int Recorder) const
 
class IFavoritesFavorites () const
 
class IServerBrowserServerBrowser () const
 
class CLayersLayers () const
 
class CCollisionCollision () const
 
int64_t time () const
 
float LocalTime () const
 
class IHttpHttp () const
 

Member Function Documentation

◆ IsPlayerInfoAvailable()

bool CFreezeBars::IsPlayerInfoAvailable ( int  ClientId) const
inlineprivate

◆ OnRender()

void CFreezeBars::OnRender ( )
overridevirtual

Called when the component should get rendered.

The render order depends on the component insertion order.

Reimplemented from CComponent.

◆ RenderFreezeBar()

void CFreezeBars::RenderFreezeBar ( const int  ClientId)
private

◆ RenderFreezeBarPos()

void CFreezeBars::RenderFreezeBarPos ( float  x,
const float  y,
const float  Width,
const float  Height,
float  Progress,
float  Alpha = 1.0f 
)
private

◆ Sizeof()

int CFreezeBars::Sizeof ( ) const
inlineoverridevirtual

Gets the size of the non-abstract component.

Implements CComponent.


The documentation for this class was generated from the following files: