about summary refs log tree commit diff
path: root/src/game/client/components/motd.hpp
blob: 3b175e0a8732ccac157e45c7b02879015aad04ea (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_render();
	virtual void on_statechange(int new_state, int old_state);
	virtual void on_message(int msgtype, void *rawmsg);
	virtual bool on_input(INPUT_EVENT e);
};