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

#include <nameplates.h>

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

Classes

class  CNamePlatesData

Public Member Functions

void RenderNamePlateGame (vec2 Position, const CNetObj_PlayerInfo *pPlayerInfo, float Alpha)
void RenderNamePlatePreview (vec2 Position, int Dummy)
void ResetNamePlates ()
int Sizeof () const override
void OnWindowResize () override
void OnRender () override
 CNamePlates ()
 ~CNamePlates () override
Public Member Functions inherited from CComponent
virtual void OnStateChange (int NewState, int OldState)
virtual void OnConsoleInit ()
virtual void OnInit ()
virtual void OnShutdown ()
virtual void OnReset ()
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 Attributes

CNamePlatesDatam_pData

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

Constructor & Destructor Documentation

◆ CNamePlates()

CNamePlates::CNamePlates ( )

◆ ~CNamePlates()

CNamePlates::~CNamePlates ( )
override

Member Function Documentation

◆ OnRender()

void CNamePlates::OnRender ( )
overridevirtual

Called when the component should get rendered.

The render order depends on the component insertion order.

Reimplemented from CComponent.

◆ OnWindowResize()

void CNamePlates::OnWindowResize ( )
overridevirtual

Called when the window has been resized.

Reimplemented from CComponent.

◆ RenderNamePlateGame()

void CNamePlates::RenderNamePlateGame ( vec2 Position,
const CNetObj_PlayerInfo * pPlayerInfo,
float Alpha )

◆ RenderNamePlatePreview()

void CNamePlates::RenderNamePlatePreview ( vec2 Position,
int Dummy )

◆ ResetNamePlates()

void CNamePlates::ResetNamePlates ( )

◆ Sizeof()

int CNamePlates::Sizeof ( ) const
inlineoverridevirtual

Gets the size of the non-abstract component.

Implements CComponent.

Member Data Documentation

◆ m_pData

CNamePlatesData* CNamePlates::m_pData
private

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