about summary refs log tree commit diff
path: root/src/game/client/components/motd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/motd.h')
-rw-r--r--src/game/client/components/motd.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/game/client/components/motd.h b/src/game/client/components/motd.h
new file mode 100644
index 00000000..41e15b8c
--- /dev/null
+++ b/src/game/client/components/motd.h
@@ -0,0 +1,21 @@
+#ifndef GAME_CLIENT_COMPONENTS_MOTD_H
+#define GAME_CLIENT_COMPONENTS_MOTD_H
+#include <game/client/component.h>
+
+class CMotd : public CComponent
+{
+	// motd
+	int64 m_ServerMotdTime;
+public:
+	char m_aServerMotd[900];
+
+	void Clear();
+	bool IsActive();
+	
+	virtual void OnRender();
+	virtual void OnStateChange(int NewState, int OldState);
+	virtual void OnMessage(int MsgType, void *pRawMsg);
+	virtual bool OnInput(IInput::CEvent Event);
+};
+
+#endif