DDraceNetwork Docs
|
#include <motd.h>
Public Member Functions | |
CMotd () | |
virtual int | Sizeof () const override |
const char * | ServerMotd () const |
int64_t | ServerMotdUpdateTime () const |
void | Clear () |
bool | IsActive () const |
virtual void | OnRender () override |
virtual void | OnStateChange (int NewState, int OldState) override |
virtual void | OnWindowResize () override |
virtual void | OnMessage (int MsgType, void *pRawMsg) override |
virtual bool | OnInput (const IInput::CEvent &Event) override |
Public Member Functions inherited from CComponent | |
virtual | ~CComponent () |
virtual int | Sizeof () const =0 |
class CGameClient * | GameClient () const |
class IClient * | Client () const |
virtual void | OnStateChange (int NewState, int OldState) |
virtual void | OnConsoleInit () |
virtual void | OnInit () |
virtual void | OnShutdown () |
virtual void | OnReset () |
virtual void | OnWindowResize () |
virtual void | OnRefreshSkins () |
virtual void | OnRender () |
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) |
Private Attributes | |
char | m_aServerMotd [std::size(g_Config.m_SvMotd)] |
int64_t | m_ServerMotdTime |
int64_t | m_ServerMotdUpdateTime |
int | m_RectQuadContainer = -1 |
STextContainerIndex | m_TextContainerIndex |
Additional Inherited Members | |
Protected Member Functions inherited from CComponent | |
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 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 |
Protected Attributes inherited from CComponent | |
CGameClient * | m_pClient |
CMotd::CMotd | ( | ) |
void CMotd::Clear | ( | ) |
bool CMotd::IsActive | ( | ) | const |
|
overridevirtual |
|
overridevirtual |
Called when receiving a network message.
Msg | The message type. |
pRawMsg | The message data. |
Reimplemented from CComponent.
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
|
overridevirtual |
This method is called when the client changes state, e.g from offline to online.
Reimplemented from CComponent.
|
overridevirtual |
Called when the window has been resized.
Reimplemented from CComponent.
|
inline |
|
inline |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
|
private |
|
private |
|
private |
|
private |
|
private |