ddnet/src/game/client/components/motd.hpp

19 lines
322 B
C++
Raw Normal View History

#include <game/client/component.hpp>
class MOTD : public COMPONENT
{
// motd
int64 server_motd_time;
2008-08-30 08:26:36 +00:00
public:
2008-08-30 22:38:56 +00:00
char server_motd[900];
2008-08-30 08:26:36 +00:00
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);
};