about summary refs log tree commit diff
path: root/src/game/client/components/motd.hpp
blob: 5ee16086e3e8d596d8a8c70ac519f410b546bae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <game/client/component.hpp>

class MOTD : public COMPONENT
{
	// motd
	int64 server_motd_time;
public:
	char server_motd[900];

	void clear();
	bool is_active();
	
	virtual void on_reset();
	virtual void on_render();
	virtual void on_message(int msgtype, void *rawmsg);
	virtual bool on_input(INPUT_EVENT e);
};